Difference between revisions of "Template:Infobox artifact"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (take 2)
m (Text replacement - "og:image=" to "image=")
Line 26: Line 26:
 
|id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }}
 
|id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }}
 
|}</div>{{InfoboxSEO}}{{#seo:
 
|}</div>{{InfoboxSEO}}{{#seo:
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
+
|image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 01:13, 17 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)
}}