Template:Default item parameter
From Guild Wars 2 Wiki
Documentation[edit]
Usage[edit]
This template defines values available on all items and is implemented as a subtemplate on all infobox templates for items.
{{default item parameter | status = | collection = | prefix = | rarity = | level = | race = | unique = | bound = | cost = | value = | id = | skin id = | infobox = }}
Parameters[edit]
The following parameters are handled by the {{Default item parameter}} template:
Parameter | Optional? | Default | Notes |
---|---|---|---|
collection | Optional | If the item is part of any collections. | |
prefix | Optional | The nomenclature prefix that describes the attribute bonuses on the item. Automatically sets the attribute bonuses in the description based on {{item stat lookup}} and {{prefix attributes}}. Use only if the item's stats match a standard prefix. | |
rarity | Specified | Unspecified | rarity: junk, basic, fine, masterwork, rare, exotic, ascended, legendary. |
level | Optional | Required level to use the item. | |
race | Optional | Required race to use item. Currently only used for cultural armor and cultural weapons. | |
unique | Optional | Whether the item is unique. "y" for yes, omit parameter if no. | |
bound | Optional | Under what conditions the item becomes bound. Do not specify if item is not bound.
Options:
| |
cost | Optional | Currency cost of the item when purchased from a vendor. To match it to the display in any vendor window, use the amount and the appropriate icon template, e.g. {{coin|500}}, 500 {{item icon|zhaitaffy}}, or 500 {{token|Guild Commendation}} | |
value | Optional | The number of ![]() | |
id | Optional | The item id. Does allow multiple ids to be set by using a comma-separated list. | |
other ids | Optional | Other item ids that are not displayed as chat links. | |
skin id | Optional | If given, an additional skin chat link will be displayed above the item chat link. |
Implemented on[edit]
- {{Armor infobox}} for armor
- {{Back item infobox}} for back items
- {{Dye infobox}} for dyes (reference to #var:tradable here)
- {{Inventory infobox}} for bags, packs and boxes
- {{Item infobox}} for general items
- {{Trinket infobox}} for accessories
- {{Upgrade component infobox}} for upgrade components
- {{Weapon infobox}} for weapons