Шаблон:Armor infobox
Материал из Guild Wars 2 wiki
Armor infobox
- Armor class
- Unspecified
- Type
- Unspecified
Parameters[править]
- name
- Optional. Name of the armor, only use if different from article name (defaults to
{{PAGENAME}}
). - icon
- Optional. Inventory icon, only use if file is named differently from the article (defaults to
{{PAGENAME}}.png
). - class
- Armor classification, capitalized : Heavy, Medium, Light.
- type
- The type of armor : apparatus, helm, shoulders, coat, gloves, leggings, or boots.
- level
- Required The armor's required level.
- stat level
- The level used to calculate the item's stats, if different from required level.
- defense
- Defense value the armor piece has. Automatically populated by {{item stat lookup}} based on the class, type, level, and rarity.
- set
- Optional. Name of the armor set this is part of. Many pieces of karma armor share skins with existing, more well-defined armor sets. Where possible, the pieces of karma armor should link there.
- skin
- Optional. Name of the skin that the item uses according to the wardrobe/API. (See Chat link format/0x0B codes/Armor skins.)
- description
- Optional. In-game description.
- prefix
- The nomenclature prefix that describes the attribute bonuses on the weapon. Automatically sets the attribute bonuses in the description based on {{item stat lookup}} and {{prefix attributes}}.
- variables
- benefits of the armor(i.e. power, damage, vitality, etc.). Use the Template:Item stat in this parameter. Deprecated in favor of prefix.
- uslot
- Item present in the armor's upgrade slot, by default the slot will be empty. The upgrade slot will not be displayed if no is entered.
- categorize
- Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
- status
- Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "discontinued", "future", "unimplemented", "current" (default).
- historical
- Optional. (legacy parameter). Duplicates function of setting
status = historical
. y displays the {{historical content}} notice.
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.
Arraymap parameters
- gallery
- Optional. Enter images using
+<Image>, <Caption>
with a newline between the caption and the next image. Defaults to <page name>.jpg
Legacy parameters
- name
- Required. The canonical name of item, used for Property:Has caption.
- gallery1 ... gallery5
- Optional. Gallery images of the weapon. Defaults to <page name>.jpg
- gallery1-text ... gallery5-text
- Optional. Gallery image descriptions.
Code[править]
{{Armor infobox | name = | icon = | level = | rarity = | class = | type = | defense = | set = | description = | prefix = | variables = | uslot = | race = | cost = | value = | bound = }}