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

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
(non-breaking spaces b4 colons & %)
(add eng parameter)
Ligne 16 : Ligne 16 :
 
{{!}}colspan="2" id="infoboxheader"{{!}}{{{name|{{PAGENAME}}}}}
 
{{!}}colspan="2" id="infoboxheader"{{!}}{{{name|{{PAGENAME}}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="padding-bottom:5px; text-align: center;"{{!}}{{#ifexist:File:{{{image|{{PAGENAME}}.png}}}|[[File:{{{image|{{PAGENAME}}.png}}}]]|{{{image|}}}}}{{#ifeq:{{{image2spacing|}}}|true|   |}}{{#ifexist:File:{{{image2|}}}|[[File:{{{image2|}}}]]|}}{{#ifexist:File:{{{image3|}}}|[[File:{{{image3|}}}]]|}}{{#ifexist:File:{{{image4|}}}|[[File:{{{image4|}}}]]|}}
+
{{!}}colspan="2" style="padding-bottom:5px; text-align: center;"{{!}}{{#if:{{{image|}}}|[[File:{{{image|}}}.{{#if:{{{ext|}}}|{{{ext|}}}|png}}]]|[[File:{{{eng|}}}.{{#if:{{{ext|}}}|{{{ext|}}}|png}}]]}}{{#ifeq:{{{image2spacing|}}}|true|   |}}{{#ifexist:File:{{{image2|}}}|[[File:{{{image2|}}}]]|}}{{#ifexist:File:{{{image3|}}}|[[File:{{{image3|}}}]]|}}{{#ifexist:File:{{{image4|}}}|[[File:{{{image4|}}}]]|}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"{{!}}{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
{{!}}colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"{{!}}{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
Ligne 48 : Ligne 48 :
 
   {{!}}id="infoboxsection"{{!}}Season :
 
   {{!}}id="infoboxsection"{{!}}Season :
 
   {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{season|}}}}}
 
   {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{season|}}}}}
       | spring | summer | fall | winter = [[File:{{ucfirst:{{lc:{{{season}}}}}}}.png|24px|link=]] [[{{ucfirst:{{lc:{{{season}}}}}}}]]
+
       | spring | [[spring]] | printemps | [[printemps]] = [[File:Spring.png|24px|link=]] [[Printemps]]
      | all | any = All
+
       | summer | [[summer]] | éte | [[été]] = [[File:Summer.png|24px|link=]] [[Été]]
      | [[spring]] = [[File:Spring.png|24px|link=]] [[Spring]]
+
       | fall | [[fall]] | automne | [[automne]] = [[File:Fall.png|24px|link=]] [[Automne]]
       | [[summer]] = [[File:Summer.png|24px|link=]] [[Summer]]
+
       | winter| [[winter]] | hiver | [[hiver]] = [[File:Winter.png|24px|link=]] [[Hiver]]
       | [[winter]] = [[File:Winter.png|24px|link=]] [[Winter]]
+
      | all | any | qualsiasi | tutte | ogni = Tutte
       | [[fall]] = [[File:Fall.png|24px|link=]] [[Fall]]
 
 
       | #default = {{{season|}}}
 
       | #default = {{{season|}}}
 
}}}}<!--
 
}}}}<!--
Ligne 84 : Ligne 83 :
 
     {{!}}-
 
     {{!}}-
 
     <!-- Base Prices -->
 
     <!-- Base Prices -->
     {{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{name|{{PAGENAME}}}}}|{{{sellprice|}}}|iridium}}
+
     {{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|iridium}}
 
     <!-- Bear's Knowledge Prices -->
 
     <!-- Bear's Knowledge Prices -->
     {{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{name|{{PAGENAME}}}}}|{{#expr:trunc({{{sellprice|}}}*3)}}|iridium}}
+
     {{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|}}}*3)}}|iridium}}
 
|{{#ifeq:{{lc:{{{profession|}}}}} | spring onion mastery
 
|{{#ifeq:{{lc:{{{profession|}}}}} | spring onion mastery
 
|<!-- Spring Onion Mastery -->
 
|<!-- Spring Onion Mastery -->
Ligne 113 : Ligne 112 :
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                               | {{price|{{{sellprice|0}}}}}
 
                               | {{price|{{{sellprice|0}}}}}
                               | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
                               | {{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
                               }}
 
                               }}
 
                             }}
 
                             }}
Ligne 119 : Ligne 118 :
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.1))}} }}
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.1))}} }}
     | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{#expr:trunc({{{sellprice|0}}}*(1.1))}}|{{#ifeq:{{lc:{{{name|{{PAGENAME}}}}}}}|cactus fruit||{{#if:{{{iridium|}}}|iridium=true|}}}}|hide={{#arrayprint:qualities to hide}} }}
+
     | {{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|0}}}*(1.1))}}|{{#ifeq:{{lc:{{{eng|}}}}}|cactus fruit||{{#if:{{{iridium|}}}|iridium=true|}}}}|hide={{#arrayprint:qualities to hide}} }}
 
     }}
 
     }}
 
   }}
 
   }}
