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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 129: Строка 129:
 
     | well = Well}}}}|}}}}<!--
 
     | well = Well}}}}|}}}}<!--
 
-->{{#vardefine:enable facts|true}}<!--
 
-->{{#vardefine:enable facts|true}}<!--
-->{{#if:{{{split|}}}|{{Game mode version|{{{split}}}}}<!--
+
-->{{#if: {{{split|}}}
 +
| {{Game mode version|{{{split}}}}}<!--
 
-->{{#set:Is for game mode=PvE}}<!--
 
-->{{#set:Is for game mode=PvE}}<!--
 
-->{{#if:{{#pos:{{#explode:{{{split|}}}|,|0}}|wvw}}|{{#set:Is for game mode=WvW}}}}<!--
 
-->{{#if:{{#pos:{{#explode:{{{split|}}}|,|0}}|wvw}}|{{#set:Is for game mode=WvW}}}}<!--
 
-->{{#if:{{#pos:{{#explode:{{{split|}}}|,|0}}|pvp}}|{{#set:Is for game mode=PvP}}}}<!--
 
-->{{#if:{{#pos:{{#explode:{{{split|}}}|,|0}}|pvp}}|{{#set:Is for game mode=PvP}}}}<!--
 
-->{{Skill infobox/subobject
 
-->{{Skill infobox/subobject
|split={{{split|}}}
+
| split={{{split|}}}
|profession={{{profession|}}}
+
| profession={{{profession|}}}
|icon={{{icon|}}}
+
| icon={{{icon|}}}
|name={{{name|}}}
+
| name={{{name|}}}
|hero points={{{hero points|}}}
+
| hero points={{{hero points|}}}
|initiative-wvw={{{initiative-wvw|}}}
+
| initiative-wvw={{{initiative-wvw|}}}
|initiative-pvp={{{initiative-pvp|}}}
+
| initiative-pvp={{{initiative-pvp|}}}
|activation={{#replace:{{{activation|}}}|.|,}}
+
| activation={{#replace:{{{activation|}}}|.|,}}
|energy-wvw={{{energy-wvw|}}}
+
| energy-wvw={{{energy-wvw|}}}
|energy-pvp={{{energy-pvp|}}}
+
| energy-pvp={{{energy-pvp|}}}
|upkeep-wvw={{{upkeep-wvw|}}}
+
| upkeep-wvw={{{upkeep-wvw|}}}
|upkeep-pvp={{{upkeep-pvp|}}}
+
| upkeep-pvp={{{upkeep-pvp|}}}
|recharge-wvw={{{recharge-wvw|}}}
+
| recharge-wvw={{{recharge-wvw|}}}
|recharge-pvp={{{recharge-pvp|}}}
+
| recharge-pvp={{{recharge-pvp|}}}
|ground-target={{{ground-target|}}}
+
| ground-target={{{ground-target|}}}
|specialization={{{specialization|}}}
+
| specialization={{{specialization|}}}
|race={{{race|}}}
+
| race={{{race|}}}
|pet={{{pet|}}}
+
| pet={{{pet|}}}
|pet-family={{{pet-family|}}}
+
| pet-family={{{pet-family|}}}
|parent={{{parent|}}}
+
| parent={{{parent|}}}
|slot={{{slot|}}}
+
| slot={{{slot|}}}
|trait={{{trait|}}}
+
| trait={{{trait|}}}
|mainhand={{{mainhand|}}}
+
| mainhand={{{mainhand|}}}
|offhand={{{offhand|}}}
+
| offhand={{{offhand|}}}
|twohand={{{twohand|}}}
+
| twohand={{{twohand|}}}
|mechanic weapon={{{mechanic weapon|}}}
+
| mechanic weapon={{{mechanic weapon|}}}
|bundle={{{bundle|}}}
+
| bundle={{{bundle|}}}
|kit={{{kit|}}}
+
| kit={{{kit|}}}
|type={{{type|}}}
+
| type={{{type|}}}
|weapon-slot={{{weapon-slot|}}}
+
| weapon-slot={{{weapon-slot|}}}
|mechanic-slot={{{mechanic-slot|}}}
+
| mechanic-slot={{{mechanic-slot|}}}
|attunement={{{attunement|}}}
+
| attunement={{{attunement|}}}
|archetype={{{archetype|}}}
+
| archetype={{{archetype|}}}
|chain1={{{chain1|}}}
+
| chain1={{{chain1|}}}
|chain2={{{chain2|}}}
+
| chain2={{{chain2|}}}
|chain3={{{chain3|}}}
+
| chain3={{{chain3|}}}
|chain4={{{chain4|}}}
+
| chain4={{{chain4|}}}
|id={{{id|}}}
+
| uw-replaced-by={{{uw-replaced-by|}}}
|description={{#var:description type}}{{{description|}}}
+
| uw-replaces={{{uw-replaces|}}}
|facts={{{facts|{{{variables|}}}}}}
+
| id={{{id|}}}
|variables={{{facts|{{{variables|}}}}}}
+
| description={{#var:description type}}{{{description|}}}
|status={{{status|}}}<!--
+
| facts={{{facts|{{{variables|}}}}}}
-->}} }}<!--
+
| variables={{{facts|{{{variables|}}}}}}
 +
| status={{{status|}}}
 +
}}
 +
| {{#set:Is for game mode=Default}} }}<!--
  
 
--><div class="infobox skill {{lc:{{{race|{{#var:profession}}}}}}} {{#if:{{{specialization|}}}|specialization}}">
 
--><div class="infobox skill {{lc:{{{race|{{#var:profession}}}}}}} {{#if:{{{specialization|}}}|specialization}}">
Строка 202: Строка 206:
 
-->{{initiative/split|{{{initiative|}}}|pve={{{initiative-pve|}}}|wvw={{{initiative-wvw|}}}|pvp={{{initiative-pvp|}}}}}|<!-- is not split
 
-->{{initiative/split|{{{initiative|}}}|pve={{{initiative-pve|}}}|wvw={{{initiative-wvw|}}}|pvp={{{initiative-pvp|}}}}}|<!-- is not split
 
-->{{initiative|{{{initiative}}}}} }} &nbsp;
 
-->{{initiative|{{{initiative}}}}} }} &nbsp;
 +
}}{{#if:{{{health cost|}}}{{{health cost-pve|}}} |<!--
 +
-->{{#set:Has health cost={{{health cost-pve|{{{health cost}}}}}}}}{{#if:{{{health cost-wvw|}}}{{{health cost-pvp|}}}|<!-- is split
 +
-->{{health cost/split|{{{health cost|}}}|pve={{{health cost-pve|}}}|wvw={{{health cost-wvw|}}}|pvp={{{health cost-pvp|}}}}}|<!-- is not split
 +
-->{{health cost|{{{health cost}}}}} }} &nbsp;
 
}}{{#if:{{{recharge|}}}{{{recharge-pve|}}} |<!--
 
}}{{#if:{{{recharge|}}}{{{recharge-pve|}}} |<!--
 
-->{{#set:Has recharge time={{{recharge-pve|{{#replace:{{{recharge}}}|.|,}}}}}}}{{#if:{{{recharge-wvw|}}}{{{recharge-pvp|}}}|<!-- is split
 
-->{{#set:Has recharge time={{{recharge-pve|{{#replace:{{{recharge}}}|.|,}}}}}}}{{#if:{{{recharge-wvw|}}}{{{recharge-pvp|}}}|<!-- is split
 
-->{{recharge/split|{{{recharge|}}}|pve={{{recharge-pve|}}}|wvw={{{recharge-wvw|}}}|pvp={{{recharge-pvp|}}}}}|<!-- is not split
 
-->{{recharge/split|{{{recharge|}}}|pve={{{recharge-pve|}}}|wvw={{{recharge-wvw|}}}|pvp={{{recharge-pvp|}}}}}|<!-- is not split
 
-->{{recharge|{{{recharge}}}}} }} &nbsp;
 
-->{{recharge|{{{recharge}}}}} }} &nbsp;
}}{{#if: {{{hero points|}}} |<span style="white-space: nowrap;">[[Has hero point cost::{{{hero points}}}]] [[File:Hero point.png|20px|link=Hero point|Очко героя]]</span> {{#if:{{{ground-target|}}}|&nbsp;}}}}{{#if: {{{ground-target|}}} | [[File:Ground target aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}} }}
+
}}{{#if: {{{hero points|}}} |<span style="white-space: nowrap;">[[Has hero point cost::{{{hero points}}}]]&nbsp;[[File:Hero point.png|20px|link=Hero point|Очки героя]]</span> {{#if:{{{ground-target|}}}|&nbsp;}}}}{{#if: {{{ground-target|}}} | [[File:Ground target aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}} }}
 
</div>
 
</div>
 
<div class="wrapper">{{#if:{{{monster|}}}||
 
<div class="wrapper">{{#if:{{{monster|}}}||
Строка 266: Строка 274:
 
| bundle = ; [[Bundle|Комплект]]:{{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set: Has skill context=Bundle}}
 
| bundle = ; [[Bundle|Комплект]]:{{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set: Has skill context=Bundle}}
 
| burst skill = ; [[Weapon]]</p> <p class="info"> [[Main hand]] [[{{lc:{{{mainhand}}}}}]]
 
| burst skill = ; [[Weapon]]</p> <p class="info"> [[Main hand]] [[{{lc:{{{mainhand}}}}}]]
| healing = ; [[Skill bar|Слот]]:[[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
+
| healing = ; [[Skill bar|Слот]]:[[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}}
| utility = ; [[Skill bar|Слот]]:[[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
+
| utility = ; [[Skill bar|Слот]]:[[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}}
| elite = ; [[Skill bar|Слот]]:[[Elite skill|Элитное]] {{#set:Has skill context=Elite}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
+
| elite = ; [[Skill bar|Слот]]:[[Elite skill|Элитное]] {{#set:Has skill context=Elite}}
 
| downed = ; [[Skill bar|Слот]]:[[List of downed skills|Повержен]]{{#set:Has skill context=Downed}}
 
| downed = ; [[Skill bar|Слот]]:[[List of downed skills|Повержен]]{{#set:Has skill context=Downed}}
 
| drowning = ; [[Skill bar|Слот]]:[[List of drowning skills|Утопление]]{{#set:Has skill context=Drowning}}
 
| drowning = ; [[Skill bar|Слот]]:[[List of drowning skills|Утопление]]{{#set:Has skill context=Drowning}}
Строка 279: Строка 287:
 
| special action = ; [[Skill bar|Слот]]:[[Special action skill|Особое действие]]{{#set:Has skill context=Special action}}
 
| special action = ; [[Skill bar|Слот]]:[[Special action skill|Особое действие]]{{#set:Has skill context=Special action}}
 
| toy = ; [[Toy|Игрушка]]:{{#if:{{{toy|}}}|{{#arraymap:{{{toy}}}|,|@@@|[[@@@]]}}|}}
 
| toy = ; [[Toy|Игрушка]]:{{#if:{{{toy|}}}|{{#arraymap:{{{toy}}}|,|@@@|[[@@@]]}}|}}
| tonic = ; Тип :[[Tonic|Тоник]]
+
| tonic = ; [[Tonic|Тоник]]:{{#arraymap: {{{tonic|}}} |,|@@@| {{#set: Is for tonic={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set: Has skill context=Tonic}}
 
| trait = ; [[Trait|Черта]]:{{#if: {{{trait|}}} | {{trait icon|{{{trait}}}|size=20}} }}{{#set:Has skill context=Trait}}{{#set:Has trait parent={{{trait}}}}}
 
| trait = ; [[Trait|Черта]]:{{#if: {{{trait|}}} | {{trait icon|{{{trait}}}|size=20}} }}{{#set:Has skill context=Trait}}{{#set:Has trait parent={{{trait}}}}}
 
}}<!-- end switch slot
 
}}<!-- end switch slot
Строка 327: Строка 335:
 
</div>
 
</div>
 
{{clear}}
 
{{clear}}
</div><!--
+
</div><!-- SMW PROPERTIES
 +
-->{{#if:
 +
 +
<!-- Chain and Stealth attacks -->
 +
{{#if: {{{chain1|}}}
 +
| {{#ifeq: {{{chain1|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=1}} }}
 +
  {{#ifeq: {{{chain2|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=2}} }}
 +
  {{#ifeq: {{{chain3|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=3}} }}
 +
  {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} }}
 +
| {{#switch: {{lc:{{{type|}}}}}
 +
    | stealth attack | ambush = {{#set: Has chain sequence position=5}}
 +
    | #default = {{#set: Has chain sequence position=0}}
 +
  }}
 +
}}
 +
<!-- Underwater useability -->
 +
{{#if: {{{uw-replaced-by|}}}
 +
| {{#set:Is usable underwater=Land only}}
 +
| {{#if: {{{uw-replaces|}}}
 +
    | {{#set:Is usable underwater=Underwater only}}
 +
    | {{#set:Is usable underwater=Land and Underwater}}
 +
  }}
 +
}}
 +
 
 +
}}<!--
 
AUTOCATEGORIZATION
 
AUTOCATEGORIZATION
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
Строка 336: Строка 367:
 
{{#if: {{{name}}} || [[Category:Unnamed skills]] }}
 
{{#if: {{{name}}} || [[Category:Unnamed skills]] }}
 
{{#if: {{{icon|}}} || {{#ifexist:File:{{#replace:{{PAGENAME}}|:|-}}.png || [[Category:Skills missing icon]] }} }}
 
{{#if: {{{icon|}}} || {{#ifexist:File:{{#replace:{{PAGENAME}}|:|-}}.png || [[Category:Skills missing icon]] }} }}
{{#if: {{{specialization|}}}
+
<!-- Activity -->
| [[Category:{{ucfirst:{{{specialization|}}}}} skills]]
+
{{#if: {{{activity|}}}
| [[Category:{{ucfirst:{{#var:profession}}}} skills]]
+
| {{ #switch: {{lc:{{{activity|}}}}}
 +
  | costume
 +
  | costume brawl = [[Category:Costume Brawl skills]]
 +
  | #default = [[Category:{{ucfirst:{{{activity|}}}}} skills]]
 +
  }}
 
}}
 
}}
{{#if: {{{race|}}}
+
<!-- Activation type -->
  | [[Category:{{ucfirst:{{{race|}}}}} skills]]
+
{{#switch: {{lc:{{{activ-type}}}}}  
 +
  | chain = [[Category:Chain skills]]
 +
| channeled = [[Category:Channeled skills]]
 +
| charge = [[Category:Charge skills]]
 
}}
 
}}
<!---Attunement-->
+
<!-- Attunement -->
 
{{#if: {{{attunement|}}}
 
{{#if: {{{attunement|}}}
 
  | {{#arraymap:{{{attunement}}}|,|@@@|
 
  | {{#arraymap:{{{attunement}}}|,|@@@|
Строка 354: Строка 392:
 
   |&#32;}}{{#if:{{#explode:{{{attunement}}}|,|1}}|[[Category:Dual Attack skills]]|}}
 
   |&#32;}}{{#if:{{#explode:{{{attunement}}}|,|1}}|[[Category:Dual Attack skills]]|}}
 
}}
 
}}
<!--Activity-->
+
<!-- Ground targeting -->
{{#if: {{{activity|}}}
+
{{#if: {{{ground-target|}}}
  | {{ #switch: {{lc:{{{activity|}}}}}
+
  | [[Category:Ground-targeted skills]]
  | costume
+
}}
  | costume brawl = [[Category:Costume Brawl skills]]
+
<!-- Race -->
  | #default = [[Category:{{ucfirst:{{{activity|}}}}} skills]]
+
{{#if: {{{race|}}}
  }}
+
| [[Category:{{ucfirst:{{{race|}}}}} skills]]
 +
}}
 +
<!-- Slot -->
 +
{{#switch: {{lc:{{{slot|}}}}}
 +
| healing = [[Category:Healing skills]]
 +
| elite = [[Category:Elite skills]]
 +
| utility = [[Category:Utility skills]]  
 +
| bundle = [[Category:Bundle skills]]
 +
| downed = [[Category:Downed skills]]
 +
| drowning = [[Category:Drowning skills]]
 +
| downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]]
 +
| monster = [[Category:Monster skills]]
 +
| pet = [[Category:Pet skills]]
 +
| mechanic = [[Category:Profession mechanics]]
 +
| special
 +
| special action = [[Category:Special action skills]]
 +
| toy = {{#if: {{#pos:{{{toy}}}|,}} | [[Category:Toy skills]] | [[Category:{{{toy|}}} skills]] }}
 +
| tonic = [[Category:Tonic skills]]
 +
| engineering kit = [[Category:{{{kit|}}} skills]]
 
}}
 
}}
<!---Weapon--->
+
<!-- Specialization -->
{{#if: {{{mainhand|}}}
+
{{#if: {{{specialization|}}}
| {{#switch: {{lc:{{{mainhand}}}}}
+
| [[Category:{{ucfirst:{{{specialization|}}}}} skills]]
  | scepter = [[Category:Scepter skills]]
+
| [[Category:{{ucfirst:{{#var:profession}}}} skills]]
  | #default = [[Category:Main-hand {{lc:{{{mainhand}}}}} skills]]
 
  }}
 
 
}}
 
}}
{{#if: {{{offhand|}}}
+
<!-- Split Skills -->
  | {{#switch: {{lc:{{{offhand}}}}}
+
{{#if: {{{split|}}}
  | none | empty =
+
  | [[Category:Split skills]]
  | focus
 
  | shield
 
  | torch
 
  | warhorn = [[Category:{{ucfirst:{{{offhand}}}}} skills]]
 
  | #default = [[Category:Off-hand {{lc:{{{offhand}}}}} skills]]
 
  }}
 
 
}}
 
}}
{{#if: {{{twohand|}}}
+
<!-- Transform slot -->
| {{#switch: {{{slot|}}}
+
{{#if: {{{parent|}}} |
  | weapon = [[Category:{{ucfirst:{{{twohand}}}}} skills]]
+
  {{#ifeq: {{lc:{{{slot|}}}}} | transform | [[Category:{{ucfirst:{{{parent|}}}}} skills]] }}
  }}
 
 
}}
 
}}
{{#if: {{{mechanic weapon|}}} | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] }}
+
<!-- Type -->
<!---Type--->
 
 
{{#arraymap:{{{type|}}}|,|@@@|{{#switch:{{lc:@@@}}
 
{{#arraymap:{{{type|}}}|,|@@@|{{#switch:{{lc:@@@}}
 
  | ambush = [[Category:Ambush skills]]
 
  | ambush = [[Category:Ambush skills]]
Строка 455: Строка 501:
 
  | well = [[Category:Well skills]]
 
  | well = [[Category:Well skills]]
 
}}|}}
 
}}|}}
<!---Slot--->
+
<!-- Weapon -->
{{#switch: {{lc:{{{slot|}}}}}
+
{{#if: {{{mainhand|}}}
| healing = [[Category:Healing skills]]
+
  | {{#switch: {{lc:{{{mainhand}}}}}
| elite = [[Category:Elite skills]]
+
  | scepter = [[Category:Scepter skills]]
| utility = [[Category:Utility skills]]
+
  | #default = [[Category:Main-hand {{lc:{{{mainhand}}}}} skills]]
| bundle = [[Category:Bundle skills]]
+
  }}
| downed = [[Category:Downed skills]]
 
| drowning = [[Category:Drowning skills]]
 
  | downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]]
 
| monster = [[Category:Monster skills]]
 
| pet = [[Category:Pet skills]]
 
| mechanic = [[Category:Profession mechanics]]
 
| special
 
| special action = [[Category:Special action skills]]
 
| toy = {{#if: {{#pos:{{{toy}}}|,}} | [[Category:Toy skills]] | [[Category:{{{toy|}}} skills]] }}
 
| tonic = [[Category:Tonic skills]]
 
| engineering kit = [[Category:{{{kit|}}} skills]]
 
 
}}
 
}}
<!---Ground targeting--->
+
{{#if: {{{offhand|}}}
{{#if: {{{ground-target|}}}
+
  | {{#switch: {{lc:{{{offhand}}}}}
  | [[Category:Ground-targeted skills]]
+
  | none | empty =
 +
  | focus
 +
  | shield
 +
  | torch
 +
  | warhorn = [[Category:{{ucfirst:{{{offhand}}}}} skills]]
 +
  | #default = [[Category:Off-hand {{lc:{{{offhand}}}}} skills]]
 +
  }}
 
}}
 
}}
<!---Split Skills-->
+
{{#if: {{{twohand|}}}
{{#if: {{{split|}}}
+
  | {{#switch: {{{slot|}}}
  | [[Category:Split skills]]
+
   | weapon = [[Category:{{ucfirst:{{{twohand}}}}} skills]]
}}
+
  }}
<!--Chain-->
 
{{#if: {{{chain1|}}}
 
| {{#ifeq: {{{chain1|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=1}} }}
 
  {{#ifeq: {{{chain2|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=2}} }}
 
  {{#ifeq: {{{chain3|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=3}} }}
 
   {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} }}
 
}}
 
<!---Transform slot-->
 
{{#if: {{{parent|}}} |
 
  {{#ifeq: {{lc:{{{slot|}}}}} | transform | [[Category:{{ucfirst:{{{parent|}}}}} skills]] }}
 
 
}}
 
}}
<!---Activation type-->
+
{{#if: {{{mechanic weapon|}}}
{{#switch: {{lc:{{{activ-type}}}}}  
+
  | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]]
  | chain = [[Category:Chain skills]]
 
| channeled = [[Category:Channeled skills]]
 
| charge = [[Category:Charge skills]]
 
 
}}
 
}}
 
}}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw-replaced-by}}}]]''}}{{#if:{{{uw-replaces|}}}|:[[File:Underwater.png|x20px]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}
 
}}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw-replaced-by}}}]]''}}{{#if:{{{uw-replaces|}}}|:[[File:Underwater.png|x20px]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}
Строка 521: Строка 549:
 
| energy =  
 
| energy =  
 
| upkeep =  
 
| upkeep =  
 +
| health cost =
 
| recharge =  
 
| recharge =  
 
| profession =  
 
| profession =  
Строка 529: Строка 558:
 
| twohand =  
 
| twohand =  
 
| bundle =  
 
| bundle =  
 +
| tonic =
 
| mechanic weapon =
 
| mechanic weapon =
 
| tool belt =
 
| tool belt =
Строка 554: Строка 584:
 
| energy-pvp =  
 
| energy-pvp =  
 
| upkeep-pvp =  
 
| upkeep-pvp =  
 +
| health cost-pvp =
 
| recharge-pvp =  
 
| recharge-pvp =  
  
Строка 559: Строка 590:
 
| energy-wvw =  
 
| energy-wvw =  
 
| upkeep-wvw =  
 
| upkeep-wvw =  
 +
| health cost-wvw =
 
| recharge-wvw =  
 
| recharge-wvw =  
 
}}</pre>
 
}}</pre>
Строка 585: Строка 617:
 
;upkeep
 
;upkeep
 
: Energy upkeep cost.
 
: Energy upkeep cost.
 +
;health cost
 +
: Health cost.
 
;recharge
 
;recharge
 
: Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set [[Property:Has recharge time]].
 
: Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set [[Property:Has recharge time]].
Строка 618: Строка 652:
 
: Weapon held in both hands.
 
: Weapon held in both hands.
 
;bundle
 
;bundle
: Bundles.
+
: Bundles that grant the skill.
 +
;tonic
 +
: Tonics that grant the skill.
 
;mechanic weapon
 
;mechanic weapon
 
: Weapon related to a certain profession mechanic.
 
: Weapon related to a certain profession mechanic.

Версия 08:49, 11 декабря 2019

Description

{{Skill infobox
| name = 
| icon = 
| description = 
| description type =
| split = 
| facts = 
| activation = 
| initiative = 
| energy = 
| upkeep = 
| health cost = 
| recharge = 
| profession = 
| race = 
| slot = 
| mainhand = 
| offhand = 
| twohand = 
| bundle = 
| tonic = 
| mechanic weapon =
| tool belt =
| attunement = 
| activity =
| kit =
| pet = 
| pet-family = 
| monster =
| parent =
| uw-replaced-by =
| uw-replaces =
| type = 
| activ-type = 
| chain1 = 
| chain2 = 
| chain3 = 
| weapon-slot = 
| mechanic-slot =
| hero points =
| ground-target =
| id = 

| initiative-pvp = 
| energy-pvp = 
| upkeep-pvp = 
| health cost-pvp = 
| recharge-pvp = 

| initiative-wvw = 
| energy-wvw = 
| upkeep-wvw = 
| health cost-wvw = 
| recharge-wvw = 
}}

Parameters

All parameters are optional.

name
Skill name. Defaults to the page name if skipped; displays (unnamed skill) if included but left blank.
icon
Skill icon to show. If not explicitly stated, displays File:<name>.png; if it was not found, shows Skill.png instead.
description
Skill description.
description type
Optional. Skill description type. On default the parameter type is used. Setting to "none" disables the skill description type.
split
Game modes that this skill applies to. See {{Game mode version}}. Calls {{Skill infobox/subobject}} for each game mode beside PvE to create subobjects.
To set initiative, energy, upkeep and recharge for a specific game mode: use the -wvw and -pvp parameters to set it. If the split is PvE | WvW + PvP, set only one of these parameters for the wvw+pvp version.
facts
The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{skill fact}} template.
activation
Activation time. Enter as a decimal, e.g. 1.25.
initiative
Initiative cost.
energy
Energy cost.
upkeep
Energy upkeep cost.
health cost
Health cost.
recharge
Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set Property:Has recharge time.
profession
Profession that uses the skill. Required if the specialization is set too.
specialization
Specialization required to use skill.
race
Race that uses the skill.
slot
Skill slot occupied by the skill:
weapon: Weapon skill.
bundle: Bundle weapon skill.
healing: Healing skill.
utility: Utility skill.
elite: Elite skill.
downed: Downed skill.
drowning: Drowning skill.
downed and drowning: Both downed and drowning skill.
transform: Transform skill.
pet: Pet skill.
mechanic: Profession specific ability.
monster: Monster skill.
toy: Skills provided by toys.
tonic: Skills provided by tonics.
trait: Skills provided by traits. Also use the trait parameter to link to the trait.
...otherwise direct input.
mainhand
Weapon held in the main hand.
offhand
Weapon held in the off-hand.
twohand
Weapon held in both hands.
bundle
Bundles that grant the skill.
tonic
Tonics that grant the skill.
mechanic weapon
Weapon related to a certain profession mechanic.
tool belt
The associated tool belt skill.
attunement
Attunement for elementalist's weapon skills.
activity
The activity in which the skill is available.
kit
The engineering kit that provides the skill.
pet
Pet species name (e.g. Jaguar), for skills unique to a specific pet. Do not include the "Juvenile" prefix, the template handles that internally.
pet-family
Pet family name (e.g. Feline), for skills common to that family.
archetype
Pet archetype, for skills that require a that archetype.
monster
The monster or monster type that uses this skill. Multiple monsters can be specified with semi-colons.
parent
Parent skill — the skill which gives access to this skill.
uw-replaced-by
For skills that are not usable underwater.
If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
If the skill is not usable underwater and does not have a replacment, input none.
uw-replaces
For underwater skills that replace a normal skill, name of the skill it replaces.
type
Skill type, such as signet.
activ-type
Activation type:
chain: Chain skill.
channeled or hold: Channeled skill.
charge: Charge skill.
chain1 .. chain4
Skill sequence. Set with the names of the skills in the chain.
weapon-slot
Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
mechanic-slot
Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar.
hero points
Slot skills only. Used to indicate how many hero points required to unlock the skill.
ground-target
Whether the skill has ground targeting or not. Parameter expects type of ground targeting, but providing anything will automatically display Ground target aim.png to the rightmost of upper properties.
id
The skill's internal ID. Generates a game link in the infobox.
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 skill. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
status notes
Optional. Allows provision of additional reason for the given status.
status date
Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
requires
Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.

Examples

{{Skill infobox
| icon = Skill.png
| description = This is an example.
| activation = 1.5
| recharge = 45
| facts = {{skill fact|bleeding|5}}
| profession = elementalist
| specialization = tempest
| slot = Weapon
| twohand = staff
| attunement = fire
| weapon-slot = 5
| ground-target = circle
| id = 12345
}}

This is an example.

Bleeding.png Кровотечение (5 сек): 110 урона.

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