Différences entre versions de « Modèle:Infobox »
Sauter à la navigation
Sauter à la recherche
Ligne 191 : | Ligne 191 : | ||
|{{#arrayprint:professions||@@@ | |{{#arrayprint:professions||@@@ | ||
| {{#arraydefine:prof_mod|{{#switch:{{lc:@@@}} | | {{#arraydefine:prof_mod|{{#switch:{{lc:@@@}} | ||
− | |rancher=0.2 | + | |rancher|éleveur de bétail=0.2 |
− | |tiller=0.1 | + | |tiller|cultivateur=0.1 |
|artisan=0.4 | |artisan=0.4 | ||
− | |forester=0.5 | + | |forester|forestier=0.5 |
− | |tapper=0.25 | + | |tapper|saigneur=0.25 |
− | |blacksmith=0.5 | + | |blacksmith|forgeron=0.5 |
|#default={{{modifier|0}}} | |#default={{{modifier|0}}} | ||
}}}}<nowiki/> | }}}}<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | {{!}}id="infoboxsection"{{!}}{{#switch:{{lc:@@@}} | ||
− | |rancher=[[File:Rancher.png|24px|link=]] | + | |rancher=[[File:Rancher.png|24px|link=]] Profession de éleveur de bétail |
− | |tiller=[[File:Tiller.png|24px|link=]] | + | |tiller=[[File:Tiller.png|24px|link=]] Profession de cultivateur |
− | |artisan=[[File:Artisan.png|24px|link=]] | + | |artisan=[[File:Artisan.png|24px|link=]] Profession de artisan |
− | |forester=[[File:Forester.png|24px|link=]] | + | |forester=[[File:Forester.png|24px|link=]] Profession de forestier |
− | |tapper=[[File:Tapper Icon.png|24px|link=]] | + | |tapper=[[File:Tapper Icon.png|24px|link=]] Profession de saigneur |
− | |blacksmith=[[File:Blacksmith Icon.png|24px|link=]] | + | |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> |
{{!}}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 6 mars 2019 à 17: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.