Différences entre versions de « Modèle:NPC »
Sauter à la navigation
Sauter à la recherche
(+class=inline parameter) |
|||
Ligne 1 : | Ligne 1 : | ||
− | <includeonly><p>[[File:{{#switch: {{{1}}} | + | <includeonly>{{#ifeq:{{{class|}}}|inline||<p>}}[[File:{{#switch: {{{1}}} |
<!--Renvoyer le nom de l'image en anglais--> | <!--Renvoyer le nom de l'image en anglais--> | ||
|Nain = Dwarf | |Nain = Dwarf | ||
Ligne 19 : | Ligne 19 : | ||
|Professor Snail = Professeur Snail | |Professor Snail = Professeur Snail | ||
|Witch = Événements aléatoires#La Sorcière{{!}}Sorcière | |Witch = Événements aléatoires#La Sorcière{{!}}Sorcière | ||
− | |{{{1}}}}}}}]]{{#if: {{{2|}}}| ({{{2|}}})|}}</p></includeonly><noinclude>{{englishdoc}}</noinclude> | + | |{{{1}}}}}}}]]{{#if: {{{2|}}}| ({{{2|}}})|}}{{#ifeq:{{{class|}}}|inline||</p>}}</includeonly><noinclude>{{englishdoc}}</noinclude> |
Version du 8 juin 2021 à 19:40
Voir la page de documentation en anglais pour plus d'informations sur ce modèle.
Utiliser
Ce modèle peut être utilisé en entrant ce qui suit dans une page pertinente.
{{NPC}}
Produit ...
[[File:{{{1}}}_Icon.png|32px|link=]] [[{{{1}}}]]