Шаблон: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:
  • consumable — effect when used; see subtypes below
    • alcohol — consumable that causes intoxication and contributes to Thirst Slayer
    • armor skin — consumable used to unlock an armor skin for your account (also used for back items)
    • blueprintBlueprint
    • booster — consumable that provides a boost effect.
    • codex — consumable that grants a skill point. Never made it into the game.
    • decoration — consumable that deposists a decoration in the guild's decoration storage
    • feast — consumable that spawns a feast object
    • finisher — consumable that unlocks a PvP finishing move for your account.
    • food — consumable that provides a food-based nourishment effect
    • mail carrier — Consumable that unlocks a mail animation for your account.
    • miniature — consumable that unlocks a mini creature for your account
    • mount skin — consumable that unlocks a mount appearance for your account
    • outfit skin — consumable used to unlock an outfit skin for your account
    • recipe sheet — consumable used to learn a recipe
    • service — consumable that takes effect immediately upon receipt
    • tonic — consumable that transforms the user's character
    • trapTrap
    • trickTrick
    • utility item — consumable that provides a utility nourishment effect
    • weapon skin — consumable used to unlock a weapon skin for your account
  • container — consumable that puts other items into the player's inventory
  • crafting material - materials used for crafting. Also set the "material type" parameter, see below.
  • gathering tool — used to gather wood/ore/plants
    • harvesting sickle
    • logging axe
    • mining pick
  • gizmo - non-consumable that activates something
    • musical instrument - gizmos that change the skill bar to play music.
    • toy - "Costume Brawl Toy" gizmos.
    • travel - gizmos for movement
  • salvage item — salvage items
  • salvage kit — used to salvage upgrades or materials
  • town clothing — casual clothing that could be worn out of combat. Discontinued and replaced by Outfits.
  • trophy
    • junk — gray rarity items that have no use but to sell to npcs
    • event item — item only involved in an event or story
  • pvp — PvP only crafting materials. The PvP crafting system has been discontinued.
  • upgrade component — equipment modifiers that can be applied to weapons, armor and trinkets.
material type Optional The material type for any item with type = Crafting material set.
Use any of the following:
material storage Optional
  • Common Crafting Materials
  • Fine Crafting Materials
  • Rare Crafting Materials
  • Ascended Materials
  • Gemstones and Jewels
  • Cooking Materials
  • Festive Materials
tier Optional The crafting tier for any crafting material
key Optional Keyword for categorization, e.g.
  • Superior rune of power add key = power to add to P instead of S in the category
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:
  • historical
  • discontinued
  • future
  • unimplemented
  • current (default)
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
}}

This mysterious symbol-covered object contains valuable loot.
Double-click to open.

— Внутриигровое описание

See also[править]