Difference between revisions of "Template:Infobox artifact"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (WIP) |
Margotbean (talk | contribs) (remove seo section) |
||
(11 intermediate revisions by 3 users not shown) | |||
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 | + | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|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 | ||
Line 24: | Line 24: | ||
|- | |- | ||
|id="infoboxsection"|Sell Price: | |id="infoboxsection"|Sell Price: | ||
− | |id="infoboxdetail"|{{#iferror: {{ | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }} |
− | |}</div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | + | |}</div>{{InfoboxSEO}}</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) }}