Шаблон:Upgrade component infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 6: | Строка 6: | ||
| [[Has game icon::File:{{{icon}}}|40px]] | | [[Has game icon::File:{{{icon}}}|40px]] | ||
| [[Has game icon::File:{{#replace:{{{name|{{PAGENAME}}}}}|:|-}}.png|40px]] | | [[Has game icon::File:{{#replace:{{{name|{{PAGENAME}}}}}|:|-}}.png|40px]] | ||
− | }}</div> | + | }}</div> |
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<div class="statistics"> | <div class="statistics"> | ||
Строка 15: | Строка 15: | ||
<div class="wrapper"> | <div class="wrapper"> | ||
;[[Upgrade component|Type]] | ;[[Upgrade component|Type]] | ||
− | :{{#switch: {{lcfirst:{{{type|}}}}} | + | :{{#switch: {{lcfirst:{{{type|}}}}} |
− | | crest | + | | crest |
− | | doubloon | + | | doubloon |
− | | gemstone = [[Has upgrade component type:: | + | | gemstone |
− | + | | jewel | |
− | | mark = [[Has upgrade component type::Mark (upgrade component)|Mark]] | + | | medallion |
− | + | | rune | |
− | + | | seal | |
− | + | | sigil | |
− | + | | talisman = [[Has upgrade component type::{{ucfirst:{{{type}}}}}]]{{#set:Has item type={{ucfirst:{{{type|}}}}}}} | |
− | + | | mark = [[Has upgrade component type::Mark (upgrade component)|Mark]]{{#set:Has item type=Mark (upgrade component)}} | |
− | | infusion = {{#if: {{{infusion|}}} | + | | infusion = {{#if: {{{infusion|}}} |
− | + | | [[Has upgrade component type::Infusion|{{ucfirst:{{{infusion}}}}} infusion]] | |
− | + | | [[Has upgrade component type::Infusion]] | |
− | + | }}{{#set:Has item type=Infusion}} | |
| ''Unspecified''}} | | ''Unspecified''}} | ||
{{Default item parameter | {{Default item parameter | ||
Строка 93: | Строка 93: | ||
== Description == | == Description == | ||
<pre>{{Upgrade component infobox | <pre>{{Upgrade component infobox | ||
− | | name = | + | | name = |
− | | description = | + | | description = |
− | | variables = | + | | variables = |
− | | icon = | + | | icon = |
− | | type = | + | | type = |
− | | rarity = | + | | rarity = |
− | | level = | + | | level = |
− | | bound = | + | | bound = |
− | | cost = | + | | cost = |
− | | value = | + | | value = |
− | | infusion = | + | | infusion = |
| key = | | key = | ||
}}</pre> | }}</pre> | ||
Строка 116: | Строка 116: | ||
; recharge : Optional. The cooldown time of the component, if any. | ; recharge : Optional. The cooldown time of the component, if any. | ||
; rarity : Specified [[rarity]]: junk, common, fine, masterwork, rare, exotic, legendary. Will be set to Unspecified per default. | ; rarity : Specified [[rarity]]: junk, common, fine, masterwork, rare, exotic, legendary. Will be set to Unspecified per default. | ||
− | ; level : Optional. Required level to use the item. | + | ; level : Optional. Required level to use the item. |
; bound : Optional. Whether the item is Soulbound: yes, no, on use, on acquire, account. | ; bound : Optional. Whether the item is Soulbound: yes, no, on use, on acquire, account. | ||
− | ; cost : Optional. The [[Currency|cost]] as it appears in vendor lists. | + | ; cost : Optional. The [[Currency|cost]] as it appears in vendor lists. |
− | ; value : Optional. [[Currency|Value]] expects the number of {{copper}} coins you will receive for selling this item. (Only the number nothing more.) | + | ; value : Optional. [[Currency|Value]] expects the number of {{copper}} coins you will receive for selling this item. (Only the number nothing more.) |
; infusion : Optional. Used with infusion type items, used for three possible subtypes: offensive, defensive, and omni. | ; infusion : Optional. Used with infusion type items, used for three possible subtypes: offensive, defensive, and omni. | ||
; key : Optional. Sort article by the ''key'' instead of natural ordering. Runes and sigils are sorted by the identifier. | ; key : Optional. Sort article by the ''key'' instead of natural ordering. Runes and sigils are sorted by the identifier. |
Текущая версия на 16:26, 1 августа 2016
“Double-click to apply to an item with an unused upgrade slot.
— Внутриигровое описание
Description[править]
{{Upgrade component infobox | name = | description = | variables = | icon = | type = | rarity = | level = | bound = | cost = | value = | infusion = | key = }}
Parameters[править]
- name
- Optional. Defaults the name of the article (
{{PAGENAME}}
). - description
- Optional. In-game description. Default: Double-click to apply to an item with an unused upgrade slot.
- variables
- benefits of the upgrade component(i.e. power, damage, vitality, etc.). Use the Template:Item stat in this parameter.
- bonus1, ..., bonus6
- Runes only, the bonuses provided by the rune.
- icon
- Inventory icon is placed here.
- type
- The upgrade component type. Places the upgrade component into the appropriate category, if correctly used. (acceptable types are: sigil, rune, gemstone, mark/talisman/seal, jewel)
- recharge
- Optional. The cooldown time of the component, if any.
- rarity
- Specified rarity: junk, common, fine, masterwork, rare, exotic, legendary. Will be set to Unspecified per default.
- level
- Optional. Required level to use the item.
- bound
- Optional. Whether the item is Soulbound: yes, no, on use, on acquire, account.
- cost
- Optional. The cost as it appears in vendor lists.
- value
- Optional. Value expects the number of coins you will receive for selling this item. (Only the number nothing more.)
- infusion
- Optional. Used with infusion type items, used for three possible subtypes: offensive, defensive, and omni.
- key
- Optional. Sort article by the key instead of natural ordering. Runes and sigils are sorted by the identifier.
- id
- Optional. The in-game item id according to the API.
- 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.
Examples[править]
{{Upgrade component infobox | description = Double-click to apply to a weapon. | variables = +5% Damage vs. [[Ghost]]s | type = sigil | rarity = rare | level = 35 | cost = 50 {{token|ac}} | value = 108 | id = 24808 }}
Major Sigil of Ghost Slaying
- Редкость
- Редкий
- Треб. уровень
- 35
- Стоимость
- 50
- Ценность
- 1 8
- Игр. ссылка
- Торговый пост
- …
- Внешние ссылки
- GW2BLTC
GW2Spidy
GW2TP
“Double-click to apply to a weapon.
- +5% Damage vs. Ghosts
— Внутриигровое описание