Ligne 137 : Ligne 136 :
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                               | {{price|{{{sellprice|0}}}}}
 
                               | {{price|{{{sellprice|0}}}}}
                               | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
                               | {{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
                               }}
 
                               }}
 
                             }}
 
                             }}
Ligne 143 : Ligne 142 :
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.4))}} }}
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.4))}} }}
     | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{#expr:trunc({{{sellprice|0}}}*(1.4))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
     | {{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|0}}}*(1.4))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
     }}
 
     }}
 
   }}
 
   }}
Ligne 161 : Ligne 160 :
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                             | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
                               | {{price|{{{sellprice|0}}}}}
 
                               | {{price|{{{sellprice|0}}}}}
                               | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
                               | {{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
                               }}
 
                               }}
 
                             }}
 
                             }}
Ligne 167 : Ligne 166 :
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.2))}} }}
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1.2))}} }}
     | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{#expr:trunc({{{sellprice|0}}}*(1.2))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
     | {{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|0}}}*(1.2))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
     }}
 
     }}
 
   }}
 
   }}
Ligne 185 : Ligne 184 :
 
   | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
   | {{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     | {{price|{{{sellprice|0}}}}}
 
     | {{price|{{{sellprice|0}}}}}
     | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
     | {{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
     }}
 
     }}
 
   }}
 
   }}
Ligne 201 : Ligne 200 :
 
     }}}}<nowiki/>
 
     }}}}<nowiki/>
 
     {{!}}-
 
     {{!}}-
     {{!}}id="infoboxsection"{{!}}{{#switch:{{ucfirst:@@@}}
+
     {{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}}
     |Tapper=[[File:Tapper Icon.png|24px|link=]]
+
     |rancher=[[File:Rancher.png|24px|link=]] Rancher Profession
     |Blacksmith=[[File:Blacksmith Icon.png|24px|link=]]
+
     |tiller=[[File:Tiller.png|24px|link=]] Tiller Profession
     |#default={{#ifexist:File:{{ucfirst:@@@}}.png|[[File:{{ucfirst:@@@}}.png{{!}}24px{{!}}link=]]}}}} {{ucfirst:@@@}} Profession&nbsp;:<br /><span class="no-wrap" style="padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}} % Sell Price)''</span>
+
     |artisan=[[File:Artisan.png|24px|link=]] Artisan Profession
 +
    |forester=[[File:Forester.png|24px|link=]] Forester Profession
 +
    |tapper=[[File:Tapper Icon.png|24px|link=]] Tapper Profession
 +
    |blacksmith=[[File:Blacksmith Icon.png|24px|link=]] Blacksmith Profession}}:<br /><span class="no-wrap" style="padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}} % Sell Price)''</span>
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     {{!}}id="infoboxdetail"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1+{{#arrayprint:prof_mod}}))}} }}
 
     | {{price| {{#expr:trunc({{{sellprice|0}}}*(1+{{#arrayprint:prof_mod}}))}} }}
     | {{Qualityprice|{{{name|{{PAGENAME}}}}}|{{#expr:trunc({{{sellprice|0}}}*(1+{{#arrayprint:prof_mod}}))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
+
     | {{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|0}}}*(1+{{#arrayprint:prof_mod}}))}}|{{#if:{{{iridium|}}}|iridium=true|}}|hide={{#arrayprint:qualities to hide}} }}
 
     }}
 
     }}
 
   }}
 
   }}
Ligne 228 : Ligne 230 :
 
{{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Artisan.png|24px|link=]] Artisan Profession&nbsp;:<br/>''(+40 % Sell Price)''
 
{{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Artisan.png|24px|link=]] Artisan Profession&nbsp;:<br/>''(+40 % Sell Price)''
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}}}
+
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{{eng|{{PAGENAME}}}}}}}}|{{{sellprice|0}}}}}
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}|pro=1}}
+
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{{eng|{{PAGENAME}}}}}}}}|{{{sellprice|0}}}|pro=1}}
 
|milk=
 
|milk=
 
{{!}}-
 
{{!}}-
Ligne 369 : Ligne 371 :
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection"{{!}}[[File:Artisan.png|24px|link=]] Artisan Profession&nbsp;:<br />''(+40&nbsp;% Sell Price)''
 
{{!}}id="infoboxsection"{{!}}[[File:Artisan.png|24px|link=]] Artisan Profession&nbsp;:<br />''(+40&nbsp;% Sell Price)''
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{PAGENAME}}}}}|{{{sellprice|0}}}|pro=1}}
+
{{!}}id="infoboxdetail"{{!}}{{Artisan|{{{type|{{{eng|}}}}}}|{{{sellprice|0}}}|pro=1}}
 
}}{{#if:{{{ingredients|}}}|<nowiki/>
 
}}{{#if:{{{ingredients|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-

Version du 3 janvier 2019 à 18:59

Robin building.png
« « J'ai encore beaucoup de travail à faire »
— Robine

Traduction incomplète

Cet article ou cette section n'a pas été complètement traduit en français. Vous êtes invités à aider à sa traduction en la révisant.
Dernière modification par Margotbean le 2019-01-03 18:59:53.


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

Infobox
Fichier:.png
Information
Sell Price : N/A
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.