Changes

+parameter for corrected gemologist price
Line 3: Line 3:  
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
 
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
 
|-
 
|-
|colspan="2"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center|link=]]|}}
+
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center]]|[[File:{{PAGENAME}}.png|center]]}}
 
|-
 
|-
|colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;" |{{{description|}}}
+
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|-
 
|-
 
|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: {{price|{{{sellprice|}}}}} | {{{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: {{price|{{#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></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
105,831

edits