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

De eMushpedia
Aller à la navigation Aller à la recherche
imported>S3d2n
m Set la margin du span à 0 pour éviter d'hériter du margin d'autres classes. Ajoute un tableau d'exemples.
m Text replacement - "[[Image:" to "[[File:"
 
(3 versions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly><onlyinclude><span style="white-space:nowrap; margin:0">{{
<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: ressource-pa-tech.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: ressource-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: ressource-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: ressource-pa-core.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: ressource-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 | Shoot | shoot | Shot | shot | Shooter | shooter | free shot | Free Shot | Free shot | Tireur | tireur = [[Image: ressource-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=https://emushpedia.miraheze.org/wiki/Points_d%27Action_et_de_Mouvement#Points_d'Action|class=icon-margin|Point d'Action]]
| 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>
<noinclude><templatedata>
<noinclude><templatedata>
Ligne 27 : Ligne 28 :
"Neron",
"Neron",
"Heal",
"Heal",
"Shoot"
"Shoot",
                "Torture"
],
],
"default": "Laisser vide pour PA normal..."
"default": "Laisser vide pour PA normal..."
Ligne 57 : Ligne 59 :
|-
|-
| <code><nowiki>{{PA|Gun}}</nowiki></code> || {{PA|Gun}}
| <code><nowiki>{{PA|Gun}}</nowiki></code> || {{PA|Gun}}
|-
| <code><nowiki>{{PA|Torture}}</nowiki></code> || {{PA|Torture}}
|}
|}
</noinclude>
</noinclude>

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