Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
| Line 60: | Line 60: | ||
| #default = [[Category:Items with unknown types]] | | #default = [[Category:Items with unknown types]] | ||
}} | }} | ||
| + | {{#ifeq: {{lc:{{{slot|}}}}}|onehanded|[[Category:Weapons]]}} | ||
| + | {{#ifeq: {{lc:{{{slot|}}}}}|twohanded|[[Category:Weapons]]}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Description == | == Description == | ||
Revision as of 10:11, 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 =
| effect =
| append =
}}
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
- effect
- Effect text
- append
- Append more elements (used for weapon abilities)