Jump to content

Template:Item: Difference between revisions

From SideQuest Wiki
Add the shared item layout and five sourced item pages for 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">
<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>}}{{#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>
<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>}}
{{#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.
An infobox for item pages. Leave unused fields out. Unknown values should be explained in the article rather than guessed.



Revision as of 13:53, 4 November 2026

Item

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.