Changes
Jump to navigation
Jump to search
← Older edit
Template:Infobox mineral
(view source)
Revision as of 01:55, 9 July 2023
63 bytes added
,
01:55, 9 July 2023
+parameter for corrected gemologist price
Line 9:
Line 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"|Sell Price
:
+
|id="infoboxsection"|Sell Price
|id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }}<!--
|id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }}<!--
-->{{#if:{{{profession|}}} |<nowiki />
-->{{#if:{{{profession|}}} |<nowiki />
{{!}}-
{{!}}-
−
{{!}}id="infoboxsection"{{!}}[[File:Gemologist.png|24px|link=]] Gemologist Profession
:
''<span style="white-space: nowrap;">(+30% Sell Price)</span>''
+
{{!}}id="infoboxsection"{{!}}[[File:Gemologist.png|24px|link=]] Gemologist Profession ''<span style="white-space: nowrap;">(+30% Sell Price)</span>''
−
{{!}}id="infoboxdetail"{{!}}{{#iferror:{{#expr:1.3*{{{sellprice|}}}}}| |{{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }}}}|}}
+
{{!}}id="infoboxdetail"{{!}}
{{#if:{{{correctedprice|}}} | {{Price|{{{correctedprice|}}}}} |
{{#iferror:{{#expr:1.3*{{{sellprice|}}}}}| |{{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }}}}|
}}
}}
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
Margotbean
Interface administrators
, patroller,
Suppressors
,
Administrators
, translators
107,395
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version