Template:Default item parameter
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template defines values available on all items and is implemented as a subtemplate on all infobox templates for items.
Usage[edit]
{{Default item parameter
| status =
| collection =
| prefix =
| rarity =
| level =
| mastery =
| race =
| unique =
| salvage =
| bound =
| cost =
| value =
| id =
| skin id =
| further parameters =
| 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.
- infobox
- Optional. If set to "Dye", displays additional external link.
- further parameters
- Optional. If provided, additional text can be displayed below the "binding" and above the "IDs" sections of this template. For example, displaying dye palette icons between the binding and IDs in the item infobox.
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
- {{Jade bot upgrade infobox}} for jade bot upgrades
- {{Trinket infobox}} for accessories
- {{Upgrade component infobox}} for upgrade components
- {{Weapon infobox}} for weapons