« Modèle:PA » : différence entre les versions

De eMushpedia
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
m Text replacement - "[[Image:" to "[[File:"
 
(18 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><onlyinclude><span style="white-space:nowrap">{{
<includeonly><onlyinclude><span style="white-space:nowrap; margin:0">{{
#switch:{{{1}}}
#switch:{{{1}}}
| IT | it | Computer | computer | Comp | comp | informatique | Informatique = [[Image: ressource-pa-it.png|link=IT Expert|class=icon-margin|IT Point]]
| IT | it | Computer | computer | Comp | comp | informatique | Informatique = [[File: ressource-pa-it.png|link=Informaticien|class=icon-margin|IT Point]]
| garden | Garden | Gardening | gardening | botany | Botany | Botaniste | botaniste | plante | Plante | plant | Plant = [[Image: ressource-pa-garden.png|link=Botanist|class=icon-margin|Gardening Point]]
| garden | Garden | Gardening | gardening | botany | Botany | Botaniste | botaniste | plante | Plante | plant | Plant = [[File: ressource-pa-garden.png|link=Botaniste|class=icon-margin|Gardening Point]]
| Repair | repair | Repairs | repairs | Repairing | repairing | Engineer | engineering | Rep | rep | eng | Eng | tech | Tech | mech | Mech= [[Image: Pa eng.png|link=Technician|class=icon-margin|Repair Point]]
| Repair | repair | Repairs | repairs | Repairing | repairing | Engineer | engineering | Rep | rep | eng | Eng | tech | Tech | mech | Mech= [[File: ressource-pa-tech.png|link=Technicien|class=icon-margin|Repair Point]]
| Cook | cook | Cooking | cooking | Chef | chef | food | Food | Cuistot | cuistot | Cuisine | cuisine = [[Image: Pa cook.png|link=Chef|class=icon-margin|Cook Point]]
| Cook | cook | Cooking | cooking | Chef | chef | food | Food | Cuistot | cuistot | Cuisine | cuisine = [[File: ressource-pa-cook.png|link=Cuistot|class=icon-margin|Cook Point]]
| PILGRED | Pilgred | pilgred | Reactor | reactor | Physicien | physicien = [[Image: Pa pilgred.png|link=Physicist|class=icon-margin|PILGRED Repair Point]]
| PILGRED | Pilgred | pilgred | Reactor | reactor | Physicien | physicien = [[File: ressource-pa-pilgred.png|link=Physicien|class=icon-margin|PILGRED Repair Point]]
| NERON | Neron | neron | Nexus | nexus | NEXUS | Designer | designer | Concepteur | concepteur = [[Image: Neron.png|link=Designer|class=icon-margin|NERON Project Point]]
| NERON | Neron | neron | Nexus | nexus | NEXUS | Designer | designer | Concepteur | concepteur = [[File: ressource-pa-core.png|link=Concepteur|class=icon-margin|NERON Project Point]]
| Heal | heal | Healing | healing | Nurse | nurse | Infirmier | infirmier | Soin | soin = [[Image: Pa heal.png|link=Nurse|class=icon-margin|Free Healing Action]]
| Heal | heal | Healing | healing | Nurse | nurse | Infirmier | infirmier | Soin | soin = [[File: ressource-pa-heal.png|link=Infirmier|class=icon-margin|Free Healing Action]]
| Gun | gun | Shot | shot | Shooter | shooter | free shot | Free Shot | Free shot | Tireur | tireur = [[Image: Pa shoot.png|link=Shooter|class=icon-margin|Free Shot]]
| Gun | gun | Shoot | shoot | Shot | shot | Shooter | shooter | free shot | Free Shot | Free shot | Tireur | tireur = [[File: ressource-pa-shoot.png|link=Tireur|class=icon-margin|Free Shot]]
| [[Image: ressource-pa.png|link=Player Resources#Action Points|class=icon-margin|Action Point]]
| Torture | torture = [[File: ressource-pa-torture.png|link=Garde du corps|class=icon-margin|Torture Point]]
| [[File: ressource-pa.png|link=https://emushpedia.miraheze.org/wiki/Points_d%27Action_et_de_Mouvement#Points_d'Action|class=icon-margin|Point d'Action]]
}}</span></onlyinclude></includeonly>
}}</span></onlyinclude></includeonly>
Ce template sert à afficher les '''[[Player Resources#Action Points|Points d'Action]]''' avec un lien vers la page appropriée. Ce template devrait être utilisé ''sur toutes les mentions de PA''.
<noinclude><templatedata>
Grâce aux redirections automatiques, ''AP'' fonctionne également.
{
"description": "Ce template sert à afficher les Points d'Action avec un lien vers la page appropriée. Ce template devrait être utilisé sur toutes les mentions de PA. Grâce aux redirections automatiques, AP fonctionne également.",
"params": {
"1": {
"label": "PA de compétence (Optionnel)",
"description": "Spécifier un PA de compétence. Si ce paramètre est vide, affiche le PA générique.",
"type": "string",
"suggestedvalues": [
"IT",
"Garden",
"Tech",
"Cook",
"Pilgred",
"Neron",
"Heal",
"Shoot",
                "Torture"
],
"default": "Laisser vide pour PA normal..."
}
}
}
</templatedata></noinclude>


'''Usage''': <pre>{{PA|[type]}}</pre>
[[Category:Templates]]
 
{| class="wikitable"
Paramètre optionel ''type'': Sert à spécifier un PA de compétence.
|+
<pre>IT / Computer / Comp / Informatique = Point Informatique
! Code !! Résultat
Garden / Gardening / Botany / Botaniste / Plante / Plant = Point Plante
|-
Repair / Repairs / Repairing / Engineer / Rep / Eng / Tech / Mech = Point Tech
| <code><nowiki>{{PA}}</nowiki></code> || {{PA}}
Cook / Cooking / Chef / Food / Cuistot / Cuisine = Point Cuisine
|-
PILGRED / Reactor / Physicien = Point PILGRED
| <code><nowiki>{{PA|IT}}</nowiki></code> || {{PA|IT}}
NERON / Nexus / Designer / Concepteur = Point Concepteur
|-
Heal / Healing / Nurse / Infirmier / Soin = Point Soin
| <code><nowiki>{{PA|Garden }}</nowiki></code> || {{PA|Garden }}
Shot / Shooter / Gun / Free Shot / Tireur = Point Tir</pre>
|-
 
| <code><nowiki>{{PA|Repair }}</nowiki></code> || {{PA|Repair }}
Examples:
|-
 
| <code><nowiki>{{PA|Cook }}</nowiki></code> || {{PA|Cook }}
<pre>5 {{PA}}</pre>
|-
5 {{PA}}
| <code><nowiki>{{PA|Pilgred }}</nowiki></code> || {{PA|Pilgred }}
 
|-
<pre>2 {{PA|NERON}}</pre>
| <code><nowiki>{{PA|Neron }}</nowiki></code> || {{PA|Neron }}
2 {{PA|NERON}}
|-
 
| <code><nowiki>{{PA|Heal }}</nowiki></code> || {{PA|Heal }}
<pre>3 {{PA|heal}}</pre>
|-
3 {{PA|heal}}
| <code><nowiki>{{PA|Gun}}</nowiki></code> || {{PA|Gun}}
 
|-
<pre>2 {{PA|IT}}</pre>
| <code><nowiki>{{PA|Torture}}</nowiki></code> || {{PA|Torture}}
2 {{PA|IT}}
|}
 
</noinclude>
[[Category:Useful Templates|{{PAGENAME}}]]

Dernière version du 9 avril 2026 à 00:50

Ce template sert à afficher les Points d'Action avec un lien vers la page appropriée. Ce template devrait être utilisé sur toutes les mentions de PA. Grâce aux redirections automatiques, AP fonctionne également.

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
PA de compétence (Optionnel)1

Spécifier un PA de compétence. Si ce paramètre est vide, affiche le PA générique.

Valeurs suggérées
IT Garden Tech Cook Pilgred Neron Heal Shoot Torture
Par défaut
Laisser vide pour PA normal...
Chaînefacultatif
Code Résultat
{{PA}} Point d'Action
{{PA|IT}} IT Point
{{PA|Garden }} Gardening Point
{{PA|Repair }} Repair Point
{{PA|Cook }} Cook Point
{{PA|Pilgred }} PILGRED Repair Point
{{PA|Neron }} NERON Project Point
{{PA|Heal }} Free Healing Action
{{PA|Gun}} Free Shot
{{PA|Torture}} Torture Point