Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
-->{{#set: Has item cooldown = {{{cooldown}}} }}</dd>}}<!-- | -->{{#set: Has item cooldown = {{{cooldown}}} }}</dd>}}<!-- | ||
-->{{#if: {{{uses|}}}|<dt>Uses</dt><dd>[[Has item uses::{{{uses}}}]]</dd>}}<!-- | -->{{#if: {{{uses|}}}|<dt>Uses</dt><dd>[[Has item uses::{{{uses}}}]]</dd>}}<!-- | ||
− | -->{{#if: {{{stat1|}}}{{{implicit|}}}|<dt><br /></dt><dd></dd> | + | -->{{#if: {{{stat1|}}}{{{implicit|}}}|<dt><br /></dt><dd></dd>}}<!-- |
-->{{#if: {{{implicit|}}}|<dt>Implicit stat</dt><dd>{{{implicit}}}</dd>}}<!-- | -->{{#if: {{{implicit|}}}|<dt>Implicit stat</dt><dd>{{{implicit}}}</dd>}}<!-- | ||
-->{{#if: {{{stat1|}}}|<dt>Stats</dt><dd>{{{stat1}}}</dd>}}<!-- | -->{{#if: {{{stat1|}}}|<dt>Stats</dt><dd>{{{stat1}}}</dd>}}<!-- |
Revision as of 09:12, 1 June 2022
Description
Outlines an item page, including the title, infobox, description quote, etc. Sets SMW properties.
Usage
{{Item infobox | name = | icon = | type = | quality = | level = | slot = | description = | cooldown = | uses = | implicit = | stat1 = | stat2 = | stat3 = | stat4 = | stat5 = }}
Parameters
All parameters are optional.
- name
- Item name. Defaults to
{{PAGENAME}}
. - icon
- Item icon filename. Defaults to
File:<name>.png
- type
- Item type
- quality
- Item quality, one of Common, Magic, Rare, Epic, Legendary
- level
- Item level (if fixed)
- slot
- Item slot, see Property:Has item slot for values list
- description
- Item in-game description.
- cooldown
- Full item cooldown duration. Preferably taken from inspecting the item data. Understands minutes, seconds, ticks.
- uses
- Number of uses if not infinite
- implicit, stat1, stat2, ..., stat5
- Stat rows. Plain text