Différences entre versions de « Modèle:Infobox »
Sauter à la navigation
Sauter à la recherche
Ligne 74 : | Ligne 74 : | ||
|{{Edibility|{{{edibility|0}}}|quality={{{quality|true}}}|iridium={{{iridium|}}} }} }} }} | |{{Edibility|{{{edibility|0}}}|quality={{{quality|true}}}|iridium={{{iridium|}}} }} }} }} | ||
}} | }} | ||
− | {{# | + | {{#switch:{{lc:{{{profession|}}}}} |
− | + | | bear's knowledge = | |
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | ||
Ligne 86 : | Ligne 86 : | ||
<!-- Bear's Knowledge Prices --> | <!-- Bear's Knowledge Prices --> | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|}}}*3)}}|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|{{{eng|}}}|{{#expr:trunc({{{sellprice|}}}*3)}}|iridium}} | ||
− | + | | spring onion mastery = | |
− | |||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | ||
Ligne 98 : | Ligne 97 : | ||
<!-- Spring Onion Mastery Prices --> | <!-- Spring Onion Mastery Prices --> | ||
{{!}}id="infoboxdetail"{{!}}{{Qualityprice|Spring Onion|{{#expr:trunc({{{sellprice|}}}*5)}}|iridium}} | {{!}}id="infoboxdetail"{{!}}{{Qualityprice|Spring Onion|{{#expr:trunc({{{sellprice|}}}*5)}}|iridium}} | ||
− | + | | tiller | |
− | | | + | | cultivateur = |
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Base Price : | {{!}}id="infoboxsection"{{!}}Base Price : | ||
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Tiller.png|24px|link=]] Tiller Profession:<br />''(+10 % Sell Price)'' | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Tiller.png|24px|link=]] Tiller Profession :<br />''(+10 % Sell Price)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 121 : | Ligne 120 : | ||
}} | }} | ||
}} | }} | ||
− | + | | artisan = | |
− | |||
− | |||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | ||
Ligne 145 : | Ligne 142 : | ||
}} | }} | ||
}} | }} | ||
− | + | | rancher | |
− | + | | éleveur de bétail = | |
− | | | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Sell Prices | ||
Ligne 169 : | Ligne 165 : | ||
}} | }} | ||
}} | }} | ||
− | + | |#default = {{#ifeq:{{#arrayprint:qualities to show}}|normal||{{#if:{{{profession|{{{type|}}}}}}|<nowiki/> | |
− | |{{#ifeq:{{#arrayprint:qualities to show}}|normal||{{#if:{{{profession|{{{type|}}}}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}}Sell Prices | {{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}}Sell Prices | ||
Ligne 201 : | Ligne 196 : | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | {{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | ||
− | |rancher=[[File:Rancher.png|24px|link=]] Profession de éleveur de bétail | + | |rancher|éleveur de bétai=[[File:Rancher.png|24px|link=]] Profession de éleveur de bétail |
− | |tiller=[[File:Tiller.png|24px|link=]] Profession de cultivateur | + | |tiller|cultivateur=[[File:Tiller.png|24px|link=]] Profession de cultivateur |
|artisan=[[File:Artisan.png|24px|link=]] Profession de artisan | |artisan=[[File:Artisan.png|24px|link=]] Profession de artisan | ||
− | |forester=[[File:Forester.png|24px|link=]] Profession de forestier | + | |forester|forestier=[[File:Forester.png|24px|link=]] Profession de forestier |
− | |tapper=[[File:Tapper Icon.png|24px|link=]] Profession de saigneur | + | |tapper|saigneur=[[File:Tapper Icon.png|24px|link=]] Profession de saigneur |
− | |blacksmith=[[File:Blacksmith Icon.png|24px|link=]] Profession de forgeron}}:<br /><span class="no-wrap" style="padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}} % Sell Price)''</span> | + | |blacksmith|forgeron=[[File:Blacksmith Icon.png|24px|link=]] Profession de forgeron}}:<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}}))}} }} | ||
Ligne 213 : | Ligne 208 : | ||
}} | }} | ||
}} | }} | ||
− | }}<!-- end | + | }}<!-- end profession switch case --> |
− | |||
− | |||
− | |||
− | |||
{{#switch:{{lc:{{{type|{{PAGENAME}}}}}}} | {{#switch:{{lc:{{{type|{{PAGENAME}}}}}}} | ||
|sunflower= | |sunflower= | ||
Ligne 389 : | Ligne 380 : | ||
}}{{#if:{{{ingredients|}}}|<nowiki/> | }}{{#if:{{{ingredients|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Ingrédients : |
{{!}}id="infoboxdetail"{{!}}{{{ingredients|}}} | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}} | ||
}}<!--Trapper Profession ingredients for Crab Pot-->{{#if:{{{tingredients|}}}|<nowiki/> | }}<!--Trapper Profession ingredients for Crab Pot-->{{#if:{{{tingredients|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}[[File:Trapper.png|24px|link=]] | + | {{!}}id="infoboxsection"{{!}}[[File:Trapper.png|24px|link=]] Ingrédients de la profession de trappeur : |
{{!}}id="infoboxdetail"{{!}}{{{tingredients|}}} | {{!}}id="infoboxdetail"{{!}}{{{tingredients|}}} | ||
}}{{#if:{{{produces|}}}|<nowiki/> | }}{{#if:{{{produces|}}}|<nowiki/> |
Version du 6 mars 2019 à 22:55
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. |
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.