Différences entre versions de « Modèle:NPC »

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
Ligne 1 : Ligne 1 :
<includeonly><p>[[File:{{{1|}}}_Icon.png|link={{#if: {{{alt|}}}|{{{alt|}}}|{{{1|}}}}}]] [[{{#if: {{{alt|}}}|{{{alt|}}}|{{{1|}}}}}]]{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</p></includeonly><noinclude>{{Englishdoc}}</noinclude>
+
<includeonly><p>[[File:{{#switch: {{{1}}}
 +
<!--Renvoyer le nom de l'image en anglais-->
 +
|Nain = Dwarf
 +
|Sorcier = Wizard
 +
|Monsieur Qi = Mr. Qi
 +
|Mercenaire = Henchman
 +
|Commerçant insulaire = Island Trader
 +
|Marchand du Désert = Desert Trader
 +
|Professeur Snail = Professor Snail
 +
|Sorcière = Witch
 +
|{{{1}}}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1}}}
 +
<!--Link de caractère-->
 +
|Dwarf = Nain
 +
|Wizard = Sorcier
 +
|Mr. Qi = Monsieur Qi
 +
|Henchman = Mercenaire
 +
|Island Trader = Commerçant insulaire
 +
|Desert Trader = Marchand du Désert
 +
|Professor Snail = Professeur Snail
 +
|Witch = Événements aléatoires#La Sorcière{{!}}Sorcière
 +
|{{{1}}}}}}}]]{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</p></includeonly><noinclude>{{englishdoc}}</noinclude>

Version du 7 juin 2021 à 14:55

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}}}]]