Différences entre versions de « Modèle:Infobox mineral »
Sauter à la navigation
Sauter à la recherche
(+parameter for corrected gemologist price) |
|||
Ligne 9 : | Ligne 9 : | ||
|colspan="2" id="infoboxsection" style="text-align:center;"|Information | |colspan="2" id="infoboxsection" style="text-align:center;"|Information | ||
|- | |- | ||
− | |id="infoboxsection"|Source | + | |id="infoboxsection"|Source |
|id="infoboxdetail"|{{{source|}}} | |id="infoboxdetail"|{{{source|}}} | ||
|- | |- | ||
− | |id="infoboxsection"|Prix de vente | + | |id="infoboxsection"|Prix de vente |
|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=]] Profession gemmologue | + | {{!}}id="infoboxsection"{{!}}[[File:Gemologist.png|24px|link=]] Profession gemmologue ''<span style="white-space: nowrap;">(+30 % prix de vente)</span>'' |
− | {{!}}id="infoboxdetail"{{!}}{{# | + | {{!}}id="infoboxdetail"{{!}}{{#if:{{{correctedprice|}}} | {{Price|{{{correctedprice|}}}}} | {{#iferror:{{#expr:1.3*{{{sellprice|}}}}}| |{{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }}}}|}}}} |
− | |}} | ||
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
Version actuelle datée du 9 juillet 2023 à 01:58
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 | po |