Шаблон:Crafting infobox

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
.

Crafting infobox

Material type
Used by
Rarity
«Unknown» не входит в список (Junk, Basic, Fine, Masterwork, Rare, Exotic, Ascended, Legendary) допустимых значений для свойства «Has item rarity».
Zunspecified
Примечание Примечание: Deprecated, use {{Item infobox}} instead

Parameters[править]

Parameter Optional? Default Notes
name Optional {{PAGENAME}} Name of the item (required if article name has a disambiguation suffix)
icon Optional File:{{PAGENAME}}.png Inventory icon. Should only be used in rare cases.
description Optional Verbatim from the game. Do not repeat the item type, since it appears in the infobox proper.
type Unspecified Allowed values:

For cooking ingredients:

For Mystic Forge ingredients:

tier Sometimes The tier 1 – 6 of the material. Required for most non-cooking materials.
armorsmith
artificer
chef
huntsman
jeweler
leatherworker
tailor
weaponsmith
Optional The level of the discipline(s) that can use the material.
variables Optional The benefits of gemstones, jewels and food ingredients. Use Template:Item stat/Template:Nourishment for this parameter.
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.


Code[править]

{{Crafting infobox
| name = 
| icon = 
| description = 
| type = 
| tier = 
| rarity = 
| armorsmith = 
| artificer = 
| chef = 
| huntsman = 
| jeweler = 
| leatherworker = 
| tailor = 
| weaponsmith = 
| karma= 
| cost = 
| value = 
}}

Example[править]

Note that the parameters name and icon are only used here because this is not the Tiny Scale article; normally they would not be needed.

{{Crafting infobox
| name = Tiny Scale
| icon = Tiny Scale.png
| description = Used to make [[Insignia]]s.
| type = fine
| tier = 1
| armorsmith = 25
| artificer = 25
| huntsman = 25
| leatherworker = 25
| tailor = 25
| weaponsmith = 25
| cost = {{coin|3}} <br/> {{karma|3}}
| value = 3
}}
.
Tiny Scale.png

Tiny Scale

Material type
Fine material
Tier
1
Used by
Armorsmith tango icon 20px.png (25)
Artificer tango icon 20px.png (25)
Huntsman tango icon 20px.png (25)
Leatherworker tango icon 20px.png (25)
Tailor tango icon 20px.png (25)
Weaponsmith tango icon 20px.png (25)
Rarity
CУлучшенный
Cost
Медная монета
Karma.png
Value
Медная монета

Used to make Insignias.

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