Шаблон:Default item parameter
Материал из Guild Wars 2 wiki
Версия от 16:25, 20 октября 2018; Blood (обсуждение | вклад)
Содержание
Documentation
Usage
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 = | rarity = | level = | race = | unique = | bound = | cost = | value = | id = | skin id = }}
Parameters
The following parameters are handled by the {{Default item parameter}} template:
- collection
- Optional. If the item is part of any collections.
- rarity
- Specified rarity: junk, basic, fine, masterwork, rare, exotic, ascended, legendary. Will be set to Unspecified per default.
- 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: no binding (default), use (soulbound on use), acquire (soulbound on acquisition), account, account soul (account bound on acquire, soul bound on use)
- 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
- {{Armor infobox}} for armor
- {{Back item infobox}} for back items
- {{Crafting infobox}} for crafting materials for crafting professions and the Mystic Forge
- {{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