Шаблон:Item infobox — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 1: Строка 1:
{{infobox status|{{{status|{{#ifeq:{{{historical|n}}}|y|historical}} }}} }}<!--
+
<includeonly>{{infobox status|{{{status|}}}|{{{status notes|}}}}}<!--
 
+
-->{{infobox release|{{{release|}}} }}<!--
 
--><div class="infobox {{#ifeq: {{lc:{{{type|}}}}} | crafting material | crafting | item }}">
 
--><div class="infobox {{#ifeq: {{lc:{{{type|}}}}} | crafting material | crafting | item }}">
 
<div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div>
 
<div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div>
Строка 11: Строка 11:
 
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
 
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
 
<div class="wrapper">
 
<div class="wrapper">
;[[Item|Тип предмета]]
+
;[[Item|Item type]]
:{{#arraymap:{{{type|}}}|,|@@@|{{#switch: {{lc:@@@}}
+
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}}
 
   | alcohol
 
   | alcohol
 
   | booster
 
   | booster
Строка 25: Строка 25:
 
   | logging axe
 
   | logging axe
 
   | mining pick
 
   | mining pick
  | gift
 
 
   | gizmo
 
   | gizmo
  | ingredient
+
   | jewel<!-- this should be moved to upgrade component therefore it is not currently documented -->
   | jewel
 
 
   | junk
 
   | junk
 
   | miniature
 
   | miniature
  | rune
 
 
   | salvage item
 
   | salvage item
 
   | salvage kit
 
   | salvage kit
  | service
 
  | sigil
 
  | talisman
 
 
   | tonic
 
   | tonic
 
   | trophy
 
   | trophy
  | transmutation
 
 
   | upgrade component
 
   | upgrade component
 
   | utility item        = [[{{ucfirst:@@@}}]]{{#set:Has item type={{ucfirst:@@@}}}}
 
   | utility item        = [[{{ucfirst:@@@}}]]{{#set:Has item type={{ucfirst:@@@}}}}
Строка 51: Строка 44:
 
   | outfit skin        = [[Consumable]]{{#set:Has skin type=Outfit|Has item type=Consumable}}
 
   | outfit skin        = [[Consumable]]{{#set:Has skin type=Outfit|Has item type=Consumable}}
 
   | glider skin        = [[Consumable]]{{#set:Has skin type=Glider|Has item type=Consumable}}
 
   | glider skin        = [[Consumable]]{{#set:Has skin type=Glider|Has item type=Consumable}}
 +
  | mount skin          = [[Consumable]]{{#set:Has skin type=Mount|Has item type=Consumable}}
 
   | mail carrier
 
   | mail carrier
 
   | finisher            = [[Consumable]]{{#set:Has item type=Consumable}}
 
   | finisher            = [[Consumable]]{{#set:Has item type=Consumable}}
Строка 57: Строка 51:
 
   | decoration          = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}}
 
   | decoration          = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}}
 
   | pvp                = [[PvP crafting material]]{{#set:Has item type=PvP crafting material}}
 
   | pvp                = [[PvP crafting material]]{{#set:Has item type=PvP crafting material}}
  | transmutation stone = [[Transmutation Stone]]{{#set:Has item type=Transmutation Stone}}
 
 
   | town clothing      = [[Town clothing]]{{#set:Has item type=Town clothing}}
 
   | town clothing      = [[Town clothing]]{{#set:Has item type=Town clothing}}
 
   | instrument  
 
   | instrument  
Строка 64: Строка 57:
 
   | travel              = [[Gizmo]]{{#set:Has item type=Gizmo}}
 
   | travel              = [[Gizmo]]{{#set:Has item type=Gizmo}}
 
   | codex              = [[Creature Codex]]{{#set:Has item type=Creature Codex}}
 
   | codex              = [[Creature Codex]]{{#set:Has item type=Creature Codex}}
  | other
+
   | service            = Service{{#set:Has item type=Service}}
  | none
 
  | generic            = [[Generic]]
 
   | service            = [[:Category:Service items|Service]]
 
 
   | ''Unspecified''
 
   | ''Unspecified''
 
}} |<br>}}{{#if: {{{material type|}}} |
 
}} |<br>}}{{#if: {{{material type|}}} |
;[[Crafting material|Тип&nbsp;материала]]
+
;[[Crafting material|Material type]]
:{{#arraymap:{{{material type}}}|,|@@@|{{#switch: {{lc:@@@}}
+
:{{#arraymap: {{{material type}}} |,|@@@|{{#switch: {{lc:@@@}}
 
   | basic            = [[Crafting material#Common crafting materials|Basic material]]
 
   | basic            = [[Crafting material#Common crafting materials|Basic material]]
 
   | fine            = [[Crafting material#Fine crafting materials|Fine material]]
 
   | fine            = [[Crafting material#Fine crafting materials|Fine material]]
 
   | rare            = [[Crafting material#Rare crafting materials|Rare material]]
 
   | rare            = [[Crafting material#Rare crafting materials|Rare material]]
 
   | ascended        = [[Crafting material#Ascended crafting materials|Ascended material]]
 
   | ascended        = [[Crafting material#Ascended crafting materials|Ascended material]]
  | doubloon        = [[Doubloon]]
 
 
   | gemstone        = [[Crafting material#Gemstones|Gemstone]]
 
   | gemstone        = [[Crafting material#Gemstones|Gemstone]]
 
   | jewel            = [[Jewel]]
 
   | jewel            = [[Jewel]]
Строка 96: Строка 85:
 
  | armor skin  
 
  | armor skin  
 
  | weapon skin = {{#if: {{{skin|}}} |
 
  | weapon skin = {{#if: {{{skin|}}} |
;[[Skin|Шкурка]]
+
;[[Skin]]
:{{#arraymap:{{{skin}}}|,|@@@|{{ifexists|@@@ (skin)
+
:{{#arraymap: {{{skin}}} |,|@@@|{{ifexists|@@@ (skin)
 
  | {{cname|@@@ (skin)}}{{#set:Has skin=@@@ (skin)}}
 
  | {{cname|@@@ (skin)}}{{#set:Has skin=@@@ (skin)}}
 
  | {{cname|@@@}}{{#set:Has skin=@@@}}
 
  | {{cname|@@@}}{{#set:Has skin=@@@}}
Строка 104: Строка 93:
 
  | recipe
 
  | recipe
 
  | recipe sheet =  
 
  | recipe sheet =  
;[[Crafting#Crafting disciplines|Дисциплины]]
+
;[[Crafting#Crafting disciplines|Disciplines]]
 
:{{#vardefine:recipe-object|{{#ask:[[Learned from recipe sheet::{{PAGENAME}}]]|link=none}}}}<!--
 
:{{#vardefine:recipe-object|{{#ask:[[Learned from recipe sheet::{{PAGENAME}}]]|link=none}}}}<!--
 
-->{{#arraymap:{{#var:recipe-object}}|,|@@@|{{#ask:[[@@@]]|?Requires rating|?Requires discipline|link=none|format=template|template=Template:Item infobox/recipe object result format}}|}}
 
-->{{#arraymap:{{#var:recipe-object}}|,|@@@|{{#ask:[[@@@]]|?Requires rating|?Requires discipline|link=none|format=template|template=Template:Item infobox/recipe object result format}}|}}
 
  | miniature =  
 
  | miniature =  
;[[Miniature#List of miniatures|Набор миниатюр]]
+
;[[Miniature#List of miniatures|Mini set]]
 
:{{#if:{{{miniature set|}}}|[[Is part of miniature set::{{ucfirst:{{{miniature set}}}}}]]}}
 
:{{#if:{{{miniature set|}}}|[[Is part of miniature set::{{ucfirst:{{{miniature set}}}}}]]}}
 
  | alcohol =  
 
  | alcohol =  
;Алкоголь
+
;Alcohol
 
: {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] }}
 
: {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] }}
 
  | container = {{#if: {{{tier|}}} |
 
  | container = {{#if: {{{tier|}}} |
;[[Container#Crafting material containers|Уровень]]
+
;[[Container#Crafting material containers|Tier]]
 
:[[Has container tier::{{{tier}}}]]
 
:[[Has container tier::{{{tier}}}]]
 
}}
 
}}
 
  | crafting material = {{#if:{{{tier|}}} |
 
  | crafting material = {{#if:{{{tier|}}} |
;[[Crafting#Materials|Уровень]]
+
;[[Crafting#Materials|Tier]]
 
:[[Has crafting tier::{{{tier}}}]]
 
:[[Has crafting tier::{{{tier}}}]]
 
}}
 
}}
}}{{#ifexpr: {{#ask:[[Has ingredient::?;{{PAGENAME}}]][[Has recipe source::!Mystic forge]]|format=count}} > 0 |
+
}}{{#if: {{{material storage|}}} |
;[[Crafting#Crafting disciplines|Дисциплины]]
+
;[[Material storage|Mat. storage]]
 +
:{{{material storage}}}
 +
}}{{#ifexpr: {{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Has recipe source::!Mystic forge]]|format=count}} > 0 |
 +
;[[Crafting#Crafting disciplines|Disciplines]]
 
:{{#arraymap: Armorsmith,Artificer,Chef,Huntsman,Jeweler,Leatherworker,Scribe,Tailor,Weaponsmith |,|@@@|
 
:{{#arraymap: Armorsmith,Artificer,Chef,Huntsman,Jeweler,Leatherworker,Scribe,Tailor,Weaponsmith |,|@@@|
   {{#vardefine:@@@_min_rating|{{#ask:[[Has ingredient::?;{{PAGENAME}}]][[Requires discipline::@@@]]|?Requires rating|format=min|default=-1}}}}
+
   {{#vardefine:@@@_min_rating|{{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Requires discipline::@@@]]|?Requires rating|format=min|default=-1}}}}
 
   {{#ifexpr: {{#var:@@@_min_rating|0}} >= 0 | {{discipline|@@@}} {{#var:@@@_min_rating}} {{#set:Has minimum usable rating=@@@;{{#var:@@@_min_rating}}}} }}
 
   {{#ifexpr: {{#var:@@@_min_rating|0}} >= 0 | {{discipline|@@@}} {{#var:@@@_min_rating}} {{#set:Has minimum usable rating=@@@;{{#var:@@@_min_rating}}}} }}
 
|<br>}}
 
|<br>}}
 
}}{{Default item parameter
 
}}{{Default item parameter
 +
| status = {{{status|}}}
 
  | collection = {{{collection|}}}
 
  | collection = {{{collection|}}}
 
  | rarity    = {{{rarity|}}}
 
  | rarity    = {{{rarity|}}}
Строка 133: Строка 126:
 
  | race      = {{{race|}}}
 
  | race      = {{{race|}}}
 
  | unique    = {{{unique|}}}
 
  | unique    = {{{unique|}}}
  | tradable  = {{{tradable|}}}
+
  | tradable  = {{#switch:{{lc:{{{type|}}}}}
 +
                |service={{{tradable|no}}}
 +
                |#default={{{tradable|}}}
 +
                }}
 
  | bound      = {{{bound|}}}
 
  | bound      = {{{bound|}}}
 
  | cost      = {{{cost|}}}
 
  | cost      = {{{cost|}}}
Строка 139: Строка 135:
 
  | id        = {{{id|}}}
 
  | id        = {{{id|}}}
 
  | other ids  = {{{other ids|}}}
 
  | other ids  = {{{other ids|}}}
  | skin id    = {{#if: {{{skin|}}} | {{#arraymap:{{{skin}}}|,|@@@|{{ifexists|@@@ (skin) | {{#show:@@@ (skin)|?Has game id#|limit=1|default=}} | {{#show:@@@|?Has game id#|limit=1|default=}} }}|,}} }}
+
  | skin id    =  
 +
}}
 +
{{#if: {{{id|}}} |
 +
;API
 +
: [https://api.guildwars2.com/v2/items?ids={{#replace:{{{id}}}&lang=en| |}} API] <!-- "&lang=" is being left in on purpose to make it easier to search for interwiki names of items by switching "en" to "es/fr/de" -->
 
}}
 
}}
 
</div>
 
</div>
 +
{{#ifeq:{{{gallery|x}}}|no| {{clear}} <!-- hide for unimplemented items with no preview option -->|
 
{{#if:{{{gallery|}}}{{{gallery1|}}}{{#switch: {{lc:{{{type|}}}}}
 
{{#if:{{{gallery|}}}{{{gallery1|}}}{{#switch: {{lc:{{{type|}}}}}
 
  | miniature
 
  | miniature
Строка 147: Строка 148:
 
  | weapon skin
 
  | weapon skin
 
  | outfit skin
 
  | outfit skin
 +
| mount skin
 
  | instrument
 
  | instrument
 
  | musical instrument
 
  | musical instrument
Строка 163: Строка 165:
 
  | gallery5-text = {{{gallery5-text|Click to enlarge.}}}
 
  | gallery5-text = {{{gallery5-text|Click to enlarge.}}}
 
}}
 
}}
| {{clear}} <!-- Do not show gallery --> }}
+
| {{clear}} <!-- Do not show gallery --> }}}}
 
</div>
 
</div>
{{#if:{{{description|}}}{{{hint|}}}{{{variables|}}}|<!-- show description section only if description, hint, or variables are defined -->
+
{{#if: {{{description|}}}{{{hint|}}}{{{variables|}}}{{#switch:{{lc:{{{type|}}}}}|service=x}}
{{Quotation|game|{{#if: {{{description|}}} | [[Has game description::{{{description}}}]] }}{{#if: {{{hint|}}} | {{#if:{{{description|}}}|<br>}}<span class="hint" style="font-style: italic;" title="Hint">Hint: {{{hint}}}</span>{{#set:Has collection hint={{{hint}}}}} }}
+
|<!-- show description section only if description, hint, or variables are defined, or if type is service -->{{Quotation|game|{{#switch:{{lc:{{{type|}}}}}|service=Takes effect immediately upon receipt.{{#if: {{{description|}}}{{{hint|}}}{{{variables|}}} | <br> }} }}<!--
{{{variables|}}}}}
+
-->{{#if: {{{description|}}} | [[Has game description::{{{description}}}]] }}<!--
 +
-->{{#if: {{{hint|}}} | {{#if: {{{description|}}} | <br> }}<span class="hint" style="font-style: italic;" title="Hint">Hint: {{{hint}}}</span>{{#set:Has collection hint={{{hint}}}}} }}
 +
{{#if: {{{variables|}}} | {{{variables}}} }} }}
 
}}<!--
 
}}<!--
  
Строка 175: Строка 179:
 
           {{#ifeq: {{{categorize|y}}} | n | + }}
 
           {{#ifeq: {{{categorize|y}}} | n | + }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = + }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = + }}
          {{#ifeq: {{lc:{{{historical}}}}} | y | + }}<!-- legacy support -->
 
 
           | <!-- Do not categorize --> |
 
           | <!-- Do not categorize --> |
 
{{#if:{{{icon|}}}| | {{#ifexist: File:{{#replace:{{#replace:{{PAGENAME}}|:|-}}|/|-}}.png |
 
{{#if:{{{icon|}}}| | {{#ifexist: File:{{#replace:{{#replace:{{PAGENAME}}|:|-}}|/|-}}.png |
Строка 191: Строка 194:
 
  | food
 
  | food
 
  | gathering tool
 
  | gathering tool
| gift
 
 
  | harvesting sickle
 
  | harvesting sickle
| ingredient
 
 
  | jewel
 
  | jewel
 
  | logging axe
 
  | logging axe
Строка 200: Строка 201:
 
  | salvage item
 
  | salvage item
 
  | salvage kit
 
  | salvage kit
| talisman
 
 
  | tonic
 
  | tonic
| transmutation
 
 
  | upgrade component
 
  | upgrade component
 
  | utility item      = {{#if: {{{key|}}} | [[Category:{{ucfirst:@@@}}s|{{ucfirst:{{{key}}}}}]] | [[Category:{{ucfirst:@@@}}s|{{PAGENAME}}]] }}
 
  | utility item      = {{#if: {{{key|}}} | [[Category:{{ucfirst:@@@}}s|{{ucfirst:{{{key}}}}}]] | [[Category:{{ucfirst:@@@}}s|{{PAGENAME}}]] }}
Строка 212: Строка 211:
 
                         | [[Category:Miniatures with set undefined]] }}
 
                         | [[Category:Miniatures with set undefined]] }}
 
                         {{#set: Has miniature id = {{#if: {{{miniature id|}}} | {{{miniature id}}} | 999 }} }}
 
                         {{#set: Has miniature id = {{#if: {{{miniature id|}}} | {{{miniature id}}} | 999 }} }}
  | trap              = [[Category:Consumables]][[Category:Environmental weapons]]
+
  | trap              = [[Category:Consumables]][[Category:Bundles]]
  | trick              = [[Category:Consumables]][[Category:Environmental weapons]]
+
  | trick              = [[Category:Consumables]][[Category:Bundles]]
 
  | recipe
 
  | recipe
 
  | recipe sheet      = [[Category:Recipe sheets]]
 
  | recipe sheet      = [[Category:Recipe sheets]]
 
  | token              = [[Category:Tokens]][[Category:Trophies]]
 
  | token              = [[Category:Tokens]][[Category:Trophies]]
 
  | alcohol            = [[Category:Alcohol]]
 
  | alcohol            = [[Category:Alcohol]]
 +
| service            = [[Category:Service items]]
 
  | skin
 
  | skin
 
  | weapon skin
 
  | weapon skin
Строка 223: Строка 223:
 
  | outfit skin        = [[Category:Consumables|{{PAGENAME}}]] [[Category:Outfits]]  
 
  | outfit skin        = [[Category:Consumables|{{PAGENAME}}]] [[Category:Outfits]]  
 
  | glider skin        = [[Category:Glider skins]]
 
  | glider skin        = [[Category:Glider skins]]
  | rune              = {{#if: {{{key|}}}| [[Category:Runes|{{ucfirst:{{{key}}}}}]]| [[Category:Runes|{{#explode:{{PAGENAME}}| |-1}}]]}}
+
  | mount skin        = [[Category:{{#switch: {{lc:{{{mount type|}}}}}
| sigil              = {{#if: {{{key|}}}| [[Category:Sigils|{{ucfirst:{{{key}}}}}]]| [[Category:Sigils|{{#explode:{{PAGENAME}}| |-1}}]]}}
+
  | raptor = Raptor
 +
  | springer = Springer
 +
  | skimmer = Skimmer
 +
  | jackal = Jackal
 +
  | griffon = Griffon
 +
  | #default = Mount}} skins]]
 
  | crafting material  = {{#if: {{{material type|}}} || [[Category:Crafting materials]] }}
 
  | crafting material  = {{#if: {{{material type|}}} || [[Category:Crafting materials]] }}
 
  | instrument
 
  | instrument
Строка 239: Строка 244:
 
   | turrets = Turret  
 
   | turrets = Turret  
 
   | {{{decoration type}}} }} decorations]]
 
   | {{{decoration type}}} }} decorations]]
| other
 
| none
 
| generic = {{#if: {{{key|}}} | [[Category:Generic items|{{ucfirst:{{{key}}}}}]] | [[Category:Generic items|{{PAGENAME}}]]}}
 
 
  | [[Category:Items with no type specified]]
 
  | [[Category:Items with no type specified]]
 
}}<!-- end #switch @@@ --> |}}<!-- end #arraymap -->
 
}}<!-- end #switch @@@ --> |}}<!-- end #arraymap -->
Строка 249: Строка 251:
 
  | rare            = [[Category:Rare crafting materials]]
 
  | rare            = [[Category:Rare crafting materials]]
 
  | ascended        = [[Category:Ascended crafting materials]]
 
  | ascended        = [[Category:Ascended crafting materials]]
| doubloon        = [[Category:Doubloons]]
 
 
  | gemstone        = [[Category:Gemstones]]
 
  | gemstone        = [[Category:Gemstones]]
 
  | jewel            = [[Category:Jewels]]
 
  | jewel            = [[Category:Jewels]]
Строка 267: Строка 268:
 
  | schematic        = [[Category:Schematics]]
 
  | schematic        = [[Category:Schematics]]
 
}}|}} }}
 
}}|}} }}
}}<!-- end #ifeq historical --><noinclude>
+
{{#if: {{{material storage|}}}
 +
| {{#set: Is in material storage section={{{material storage|}}} }}
 +
}}
 +
}}<!-- end #ifeq historical --></includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
Use this infobox for defining general [[item]]s within the game, e.g. trophies, recipe sheets, crafting materials.
+
Use this infobox for defining general [[item]]s 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.
  
 
<pre>
 
<pre>
Строка 279: Строка 283:
 
| hint =
 
| hint =
 
| type =  
 
| type =  
 +
| level =
 
| rarity =  
 
| rarity =  
 
| value =  
 
| value =  
 
| bound =  
 
| bound =  
 
| id =  
 
| id =  
 +
| release =
 +
| status =
 
}}
 
}}
 
</pre>
 
</pre>
Строка 302: Строка 309:
 
* ''consumable'' — effect when used; see subtypes below
 
* ''consumable'' — effect when used; see subtypes below
 
** ''alcohol'' — consumable that causes intoxication and contributes to [[Thirst Slayer]]
 
** ''alcohol'' — consumable that causes intoxication and contributes to [[Thirst Slayer]]
** ''armor [[skin]]'' — consumable used to unlock an [[armor]] skin for your account
+
** ''armor [[skin]]'' — consumable used to unlock an [[armor]] skin for your account (also used for back items)
** ''back skin'' — consumable used to unlock a [[back item]] skin for your account
 
 
** ''blueprint'' — [[Blueprint]]
 
** ''blueprint'' — [[Blueprint]]
 
** ''[[booster]]'' — consumable that provides a boost effect.
 
** ''[[booster]]'' — consumable that provides a boost effect.
 +
** ''[[Creature Codex|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
 
** ''[[decoration]]'' — consumable that deposists a decoration in the guild's decoration storage
** ''dye'' — consumable that unlocks a [[dye]] color for your account
 
 
** ''feast'' — consumable that spawns a [[Feast (food)|feast]] object
 
** ''feast'' — consumable that spawns a [[Feast (food)|feast]] object
 +
** ''[[finisher]]'' —  consumable that unlocks a PvP finishing move for your account.
 
** ''food'' — consumable that provides a food-based [[nourishment]] effect
 
** ''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
 
** ''[[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
 
** ''[[outfit]] skin'' — consumable used to unlock an outfit skin for your account
 
** ''recipe sheet'' — consumable used to learn a recipe
 
** ''recipe sheet'' — consumable used to learn a recipe
Строка 331: Строка 340:
 
* ''salvage item'' — salvage items
 
* ''salvage item'' — salvage items
 
* ''salvage kit'' — used to salvage upgrades or materials
 
* ''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''
 
* ''trophy''
 
** ''junk'' — gray rarity items that have no use but to sell to npcs
 
** ''junk'' — gray rarity items that have no use but to sell to npcs
 
** ''event item'' — item only involved in an event or story
 
** ''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 <code><nowiki>type = Crafting material</nowiki></code> set.<br>Use any of the following:
 
| '''material type''' || Optional || || The material type for any item with <code><nowiki>type = Crafting material</nowiki></code> set.<br>Use any of the following:
Строка 344: Строка 356:
 
* ''inscription'' — [[Inscription]]s
 
* ''inscription'' — [[Inscription]]s
 
* ''insignia'' — [[Insignia]]
 
* ''insignia'' — [[Insignia]]
* ''runes of holding'' — [[Rune of holding]]
+
* ''runes of holding'' — [[Crafting material#Runes of Holding|Rune of holding]]
* ''component'' — [[Crafting component]]s
+
* ''component'' — Crafting[[component]]s
 
* ''refinement'' - [[Refinement|Refined material]]
 
* ''refinement'' - [[Refinement|Refined material]]
 
* ''festive'' - [[Festive material]]
 
* ''festive'' - [[Festive material]]
Строка 356: Строка 368:
 
* ''mystic'' - [[Mystic item]]s
 
* ''mystic'' - [[Mystic item]]s
 
* ''schematic'' - [[Schematic]]s
 
* ''schematic'' - [[Schematic]]s
 +
|-
 +
| '''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
 
| '''tier''' || Optional || || The crafting tier for any crafting material
Строка 364: Строка 385:
 
| '''alcohol''' || Optional || || Parameter for alcohol level of items in [[:Category:Alcohol]]; the number of points the drink contributes to [[Thirst Slayer]] upon consumption.
 
| '''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 <code>type = skin</code>. Set to values prescribed by [[Property:Has skin type]]
+
| '''skin type''' || Optional || || Identifies the skin type for <code>type = skin</code>. Set to values prescribed by [[Property:Has skin type]].
 
|-
 
|-
 
| '''skin''' || Optional || || Identifies the skin unlocked for <code>type = skin</code>. Separate multiple values with a comma.
 
| '''skin''' || Optional || || Identifies the skin unlocked for <code>type = skin</code>. Separate multiple values with a comma.
Строка 372: Строка 393:
 
| '''miniature index''' || Optional || || The order in which miniatures appear in the [[Account vault#Collections|account vault]]. Assists with semantic queries and does not display anything on the page.
 
| '''miniature index''' || Optional || || The order in which miniatures appear in the [[Account vault#Collections|account vault]]. Assists with semantic queries and does not display anything on the page.
 
|-
 
|-
| '''decoration type''' || Optional || || Identifies the decoration type for <code>type = decoration</code>. Set to values prescribed by [[Property:Has decoration type]]
+
| '''decoration type''' || Optional || || Identifies the decoration type for <code>type = decoration</code>. Set to values prescribed by [[Property:Has decoration type]].
 +
|-
 +
| '''mount type''' || Optional || || Identifies the mount type for <code>type = mount skin</code>.
 
|-
 
|-
 
| '''variables''' || Optional || || The benefits of gemstones, jewels and consumables. Use [[Template:Item stat]]/[[Template:Nourishment]] for this parameter.
 
| '''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.<br>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 {{tl|infobox release}} for options.
 
|}
 
|}
; 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 <code>status = historical</code>. ''y'' displays the {{tl|historical content}} notice.
 
 
{{:Template:Default item parameter/documentation}}
 
{{:Template:Default item parameter/documentation}}
For [[miniature]]s, [[toy]]s and [[town clothing]] the following parameter may be used:
+
For [[miniature]]s, [[decoration]]s, [[weapon skin]]s, [[outfit]]s, [[Gallery_of_mount_skins|mount skins]], [[musical instrument]]s and [[toy]]s the following parameters may be used. To force a gallery not to show set ''gallery'' to "no".
{{:Template:Item infobox gallery/documentation}}
+
{{:Template:Item infobox gallery/documentation|ignorename=y}}
  
== Examples ==
+
== Example ==
 
<pre>{{Item infobox
 
<pre>{{Item infobox
| name = Pile of Soiled Essence
+
| description = This mysterious symbol-covered object contains valuable loot.<br>Double-click to open.
| type = crafting material
+
| type = consumable
| value = 12
+
| rarity = masterwork
| rarity = common
+
| bound = account
 +
| id = 75409
 
}}</pre>
 
}}</pre>
{{Item infobox
+
{{item infobox
| name = Pile of Soiled Essence
+
| name = Cracked Fractal Encryption
| type = crafting material
+
| icon = Cracked Fractal Encryption.png
| value = 12
+
| description = This mysterious symbol-covered object contains valuable loot.<br>Double-click to open.
| rarity = common
+
| type = consumable
 +
| rarity = masterwork
 +
| bound = account
 +
| id = 75409
 
| categorize = n
 
| categorize = n
 
}}
 
}}
 +
{{clear}}
  
 
== See also ==
 
== See also ==
Строка 405: Строка 443:
 
* {{tl|Inventory infobox}} for bags, packs and boxes
 
* {{tl|Inventory infobox}} for bags, packs and boxes
  
[[Category:Infobox templates|Item infobox]]</noinclude>
+
[[Category:Infobox templates|Item infobox]]
 +
 
 +
</noinclude>

Версия 16:50, 3 апреля 2018


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