Différences entre versions de « Modèle:Infobox »
Sauter à la navigation
Sauter à la recherche
Ligne 26 : | Ligne 26 : | ||
|}}{{#if:{{{location|}}}|<nowiki/> | |}}{{#if:{{{location|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Trouvé dans : |
{{!}}id="infoboxdetail"{{!}}{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}} | {{!}}id="infoboxdetail"{{!}}{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}} | ||
|}}{{#if:{{{seed|}}}|<nowiki/> | |}}{{#if:{{{seed|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Graine : |
{{!}}id="infoboxdetail"{{!}}{{#ifexist:{{{seed|}}}|[[{{{seed|}}}]]|{{{seed|}}}}} | {{!}}id="infoboxdetail"{{!}}{{#ifexist:{{{seed|}}}|[[{{{seed|}}}]]|{{{seed|}}}}} | ||
|}}{{#if:{{{growth|}}}|<nowiki/> | |}}{{#if:{{{growth|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Temps de croissance : |
{{!}}id="infoboxdetail"{{!}}{{{growth|}}} | {{!}}id="infoboxdetail"{{!}}{{{growth|}}} | ||
|}}{{#if:{{{buff|}}}|<nowiki/> | |}}{{#if:{{{buff|}}}|<nowiki/> | ||
Ligne 42 : | Ligne 42 : | ||
|}}{{#if:{{{buffduration|}}}|<nowiki/> | |}}{{#if:{{{buffduration|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Durée du buff : |
{{!}}id="infoboxdetail"{{!}}{{duration|{{{buffduration|}}}}} | {{!}}id="infoboxdetail"{{!}}{{duration|{{{buffduration|}}}}} | ||
|}}{{#if:{{{season|}}}|<nowiki/> | |}}{{#if:{{{season|}}}|<nowiki/> | ||
Ligne 57 : | Ligne 57 : | ||
-->{{#if:{{{fishingxp|}}}|<nowiki /> | -->{{#if:{{{fishingxp|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection{{!}} | + | {{!}}id="infoboxsection{{!}}<span title="Points d'expérience">PE de pêche</span> : |
{{!}}id="infoboxdetail{{!}}{{{fishingxp|}}} | {{!}}id="infoboxdetail{{!}}{{{fishingxp|}}} | ||
|}}<!-- | |}}<!-- | ||
Ligne 63 : | Ligne 63 : | ||
{{#ifeq:{{{quality|}}} | true | <!--hack to show health/energy values in 2 columns = set quality to true in infobox--> | {{#ifeq:{{{quality|}}} | true | <!--hack to show health/energy values in 2 columns = set quality to true in infobox--> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection" colspan="2" style="text-align: center;"{{!}} | + | {{!}}id="infoboxsection" colspan="2" style="text-align: center;"{{!}}Effet de guérison |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail"{{!}}{{#iferror:{{Edibility|{{{edibility|0}}}|quality=silver}} |{{{edibility}}} |{{Edibility|{{{edibility|0}}}|quality=silver}}}} | {{!}}id="infoboxdetail"{{!}}{{#iferror:{{Edibility|{{{edibility|0}}}|quality=silver}} |{{{edibility}}} |{{Edibility|{{{edibility|0}}}|quality=silver}}}} | ||
Ligne 69 : | Ligne 69 : | ||
|<!-- if quality is not = true --> | |<!-- if quality is not = true --> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Effet de guérison : |
{{!}}id="infoboxdetail"{{!}}{{#iferror:{{Edibility|{{{edibility|0}}}|quality={{{quality|true}}}|iridium={{{iridium|}}} }} | {{!}}id="infoboxdetail"{{!}}{{#iferror:{{Edibility|{{{edibility|0}}}|quality={{{quality|true}}}|iridium={{{iridium|}}} }} | ||
|{{{edibility}}} | |{{{edibility}}} | ||
Ligne 75 : | Ligne 75 : | ||
}} | }} | ||
{{#switch:{{lc:{{{profession|}}}}} | {{#switch:{{lc:{{{profession|}}}}} | ||
− | | bear's knowledge = | + | | bear's knowledge |
+ | | savoir de l’ours = | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Prix de vente |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}Base | + | {{!}}id="infoboxsection"{{!}}Base : |
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Bear's Knowledge.png|24px|link=]] | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Bear's Knowledge.png|24px|link=]] Savoir de l’ours :<br />''(×3 prix de vente)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 86 : | Ligne 87 : | ||
<!-- 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 = | + | | spring onion mastery |
+ | | maîtrise de l’oignon de printemps = | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Prix de vente |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}Base | + | {{!}}id="infoboxsection"{{!}}Base : |
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Spring Onion Mastery.png|24px|link=]] | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Spring Onion Mastery.png|24px|link=]] Maîtrise de l’oignon de printemps :<br />''(×5 prix de vente)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 100 : | Ligne 102 : | ||
| cultivateur = | | cultivateur = | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Prix de vente |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}Base | + | {{!}}id="infoboxsection"{{!}}Base : |
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Tiller.png|24px|link=]] | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Tiller.png|24px|link=]] Profession cultivateur :<br />''(+10 % prix de vente)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 122 : | Ligne 124 : | ||
| artisan = | | artisan = | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Prix de vente |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}Base | + | {{!}}id="infoboxsection"{{!}}Base : |
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Artisan.png|24px|link=]] | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Artisan.png|24px|link=]] Profession artisan :<br />''(+40 % prix de vente)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 145 : | Ligne 147 : | ||
| éleveur de bétail = | | éleveur de bétail = | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align:center;"{{!}}Prix de vente |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}}Base | + | {{!}}id="infoboxsection"{{!}}Base : |
− | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Rancher.png|24px|link=]] | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}[[File:Rancher.png|24px|link=]] Profession éleveur de bétail :<br />''(+20 % prix de vente)'' |
{{!}}- | {{!}}- | ||
<!-- Base Prices --> | <!-- Base Prices --> | ||
Ligne 167 : | Ligne 169 : | ||
|#default = {{#ifeq:{{#arrayprint:qualities to show}}|normal||{{#if:{{{profession|{{{type|}}}}}}|<nowiki/> | |#default = {{#ifeq:{{#arrayprint:qualities to show}}|normal||{{#if:{{{profession|{{{type|}}}}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}} | + | {{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}}Prix de vente |
}}}} | }}}} | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal | {{!}}id="infoboxsection"{{!}}{{#ifeq:{{#arrayprint:qualities to show}}|normal | ||
− | | | + | |Prix de vente : |
− | |{{#if:{{{profession|}}}| | + | |{{#if:{{{profession|}}}|Prix de base :|Prix de vente :}} |
}} | }} | ||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{sellprice|}}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{sellprice|}}} | ||
Ligne 196 : | Ligne 198 : | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | {{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | ||
− | |rancher|éleveur de bétai=[[File:Rancher.png|24px|link=]] Profession | + | |rancher|éleveur de bétai=[[File:Rancher.png|24px|link=]] Profession éleveur de bétail |
− | |tiller|cultivateur=[[File:Tiller.png|24px|link=]] Profession | + | |tiller|cultivateur=[[File:Tiller.png|24px|link=]] Profession cultivateur |
− | |artisan=[[File:Artisan.png|24px|link=]] Profession | + | |artisan=[[File:Artisan.png|24px|link=]] Profession artisan |
− | |forester|forestier=[[File:Forester.png|24px|link=]] Profession | + | |forester|forestier=[[File:Forester.png|24px|link=]] Profession forestier |
− | |tapper|saigneur=[[File:Tapper Icon.png|24px|link=]] Profession | + | |tapper|saigneur=[[File:Tapper Icon.png|24px|link=]] Profession saigneur |
− | |blacksmith|forgeron=[[File:Blacksmith Icon.png|24px|link=]] Profession | + | |blacksmith|forgeron=[[File:Blacksmith Icon.png|24px|link=]] Profession forgeron}}:<br /><span class="no-wrap" style="padding-right: 5px;">''(+{{#expr:{{#arrayprint:prof_mod}} *100}} % prix de vente)''</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}}))}} }} |
Version du 12 mars 2019 à 18:25
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 | |
Prix de vente : | N/A |
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.