Template:User default item parameter
From Guild Wars 2 Wiki
Jump to navigationJump to search
Documentation[edit]
Usage[edit]
This template defines values available on all items and is implemented as a subtemplate on all infobox templates for items.
{{user default item parameter | status = | collection = | prefix = | rarity = | level = | race = | unique = | bound = | cost = | value = | id = | skin id = | infobox = }}
Parameters[edit]
Parameters handled by {{Default item parameter}} template[edit]
- collection
- Optional. If the item is part of any collections, separated by ";".
- 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
- Optional. Defaults to 'Unspecified'. rarity: junk, basic, fine, masterwork, rare, exotic, ascended, legendary.
- level
- Optional. Required level to use the item.
- mastery
- Optional. Required mastery 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.
- salvage
- Optional. The type of salvage that is applicable, per Salvage types. Options: standard, ascended, research, compost, none. Where multiple salvage types are possible (e.g. food is both compost and research), separate options with a comma.
- bound
- Optional. Under what conditions the item becomes bound. Do not specify if item is not bound. Options:
acquire
→ "Soulbound on acquire"use
→ "Soulbound on use"account
→ "Account bound"account soul
→ "Account bound, Soulbound on use"account use
→ "Account bound on use"none
→ "None" (can't be salvaged)(blank)
→ No binding text
- tradable
- Optional. Set by item infobox, directly influences and overrides the display of the cost parameters.
- 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 coins a vendor will pay for this item; use only the number, since the template assumes copper coins.
- 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]
- {{User item infobox}} for armor