Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Template:Infobox mineral
(view source)
Revision as of 20:51, 9 September 2020
27 bytes removed
,
20:51, 9 September 2020
m
better errorchecking
Line 13:
Line 13:
|-
|-
|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"{{!}}{{#iferror:{{#expr:1.3*{{{sellprice|}}}}}| |{{price|{{#expr: floor(1.3*{{{sellprice|}}}) }}
|}}
|}}
|}</div>{{InfoboxSEO}}{{#seo:
|}</div>{{InfoboxSEO}}{{#seo:
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
Nebulous Maestress
906
edits