Шаблон:Item infobox
Материал из Guild Wars 2 wiki
Содержание
Usage[править]
Use this infobox for defining general items within the game, e.g. trophies, recipe sheets, crafting materials. If the item is used in crafting or is a recipe, its associated crafting disciplines will be displayed as well automatically.
{{item infobox | name = | icon = | description = | hint = | type = | level = | rarity = | value = | bound = | id = | release = | status = }}
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:
| |
material storage | Optional |
| |
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.
| |
mount type | Optional | Identifies the mount type for type = mount skin .
| |
variables | Optional | The benefits of gemstones, jewels and consumables. Use Template:Item stat/Template:Nourishment for this parameter. | |
categorize | Optional | Set to "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:
| |
status notes | Optional | Allows provision of additional reason for the given status. | |
release | Optional | The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox release}} for options. |
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, decorations, weapon skins, outfits, mount skins, musical instruments and toys the following parameters may be used. To force a gallery not to show set gallery to "no". 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.
Example[править]
{{Item infobox | description = This mysterious symbol-covered object contains valuable loot.<br>Double-click to open. | type = consumable | rarity = masterwork | bound = account | id = 75409 }}
Cracked Fractal Encryption
- Тип предмета
- Consumable
- Редкость
- Искусный
- Привязка
- Привязка к аккаунту
- Игр. ссылка
- API
- API
“This mysterious symbol-covered object contains valuable loot.
Double-click to open.— Внутриигровое описание
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