Template:Item: Difference between revisions
Appearance
Initial sourced wiki foundation for private review |
Add the shared item layout and five sourced item pages for review. |
||
| Line 1: | Line 1: | ||
<table class="wikitable sq-infobox sq-item-infobox"> | |||
| | <caption>{{{name|{{PAGENAME}}}}}</caption> | ||
{{#if:{{{image|}}}|<tr><td colspan="2" class="sq-item-image">[[File:{{{image}}}|{{{image_size|96px}}}|alt={{{name|{{PAGENAME}}}}}]]</td></tr>}} | |||
| {{{ | {{#if:{{{type|}}}|<tr><th scope="row">Type</th><td>{{{type}}}</td></tr>}} | ||
| | {{#if:{{{rarity|}}}|<tr><th scope="row">Rarity</th><td>{{{rarity}}}</td></tr>}} | ||
{{#if:{{{slot|}}}|<tr><th scope="row">Slot</th><td>{{{slot}}}</td></tr>}} | |||
| {{{ | {{#if:{{{requirements|}}}|<tr><th scope="row">Requirements</th><td>{{{requirements}}}</td></tr>}} | ||
| | {{#if:{{{class|}}}|<tr><th scope="row">Class path</th><td>{{{class}}}</td></tr>}} | ||
{{#if:{{{stackable|}}}|<tr><th scope="row">Stackable</th><td>{{{stackable}}}</td></tr>}} | |||
| {{{use| | {{#if:{{{atk|}}}|<tr><th scope="row">ATK</th><td>{{{atk}}}</td></tr>}} | ||
| | {{#if:{{{def|}}}|<tr><th scope="row">DEF</th><td>{{{def}}}</td></tr>}} | ||
{{#if:{{{cooldown|}}}|<tr><th scope="row">Base cooldown</th><td>{{{cooldown}}}</td></tr>}} | |||
{{#if:{{{source|}}}|<tr><th scope="row">Obtained from</th><td>{{{source}}}</td></tr>}} | |||
{{#if:{{{use|}}}|<tr><th scope="row">Used for</th><td>{{{use}}}</td></tr>}} | |||
</table><noinclude> | |||
An infobox for item pages. Leave unused fields out. Unknown values should be explained in the article rather than guessed. | |||
<pre>{{Item | |||
|name=Pet Spellbook | |||
|image=Pet Spellbook.png | |||
|type=Consumable | |||
|rarity=Rare | |||
|stackable=Yes, up to 99 | |||
|source=Gem Shop | |||
|use=Rerolling pet bonuses | |||
}}</pre> | |||
Supported fields: name, image, image_size, type, rarity, slot, requirements, class, stackable, atk, def, cooldown, source, use. | |||
[[Category:Wiki templates]] | |||
</noinclude> | |||
Revision as of 13:43, 4 November 2026
An infobox for item pages. Leave unused fields out. Unknown values should be explained in the article rather than guessed.
{{Item
|name=Pet Spellbook
|image=Pet Spellbook.png
|type=Consumable
|rarity=Rare
|stackable=Yes, up to 99
|source=Gem Shop
|use=Rerolling pet bonuses
}}
Supported fields: name, image, image_size, type, rarity, slot, requirements, class, stackable, atk, def, cooldown, source, use.