Шаблон:Item infobox
Материал из Guild Wars 2 wiki
Версия от 22:01, 6 июня 2016; Blood (обсуждение | вклад)
Item infobox
Содержание
Usage
Use this infobox for defining general items within the game, e.g. trophies, recipe sheets, crafting materials.
{{item infobox | name = | icon = | description = | hint = | type = | rarity = | value = | bound = | id = }}
Parameters
Parameter | Optional? | Default | Notes |
---|---|---|---|
name | Optional | Name of the article ({{PAGENAME}} ) |
|
icon | Optional | File:{{PAGENAME}} .png |
Inventory icon. |
description | Verbatim from the game | ||
hint | Used only for collection items that display hint text | ||
type | <type> | Use only these values:
| |
material type | Optional | The material type for any item with type = Crafting material set.Use any of the following:
| |
tier | Optional | The crafting tier for any crafting material | |
key | Optional | Keyword for categorization, e.g.
| |
alcohol | Optional | Parameter for alcohol level of items in Category:Alcohol; the number of points the drink contributes to Thirst Slayer upon consumption. | |
skin type | Optional | Identifies the skin type for type = skin . Set to values prescribed by Property:Has skin type
| |
skin | Optional | Identifies the skin unlocked for type = skin . Separate multiple values with a comma.
| |
miniature set | Optional | Identifies the miniature set that a miniature belongs to. This can either be "special" or a number, e.g. "1" for set #1. | |
miniature index | Optional | The order in which miniatures appear in the account vault. Assists with semantic queries and does not display anything on the page. | |
decoration type | Optional | Identifies the decoration type for type = decoration . Set to values prescribed by Property:Has decoration type
| |
variables | Optional | The benefits of gemstones, jewels and consumables. Use Template:Item stat/Template:Nourishment for this parameter. |
- categorize
- Optional. n to skip auto-categorization. Rarely used but useful for corner-case pages. 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.
For miniatures, toys and town clothing the following parameter may be used: 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.
Examples
{{Item infobox | name = Pile of Soiled Essence | type = crafting material | value = 12 | rarity = common }}
Pile of Soiled Essence
- Тип предмета
- Crafting material
- Редкость
- Базовый
- Ценность
- 12
See also
- {{Upgrade component infobox}} for upgrade components
- {{Armor infobox}} for armors
- {{Weapon infobox}} for weapons
- {{Trinket infobox}} for accessories
- {{Inventory infobox}} for bags, packs and boxes