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

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
(non-breaking spaces b4 colons & %)
Ligne 1 : Ligne 1 :
<noinclude>{{Traduire}}</noinclude><includeonly><div id="infoboxborder">
+
<includeonly><div id="infoboxborder">
 
{| id="infoboxtable"
 
{| id="infoboxtable"
 
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
 
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
Ligne 12 : Ligne 12 :
 
|id="infoboxdetail"|{{{source|}}}
 
|id="infoboxdetail"|{{{source|}}}
 
|-
 
|-
|id="infoboxsection"|Sell Price&nbsp;:
+
|id="infoboxsection"|Prix de vente&nbsp;:
 
|id="infoboxdetail"|{{#iferror: {{price|{{{sellprice|}}}}} | {{{sellprice|N/A}}} | {{price|{{{sellprice|}}} }} }}<!--
 
|id="infoboxdetail"|{{#iferror: {{price|{{{sellprice|}}}}} | {{{sellprice|N/A}}} | {{price|{{{sellprice|}}} }} }}<!--
 
-->{{#if:{{{profession|}}} |<nowiki />
 
-->{{#if:{{{profession|}}} |<nowiki />
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection"{{!}}[[File:Gemologist.png|24px|link=]] Gemologist Profession&nbsp;: ''<span style="white-space: nowrap;">(+30&nbsp;% Sell Price)</span>''
+
{{!}}id="infoboxsection"{{!}}[[File:Gemologist.png|24px|link=]] Profession gemmologue&nbsp;: ''<span style="white-space: nowrap;">(+30&nbsp;% prix de vente)</span>''
 
{{!}}id="infoboxdetail"{{!}}{{#iferror: {{price|{{#expr: 1.3 * {{{sellprice|}}} }} }} | | {{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }} }}  
 
{{!}}id="infoboxdetail"{{!}}{{#iferror: {{price|{{#expr: 1.3 * {{{sellprice|}}} }} }} | | {{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }} }}  
 
|}}
 
|}}

Version du 11 mars 2019 à 19:21

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 mineral}}

Produit ...

Infobox mineral
Information
Source :
Prix de vente : data-sort-value=" ">Gold.pngpo
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.