Difference between revisions of "Template:Infobox artifact"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
m (better errorchecking) |
||
Line 24: | Line 24: | ||
|- | |- | ||
|id="infoboxsection"|Sell Price: | |id="infoboxsection"|Sell Price: | ||
− | |id="infoboxdetail"|{{#iferror: {{ | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|N/A|{{price|{{{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> |
Revision as of 20:21, 9 September 2020
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) }}