Difference between revisions of "Template:Infobox artifact"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (WIP) |
Margotbean (talk | contribs) (allow for description template to populate the description field) |
||
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"|{{#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 |
Revision as of 18:01, 1 October 2018
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) }}