Jump to content

Template:Item: Difference between revisions

From SideQuest Wiki
Add the shared item layout and five sourced item pages for review.
Add XP brews, Double XP Potion quest rewards, and brewing guide.
 
(One intermediate revision by the same user not shown)
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:{{{effect|}}}|<tr><th scope="row">Effect</th><td>{{{effect}}}</td></tr>}}{{#if:{{{duration|}}}|<tr><th scope="row">Duration</th><td>{{{duration}}}</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.


Line 25: Line 11:
|use=Rerolling pet bonuses
|use=Rerolling pet bonuses
}}</pre>
}}</pre>
Supported fields: name, image, image_size, type, rarity, slot, requirements, class, stackable, atk, def, cooldown, source, use.
Supported fields: name, image, image_size, type, rarity, slot, requirements, class, stackable, atk, def, cooldown, effect, duration, source, use.


[[Category:Wiki templates]]
[[Category:Wiki templates]]
</noinclude>
</noinclude>

Latest revision as of 19:15, 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, effect, duration, source, use.