Template:PA: Difference between revisions

From eMushpedia
Jump to navigation Jump to search
imported>S3d2n
No edit summary
imported>S3d2n
m Set la margin du span à 0 pour éviter d'hériter du margin d'autres classes. Ajoute un tableau d'exemples.
Line 1: Line 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 = [[Image: ressource-pa-it.png|link=IT Expert|class=icon-margin|IT Point]]
Line 36: Line 36:


[[Category:Templates]]
[[Category:Templates]]
{| class="wikitable"
|+
! Code !! Résultat
|-
| <code><nowiki>{{PA}}</nowiki></code> || {{PA}}
|-
| <code><nowiki>{{PA|IT}}</nowiki></code> || {{PA|IT}}
|-
| <code><nowiki>{{PA|Garden }}</nowiki></code> || {{PA|Garden }}
|-
| <code><nowiki>{{PA|Repair }}</nowiki></code> || {{PA|Repair }}
|-
| <code><nowiki>{{PA|Cook }}</nowiki></code> || {{PA|Cook }}
|-
| <code><nowiki>{{PA|Pilgred }}</nowiki></code> || {{PA|Pilgred }}
|-
| <code><nowiki>{{PA|Neron }}</nowiki></code> || {{PA|Neron }}
|-
| <code><nowiki>{{PA|Heal }}</nowiki></code> || {{PA|Heal }}
|-
| <code><nowiki>{{PA|Gun}}</nowiki></code> || {{PA|Gun}}
|}
</noinclude>

Revision as of 15:10, 29 November 2025

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
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.

Suggested values
IT Garden Tech Cook Pilgred Neron Heal Shoot
Default
Laisser vide pour PA normal...
Stringoptional
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