Template:User trinket infobox
From Guild Wars 2 Wiki
Jump to navigationJump to search
{{{name}}}
- Trinket
- Unspecified
Parameters[edit]
- name
- Required. Name of the trinket, only use if different from article name.
- icon
- Optional. Inventory icon, only use if file is named differently from the article (defaults to being hidden).
- type
- The type of trinket : accessory, amulet, back, or ring.
- level
- Required level to equip trinket.
- description
- Optional. In-game description.
- variables
- benefits of the trinket (i.e. power, damage, vitality, etc.). Use the {{item stat}} in this variable. The prefix parameter is not supported in this template due to the complexity of not producing semantic annotations.
- slot type
- The type of upgrade slot
- upgrade slot - Default slot. The upgrade component in the item, defaults to empty slot.
- infusion slot - The type of infusion slot of the item, defaults to unused influsion slot.
- uslot
- Item present in the trinket's upgrade slot, by default the slot will be empty. The upgrade slot will not be displayed if no is entered.
- historical
- Set to 'y' to flag the item as historical and prevent categorization/annotation.
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.
Parameters handled by {{Item infobox gallery}} template[edit]
- gallery1 ... gallery5
- Optional. Gallery of images. Defaults to
{{PAGENAME}}
.jpg. - gallery1-text ... gallery5-text
- Optional. Image descriptions.
Usage[edit]
{{User trinket infobox | name = | icon = | type = | level = | rarity = | description = | prefix | variables = | uslot = | cost = | value = | bound = }}
Example[edit]
{{User trinket infobox | name = Koss on Koss | icon = Koss_on_Koss.png | description = First edition. This book appears to be written in the author's own hand. Unique | type = cape | variables = :{{attribute|56|Power}} :{{attribute|35|Toughness}} :{{attribute|35|Vitality}} | uslot = defensive | level = 80 | bound = on use | rarity = Ascended }}
“First edition. This book appears to be written in the author's own hand. Unique
— In-game description