Difference between revisions of "Template:Infobox artifact"

From Stardew Valley Wiki
Jump to navigation Jump to search
(remove seo section)
 
(6 intermediate revisions by 3 users not shown)
Line 24: Line 24:
 
|-
 
|-
 
|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|}}} }} }}
|}</div>{{InfoboxSEO}}{{#seo:
+
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 

Latest revision as of 21:41, 25 February 2021

Description

This template is used to provide an infobox for artifacts. Do not use this on your user page. It is reserved for content pages.

Parameters

{{Infobox artifact
|name        = Artifact name
|image       = The image name, including file extension (.png, .gif, etc.)
|description = Artifact description (optional -- populated by Template:Description if omitted)
|as          = Location of Artifact Spots where the artifact can be found
|md          = Monsters that Drop the artifact when slain (default value is "N/A")
|os          = Other Sources, such as Fishing Treasure Chests (optional)
|dr          = Donation Reward, the reward obtained for donating the artifact to the Museum (optional)
}}