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

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
(+template colon)
(sync with english template)
Ligne 13 : Ligne 13 :
 
-->{{#arraydefine:$lang_buffs        | Buff(s) }}<!--
 
-->{{#arraydefine:$lang_buffs        | Buff(s) }}<!--
 
-->{{#arraydefine:$lang_buffduration  | Durée du buff }}<!--
 
-->{{#arraydefine:$lang_buffduration  | Durée du buff }}<!--
 +
-->{{#arraydefine:$lang_xp            | Points d'experience }}<!--
 
-->{{#arraydefine:$lang_fishingxp    | PE de pêche }}<!--
 
-->{{#arraydefine:$lang_fishingxp    | PE de pêche }}<!--
 
-->{{#arraydefine:$lang_season        | Saison }}<!--
 
-->{{#arraydefine:$lang_season        | Saison }}<!--
Ligne 52 : Ligne 53 :
 
       |eng={{{eng|}}}|separator={{#ifeq:{{{image2spacing|}}}|true|&nbsp;&#32;&nbsp;|{{{image2spacing|}}}}}}}<nowiki/>
 
       |eng={{{eng|}}}|separator={{#ifeq:{{{image2spacing|}}}|true|&nbsp;&#32;&nbsp;|{{{image2spacing|}}}}}}}<nowiki/>
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
+
{{!}}colspan="2" id="infoboxdetail" style="text-align:center;" {{!}} {{Italics|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2" id="infoboxsection" style="text-align:center;" {{!}} {{#arrayprint:$lang_information}} {{#if:{{{source|}}}|<nowiki/>
 
{{!}}colspan="2" id="infoboxsection" style="text-align:center;" {{!}} {{#arrayprint:$lang_information}} {{#if:{{{source|}}}|<nowiki/>
Ligne 82 : Ligne 83 :
 
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}{{Colon}}
 
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Season|{{{season}}}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Season|{{{season}}}}}
 +
}}{{#if:{{{xp|}}}|<nowiki />
 +
  {{!}}-
 +
  {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}{{Colon}}
 +
  {{!}} id="infoboxdetail"  {{!}} {{{xp|}}}
 
}}{{#if:{{{fishingxp|}}}|<nowiki />
 
}}{{#if:{{{fishingxp|}}}|<nowiki />
 
   {{!}}-
 
   {{!}}-

Version du 8 octobre 2020 à 21:19

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.

{{Infobox}}

Produit ...

Modèle:ParseInputValues

Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.