Jump to content

Template:Item: Difference between revisions

From SideQuest Wiki
Initial sourced wiki foundation for private review
 
Add the shared item layout and five sourced item pages for review.
Line 1: Line 1:
{| class="wikitable sq-infobox"
<table class="wikitable sq-infobox sq-item-infobox">
|+ {{{name|{{PAGENAME}}}}}
<caption>{{{name|{{PAGENAME}}}}}</caption>
! Type
{{#if:{{{image|}}}|<tr><td colspan="2" class="sq-item-image">[[File:{{{image}}}|{{{image_size|96px}}}|alt={{{name|{{PAGENAME}}}}}]]</td></tr>}}
| {{{type|Not yet verified}}}
{{#if:{{{type|}}}|<tr><th scope="row">Type</th><td>{{{type}}}</td></tr>}}
|-
{{#if:{{{rarity|}}}|<tr><th scope="row">Rarity</th><td>{{{rarity}}}</td></tr>}}
! Obtained from
{{#if:{{{slot|}}}|<tr><th scope="row">Slot</th><td>{{{slot}}}</td></tr>}}
| {{{source|Not yet verified}}}
{{#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>}}
! Used for
{{#if:{{{stackable|}}}|<tr><th scope="row">Stackable</th><td>{{{stackable}}}</td></tr>}}
| {{{use|Not yet verified}}}
{{#if:{{{atk|}}}|<tr><th scope="row">ATK</th><td>{{{atk}}}</td></tr>}}
|}<noinclude>Use named parameters <code>name</code>, <code>type</code>, <code>source</code>, and <code>use</code>. Only insert verified game facts. [[Category:Wiki templates]]</noinclude>
{{#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

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.