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

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
m (Remplacement de texte — « {{englishdoc}} » par « {{Englishdoc}} »)
 
(4 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><p>[[File:{{#switch: {{{1}}}
+
<includeonly>{{#ifeq:{{{placement|}}}|inline||<p>}}[[File:{{#switch: {{{1}}}
 
<!--Renvoyer le nom de l'image en anglais-->
 
<!--Renvoyer le nom de l'image en anglais-->
 +
|Léo = Leo
 +
|Robine = Robin
 
|Nain = Dwarf
 
|Nain = Dwarf
 
|Sorcier = Wizard
 
|Sorcier = Wizard
Ligne 11 : Ligne 13 :
 
|{{{1}}}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1}}}
 
|{{{1}}}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1}}}
 
<!--Link de caractère-->
 
<!--Link de caractère-->
 +
|Leo = Léo
 +
|Robin = Robine
 
|Dwarf = Nain
 
|Dwarf = Nain
 
|Wizard = Sorcier
 
|Wizard = Sorcier
Ligne 19 : Ligne 23 :
 
|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|}}}|&nbsp;({{{2|}}})|}}</p></includeonly><noinclude>{{englishdoc}}</noinclude>
+
|{{{1}}}}}}}]]{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}{{#ifeq:{{{placement|}}}|inline||</p>}}</includeonly><noinclude>{{Englishdoc}}</noinclude>

Version actuelle datée du 24 octobre 2022 à 17:51

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