Difference between revisions of "Item info/Documentation"
Stratonian (talk | contribs) m (→Usage) |
Stratonian (talk | contribs) m (→Parameters) |
||
Line 13: | Line 13: | ||
{{parameter|stats|A comma-separated list of the item's stat value and name.||Stat duration may also be input. e.g. '<code>[value1] [stat1], [value2] [stat2], ..., [duration] seconds</code>'}} | {{parameter|stats|A comma-separated list of the item's stat value and name.||Stat duration may also be input. e.g. '<code>[value1] [stat1], [value2] [stat2], ..., [duration] seconds</code>'}} | ||
{{parameter|level|The player level required for item use.|}} | {{parameter|level|The player level required for item use.|}} | ||
+ | {{parameter|level|The hero required for item use.|}} | ||
{{parameter|value|The item's selling price when sold to a vendor.|}} | {{parameter|value|The item's selling price when sold to a vendor.|}} | ||
{{parameter|category|The item's category.|}} | {{parameter|category|The item's category.|}} |
Revision as of 14:45, 17 December 2023
Description
Displays an information page about an item.
Usage
{{Item info|<icon=icon>|<name=name>|<tooltip=tooltip>|<description=description>|<tier=I>|<stats=28 Weapon Damage>|<level=1>|<hero=Bomber>|<value=1>|<category=category>|<quests=Quest 1, Quest 2>}}
Parameters
- icon: An image of the item.
- Optional. Defaults to '
{{PAGENAME}}.png
'. - Notes: Only use if the icon name differs from the name of the page.
- name: The name of the item.
- Optional. Defaults to '
{{PAGENAME}}
'. - Notes: Only use if the template is on a different page to the item's main article.
- quality: The item's quality.
- Optional.
- Notes: Input ranges of qualities with '
[quality1]-[quality2]
'.
- tier: The item's tier.
- Optional.
- Notes: In roman numerals.
- stats: A comma-separated list of the item's stat value and name.
- Optional.
- Notes: Stat duration may also be input. e.g. '
[value1] [stat1], [value2] [stat2], ..., [duration] seconds
'
Possible categories:
- •Armor.
- •Artifacts.
- •Chips.
- •Consumables.
- •Crafting Materials.
- •Quest Items.
- •Raw Materials.
- •Runes.
- •Weapons.
Errors
No description was provided. Add a description parameter.