Редактирование: Шаблон:Skill infobox
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 14: | Строка 14: | ||
| race,profession | | race,profession | ||
| profession,racial <!-- dual supertype for engineer tool belt skills based on racial slot skills --> | | profession,racial <!-- dual supertype for engineer tool belt skills based on racial slot skills --> | ||
− | | racial,profession = {{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession | + | | racial,profession = {{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession+Racial}} |
| <!-- not set --> = <!-- if monster --> | | <!-- not set --> = <!-- if monster --> | ||
{{#if: {{{monster|}}} | {{#if: {{{monster|}}} | ||
Строка 28: | Строка 28: | ||
| elementalist | | elementalist | ||
| mesmer <!-- else if race for profession --> | | mesmer <!-- else if race for profession --> | ||
− | | necromancer = {{#if: {{{race|}}} |{{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession | + | | necromancer = {{#if: {{{race|}}} |{{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession+Racial}} |
<!-- profession -->|{{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} }} | <!-- profession -->|{{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} }} | ||
| common <!-- else if race for common or empty profession --> | | common <!-- else if race for common or empty profession --> | ||
Строка 40: | Строка 40: | ||
{{#switch: {{#var:supertype}} | {{#switch: {{#var:supertype}} | ||
| Profession | | Profession | ||
− | | Profession | + | | Profession+Racial = {{#set: |
| Is for profession ={{ucfirst:{{{profession}}}}} | | Is for profession ={{ucfirst:{{{profession}}}}} | ||
− | | Has profession sort order = | + | | Has profession sort order ={{#switch: {{lc:{{{profession}}}}} |
| guardian = 1 | | guardian = 1 | ||
| revenant = 2 | | revenant = 2 | ||
Строка 52: | Строка 52: | ||
| mesmer = 8 | | mesmer = 8 | ||
| necromancer = 9 | | necromancer = 9 | ||
− | + | }} | |
− | | Has specialization sort order = | + | | Has specialization sort order ={{#switch: {{lc:{{{specialization|}}}}} |
| dragonhunter | | dragonhunter | ||
| herald | | herald | ||
Строка 72: | Строка 72: | ||
| mirage | | mirage | ||
| scourge = 2 <!-- PoF --> | | scourge = 2 <!-- PoF --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| #default = 0 <!-- Core --> | | #default = 0 <!-- Core --> | ||
− | + | }} | |
− | + | | Has attunement sort order ={{#switch: {{lc:{{{slot|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | Has attunement sort order = | ||
| utility = 0 <!-- set it to 0 for glyph skills, due to the sort property position it would sort 1) all the main glyph skills and 2) then all fire attunement 3) water 4) air 5) earth --> | | utility = 0 <!-- set it to 0 for glyph skills, due to the sort property position it would sort 1) all the main glyph skills and 2) then all fire attunement 3) water 4) air 5) earth --> | ||
| #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }} | | #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }} | ||
− | | fire | + | | fire = 1 |
| water = 2 | | water = 2 | ||
− | | air | + | | air = 3 |
| earth = 4 | | earth = 4 | ||
| fire,water | | fire,water | ||
Строка 163: | Строка 94: | ||
| #default = 0 | | #default = 0 | ||
}} | }} | ||
− | + | }} | |
− | | Has skill context sort order = | + | | Has skill context sort order ={{#switch: {{lc:{{{slot|}}}}} |
| weapon = 1 | | weapon = 1 | ||
| engineering kit | | engineering kit | ||
Строка 179: | Строка 110: | ||
| trait = 11 | | trait = 11 | ||
| #default = 12 | | #default = 12 | ||
− | + | }} | |
− | | Has skill slot sort order = | + | | Has skill slot sort order ={{#switch: {{lc:{{{slot|}}}}} |
| pet | | pet | ||
− | | mechanic = {{#if: | + | | mechanic = {{#if:{{{mechanic-slot|}}}|{{#expr:{{{mechanic-slot}}}-6}}|0}} <!-- storing F1,..,F5 as -5,...,-1, allowing to sort it before weapon slots, e.g. burst skills --> |
− | | #default = {{#if: | + | | #default = {{#if:{{{weapon-slot|}}}|{{{weapon-slot}}}|0}} <!-- on default use weapon-slot, else set to 0 --> |
− | + | }} | |
− | | Has skill type sort order = | + | | Has skill type sort order ={{#if: {{{sort type|}}} <!-- if sort type --> |
| {{#arraymap: {{lc:{{{sort type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | | {{#arraymap: {{lc:{{{sort type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
| tool belt | | tool belt | ||
Строка 205: | Строка 136: | ||
}} | }} | ||
}} | }} | ||
− | }}}}| | + | }}|+sep=, |
+ | | Has weapon type sort order ={{#switch: {{lc:{{{slot|}}}}} | ||
+ | | weapon | ||
+ | | mechanic = {{#switch: {{lc:{{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{mechanic weapon|}}}}} | ||
+ | | axe = 1 | ||
+ | | dagger = 2 | ||
+ | | mace = 3 | ||
+ | | pistol = 4 | ||
+ | | scepter = 5 | ||
+ | | sword = 6 | ||
+ | | focus = 7 | ||
+ | | warhorn = 8 | ||
+ | | torch = 9 | ||
+ | | shield = 10 | ||
+ | | greatsword = 11 | ||
+ | | hammer = 12 | ||
+ | | longbow = 13 | ||
+ | | rifle = 14 | ||
+ | | short bow = 15 | ||
+ | | staff = 16 | ||
+ | | spear = 17 | ||
+ | | harpoon gun = 18 | ||
+ | | trident = 19 | ||
+ | | #default = 100 <!-- non-weapon related profession mechanic skills --> | ||
+ | }} | ||
+ | | engineering kit | ||
+ | | bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}} | ||
+ | | tome of justice = 20 | ||
+ | | tome of courage = 21 | ||
+ | | tome of resolve = 22 | ||
+ | | med kit = 23 | ||
+ | | bomb kit = 24 | ||
+ | | elixir gun = 25 | ||
+ | | flamethrower = 26 | ||
+ | | grenade kit = 27 | ||
+ | | tool kit = 28 | ||
+ | | elite mortar kit = 29 | ||
+ | | conjured flame = 30 | ||
+ | | frost bow = 31 | ||
+ | | lightning hammer = 32 | ||
+ | | magnetic shield (bundle) = 33 | ||
+ | | fiery greatsword = 34 | ||
+ | | #default = 100 <!-- historical, etc... --> | ||
+ | }} | ||
+ | | transform = {{#switch: {{lc:{{{parent|}}}}} | ||
+ | | rampage = 40 | ||
+ | | engage photon forge = 41 | ||
+ | | celestial avatar = 42 | ||
+ | | tornado = 43 | ||
+ | | whirlpool = 44 | ||
+ | | death shroud = 45 | ||
+ | | lich form = 46 | ||
+ | | reaper's shroud = 47 | ||
+ | | #default = 100 <!-- historical, etc... --> | ||
+ | }} | ||
+ | | #default = 100 <!-- default value --> | ||
+ | }} | ||
+ | | Has skill sort order ={{#if: {{{sort|}}} | ||
+ | | {{ucfirst:{{{sort|}}}}} | ||
+ | | {{#if: {{{chain1|}}} | ||
+ | | {{ucfirst:{{{chain1|}}}}} | ||
+ | | {{PAGENAME}} | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Chain and Stealth attacks --> | <!-- Chain and Stealth attacks --> | ||
Строка 225: | Строка 210: | ||
{{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} {{#vardefine:chain sequence position|4}} }} | {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} {{#vardefine:chain sequence position|4}} }} | ||
| {{#switch: {{lc:{{{type|}}}}} | | {{#switch: {{lc:{{{type|}}}}} | ||
− | | stealth attack | | + | | stealth attack | ambush = {{#set: Has chain sequence position=5}} |
| #default = {{#set: Has chain sequence position=0}} | | #default = {{#set: Has chain sequence position=0}} | ||
}} | }} | ||
Строка 231: | Строка 216: | ||
<!-- Underwater useability --> | <!-- Underwater useability --> | ||
− | + | {{#if: {{{uw-replaced-by|}}} | |
− | + | | {{#set:Is usable underwater=Land only}} | |
− | + | | {{#if: {{{uw-replaces|}}} | |
− | + | | {{#set:Is usable underwater=Underwater only}} | |
− | + | | {{#switch: {{lc:{{{slot|}}}}} | |
− | + | | weapon = {{#switch: {{lc:{{{twohand |}}}}} | harpoon gun | spear | trident = {{#set:Is usable underwater=Underwater only}} | #default = {{#set:Is usable underwater=Land only}} }} | |
− | + | | mechanic = {{#switch: {{lc:{{{mechanic weapon|}}}}} | harpoon gun | spear | trident = {{#set:Is usable underwater=Underwater only}} | #default = {{#set:Is usable underwater=Land only}} | |
− | + | | <!-- empty --> = {{#set:Is usable underwater=Land and Underwater}} | |
− | + | }} | |
− | + | | #default = {{#set:Is usable underwater=Land and Underwater}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Строка 277: | Строка 251: | ||
{{#switch: {{#var:supertype}} | {{#switch: {{#var:supertype}} | ||
| Profession = | | Profession = | ||
− | {{#ifeq: {{lc: | + | {{#ifeq: {{lc:{{{activ-type|}}}{{{weapon-slot|}}}}}|chain1 <!-- if activation type "Chain" in weapon slot "1" --> |
| {{#if: {{#var:chain sequence position}} | | {{#if: {{#var:chain sequence position}} | ||
− | | {{#switch: {{lc:{{{profession|}}} {{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{bundle|{{{parent| | + | | {{#switch: {{lc:{{{profession|}}} {{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{bundle|}}}{{{parent|}}}}} |
| #default = {{#ifexpr: 0 < {{#var:chain sequence position}} AND {{#var:chain sequence position}} < 3 | {{#vardefine:description chain|{{skill type|Chain}}}}}} <!-- only the first skill descriptions display "Chain." --> | | #default = {{#ifexpr: 0 < {{#var:chain sequence position}} AND {{#var:chain sequence position}} < 3 | {{#vardefine:description chain|{{skill type|Chain}}}}}} <!-- only the first skill descriptions display "Chain." --> | ||
| warrior dagger | | warrior dagger | ||
− | |||
| engineer hammer | | engineer hammer | ||
| necromancer greatsword | | necromancer greatsword | ||
Строка 293: | Строка 266: | ||
| revenant staff | | revenant staff | ||
| revenant sword | | revenant sword | ||
− | |||
| warrior rampage | | warrior rampage | ||
| engineer sword | | engineer sword | ||
Строка 319: | Строка 291: | ||
| ambush = Ambush | | ambush = Ambush | ||
| arcane = Arcane | | arcane = Arcane | ||
− | |||
− | |||
| banner = Banner | | banner = Banner | ||
| beast = Beast | | beast = Beast | ||
− | |||
| burst | | burst | ||
| burst skill = Burst | | burst skill = Burst | ||
Строка 357: | Строка 326: | ||
| legendary dwarf = Legendary Dwarf | | legendary dwarf = Legendary Dwarf | ||
| legendary renegade = Legendary Renegade | | legendary renegade = Legendary Renegade | ||
− | |||
| manipulation = Manipulation | | manipulation = Manipulation | ||
− | | mantra = Mantra | + | | mantra = {{#ifeq: {{#show: {{PAGENAME}} | ?Has chain sequence position | default = -1 }} | 2 | <!--display nothing--> | Mantra }} |
| mark = Mark | | mark = Mark | ||
− | |||
| meditation = Meditation | | meditation = Meditation | ||
| minion = Minion | | minion = Minion | ||
Строка 369: | Строка 336: | ||
| preparation = Preparation | | preparation = Preparation | ||
| primal burst = Primal Burst | | primal burst = Primal Burst | ||
− | |||
| punishment = Punishment | | punishment = Punishment | ||
| rage = Rage | | rage = Rage | ||
Строка 392: | Строка 358: | ||
| trick = Trick | | trick = Trick | ||
| turret = Turret | | turret = Turret | ||
− | |||
| venom = Venom | | venom = Venom | ||
| virtue = <!-- manually: Virtue:/Activate: --> | | virtue = <!-- manually: Virtue:/Activate: --> | ||
Строка 398: | Строка 363: | ||
| well = Well | | well = Well | ||
}}}}|}} | }}}}|}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Строка 414: | Строка 374: | ||
| icon = {{{icon|}}} | | icon = {{{icon|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
− | |||
− | |||
− | |||
| initiative = {{{initiative|}}} | | initiative = {{{initiative|}}} | ||
− | | initiative wvw = | + | | initiative-wvw = {{{initiative-wvw|}}} |
− | | initiative pvp = | + | | initiative-pvp = {{{initiative-pvp|}}} |
| activation = {{#replace:{{{activation|}}}|.|,}} | | activation = {{#replace:{{{activation|}}}|.|,}} | ||
| energy = {{{energy|}}} | | energy = {{{energy|}}} | ||
− | | energy wvw = | + | | energy-wvw = {{{energy-wvw|}}} |
− | | energy pvp = | + | | energy-pvp = {{{energy-pvp|}}} |
| upkeep = {{{upkeep|}}} | | upkeep = {{{upkeep|}}} | ||
− | | upkeep wvw = | + | | upkeep-wvw = {{{upkeep-wvw|}}} |
− | | upkeep pvp = | + | | upkeep-pvp = {{{upkeep-pvp|}}} |
| health cost = {{{health cost|}}} | | health cost = {{{health cost|}}} | ||
− | | health cost wvw = | + | | health cost-wvw = {{{health cost-wvw|}}} |
− | | health cost pvp = | + | | health cost-pvp = {{{health cost-pvp|}}} |
− | + | | recharge = {{{recharge|}}} | |
− | + | | recharge-wvw = {{{recharge-wvw|}}} | |
− | + | | recharge-pvp = {{{recharge-pvp|}}} | |
− | | recharge = | + | | ground-target = {{{ground-target|}}} |
− | | recharge wvw = | ||
− | | recharge pvp = | ||
− | | ground target = | ||
| specialization = {{{specialization|}}} | | specialization = {{{specialization|}}} | ||
| race = {{{race|}}} | | race = {{{race|}}} | ||
| pet = {{{pet|}}} | | pet = {{{pet|}}} | ||
− | | pet family = | + | | pet-family = {{{pet-family|}}} |
| parent = {{{parent|}}} | | parent = {{{parent|}}} | ||
| slot = {{{slot|}}} | | slot = {{{slot|}}} | ||
Строка 449: | Строка 403: | ||
| twohand = {{{twohand|}}} | | twohand = {{{twohand|}}} | ||
| mechanic weapon = {{{mechanic weapon|}}} | | mechanic weapon = {{{mechanic weapon|}}} | ||
− | |||
| bundle = {{{bundle|}}} | | bundle = {{{bundle|}}} | ||
| kit = {{{kit|}}} | | kit = {{{kit|}}} | ||
Строка 455: | Строка 408: | ||
| sort type = {{{sort type|}}} | | sort type = {{{sort type|}}} | ||
| sort = {{{sort|}}} | | sort = {{{sort|}}} | ||
− | | | + | | activ-type = {{{activ-type|}}} |
| movement type = {{{movement type|}}} | | movement type = {{{movement type|}}} | ||
− | | weapon slot = | + | | weapon-slot = {{{weapon-slot|}}} |
− | | mechanic slot = | + | | mechanic-slot = {{{mechanic-slot|}}} |
| attunement = {{{attunement|}}} | | attunement = {{{attunement|}}} | ||
| archetype = {{{archetype|}}} | | archetype = {{{archetype|}}} | ||
Строка 465: | Строка 418: | ||
| chain3 = {{{chain3|}}} | | chain3 = {{{chain3|}}} | ||
| chain4 = {{{chain4|}}} | | chain4 = {{{chain4|}}} | ||
− | | uw replaced by = | + | | uw-replaced-by = {{{uw-replaced-by|}}} |
− | | uw replaces = | + | | uw-replaces = {{{uw-replaces|}}} |
| id = {{{id|}}} | | id = {{{id|}}} | ||
− | |||
| other ids = {{{other ids|}}} | | other ids = {{{other ids|}}} | ||
| description = {{#var:description chain}}{{#var:description type}}{{{description|}}} | | description = {{#var:description chain}}{{#var:description type}}{{{description|}}} | ||
Строка 474: | Строка 426: | ||
| variables = {{{facts|{{{variables|}}}}}} | | variables = {{{facts|{{{variables|}}}}}} | ||
| status = {{{status|}}} | | status = {{{status|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {{#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}} }} |
− | | {{#switch: {{#var:supertype}} | Profession | + | | {{#switch: {{#var:supertype}} | Profession | Profession+Racial = {{#set:Is for game mode =Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". --> |
}} | }} | ||
Строка 493: | Строка 437: | ||
<div class="icon skill-infobox-icon"><div style="overflow: hidden; width: 36px; height: 36px; display:inline-block; vertical-align:middle;"><div style="margin: -6px; overflow: hidden;">[[Has game icon::File:{{{icon|{{#replace:{{BASEPAGENAME}}|:|-}}.png}}}|48x48px]]</div></div>{{ifimage|{{PAGENAME}} animation.gif|<p>[[:File:{{PAGENAME}} animation.gif|Анимация]]</p>}}</div> | <div class="icon skill-infobox-icon"><div style="overflow: hidden; width: 36px; height: 36px; display:inline-block; vertical-align:middle;"><div style="margin: -6px; overflow: hidden;">[[Has game icon::File:{{{icon|{{#replace:{{BASEPAGENAME}}|:|-}}.png}}}|48x48px]]</div></div>{{ifimage|{{PAGENAME}} animation.gif|<p>[[:File:{{PAGENAME}} animation.gif|Анимация]]</p>}}</div> | ||
<p class="heading">[[Has canonical name::{{#if:{{{name}}}|{{{name|{{#titleparts:{{PAGENAME}}}}}}}|(unnamed skill)}}]]</p> | <p class="heading">[[Has canonical name::{{#if:{{{name}}}|{{{name|{{#titleparts:{{PAGENAME}}}}}}}|(unnamed skill)}}]]</p> | ||
− | <div class="statistics">{{#if: | + | <div class="statistics"> |
+ | {{#if: {{{ground-target|}}} | ||
| [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] {{#set:Is ground targeted=Y}} | | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] {{#set:Is ground targeted=Y}} | ||
− | }}{{#if: | + | }}{{#if: {{{uw-replaced-by|}}} |
− | | [[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]] | + | | <span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> |
}}{{#ifeq: {{{activation|0}}} | 0 | }}{{#ifeq: {{{activation|0}}} | 0 | ||
| <!-- display nothing --> | | <!-- display nothing --> | ||
− | | {{#if: {{{activation|}}} | + | | {{#if: {{{activation|}}}{{{activation-pve|}}} |
− | | {{#set:Has activation time= | + | | {{#set:Has activation time={{{activation-pve|{{#replace:{{{activation}}}|.|,}}}}}}} |
− | {{#if: | + | {{#if: {{{activation-wvw|}}}{{{activation-pvp|}}} |
− | | {{infobox statistic split|stat=activation|{{{activation|}}}|pve= | + | | {{infobox statistic split|stat=activation|{{{activation|}}}|pve={{{activation-pve|}}}|wvw={{{activation-wvw|}}}|pvp={{{activation-pvp|}}}}} |
| {{activation|{{{activation}}}}} | | {{activation|{{{activation}}}}} | ||
}} | }} | ||
}} | }} | ||
− | }}{{#if: {{{energy|}}} | + | }}{{#if: {{{energy|}}}{{{energy-pve|}}} |
− | | {{#set:Has energy cost={{{energy-pve|{{{energy | + | | {{#set:Has energy cost={{{energy-pve|{{{energy}}}}}}}} |
− | {{#if: | + | {{#if: {{{energy-wvw|}}}{{{energy-pvp|}}} |
− | | {{infobox statistic split|stat=energy|{{{energy|}}}|pve= | + | | {{infobox statistic split|stat=energy|{{{energy|}}}|pve={{{energy-pve|}}}|wvw={{{energy-wvw|}}}|pvp={{{energy-pvp|}}}}} |
| {{energy|{{{energy}}}}} | | {{energy|{{{energy}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{upkeep|}}} | + | }}{{#if: {{{upkeep|}}}{{{upkeep-pve|}}} |
− | | {{#set:Has upkeep cost= | + | | {{#set:Has upkeep cost={{{upkeep-pve|{{{upkeep}}}}}}}} |
− | {{#if: | + | {{#if: {{{upkeep-wvw|}}}{{{upkeep-pvp|}}} |
− | | {{infobox statistic split|stat=upkeep|{{{upkeep|}}}|pve= | + | | {{infobox statistic split|stat=upkeep|{{{upkeep|}}}|pve={{{upkeep-pve|}}}|wvw={{{upkeep-wvw|}}}|pvp={{{upkeep-pvp|}}}}} |
| {{upkeep|{{{upkeep}}}}} | | {{upkeep|{{{upkeep}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{initiative|}}} | + | }}{{#if: {{{initiative|}}}{{{initiative-pve|}}} |
− | | {{#set:Has initiative cost = | + | | {{#set:Has initiative cost ={{{initiative-pve|{{{initiative}}}}}}}}<!-- |
− | -->{{#if: | + | -->{{#if: {{{initiative-wvw|}}}{{{initiative-pvp|}}} |
− | | {{infobox statistic split|stat=initiative|{{{initiative|}}}|pve= | + | | {{infobox statistic split|stat=initiative|{{{initiative|}}}|pve={{{initiative-pve|}}}|wvw={{{initiative-wvw|}}}|pvp={{{initiative-pvp|}}}}} |
| {{initiative|{{{initiative}}}}} | | {{initiative|{{{initiative}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{health cost|}}} | + | }}{{#if: {{{health cost|}}}{{{health cost-pve|}}} |
− | | {{#set:Has health cost= | + | | {{#set:Has health cost={{{health cost-pve|{{{health cost}}}}}}}} |
− | {{#if: | + | {{#if: {{{health cost-wvw|}}}{{{health cost-pvp|}}} |
− | | {{infobox statistic split|stat=health cost|{{{health cost|}}}|pve= | + | | {{infobox statistic split|stat=health cost|{{{health cost|}}}|pve={{{health cost-pve|}}}|wvw={{{health cost-wvw|}}}|pvp={{{health cost-pvp|}}}}} |
| {{health cost|{{{health cost}}}}} | | {{health cost|{{{health cost}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{ | + | }}{{#if: {{{recharge|}}}{{{recharge-pve|}}} |
− | + | | {{#set:Has recharge time={{{recharge-pve|{{#replace:{{{recharge}}}|.|,}}}}}}} | |
− | + | {{#if: {{{recharge-wvw|}}}{{{recharge-pvp|}}} | |
− | | {{#set:Has | + | | {{infobox statistic split|stat=recharge|{{{recharge|}}}|pve={{{recharge-pve|}}}|wvw={{{recharge-wvw|}}}|pvp={{{recharge-pvp|}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: | ||
− | | {{infobox statistic split|stat=recharge|{{{recharge|}}}|pve= | ||
| {{recharge|{{{recharge}}}}} | | {{recharge|{{{recharge}}}}} | ||
}} | }} | ||
− | }}</div> | + | }} |
+ | </div> | ||
<div class="wrapper">{{#switch: {{#var:supertype}} | <div class="wrapper">{{#switch: {{#var:supertype}} | ||
| Profession | | Profession | ||
− | | Profession | + | | Profession+Racial = |
; [[Profession|Профессия]] | ; [[Profession|Профессия]] | ||
: {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!-- | : {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!-- | ||
Строка 567: | Строка 505: | ||
; [[Pet|{{#if:{{#pos:{{{pet|}}}|,}}|Питомцы|Питомец}}]] | ; [[Pet|{{#if:{{#pos:{{{pet|}}}|,}}|Питомцы|Питомец}}]] | ||
: {{#arraymap: {{{pet}}} |,|@@@| [[Is for pet::Juvenile {{ucfirst:@@@}}|{{rus lang|pet|@@@}}]] |<br>}} | : {{#arraymap: {{{pet}}} |,|@@@| [[Is for pet::Juvenile {{ucfirst:@@@}}|{{rus lang|pet|@@@}}]] |<br>}} | ||
− | }}{{#if: | + | }}{{#if: {{{pet-family|}}} | |
; Сем. [[pet|питомца]] | ; Сем. [[pet|питомца]] | ||
− | : {{ | + | : [[Is for pet family::{{ucfirst:{{{pet-family|}}}}}|{{rus lang|pet family|{{{pet-family}}}}}]] |
− | |||
− | |||
− | |||
}}{{#if: {{{monster|}}} | | }}{{#if: {{{monster|}}} | | ||
; [[Bestiary|Монстр]] | ; [[Bestiary|Монстр]] | ||
− | : {{#arraymap: {{{monster}}} |;|@@@| | + | : {{#arraymap: {{{monster}}} |;|@@@| [[Is for monster::{{ucfirst:@@@}}]]|<br>}} |
}}{{#if: {{{parent|}}} | | }}{{#if: {{{parent|}}} | | ||
; Род. умение | ; Род. умение | ||
Строка 621: | Строка 556: | ||
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} | : {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} | ||
}} | }} | ||
− | | engineering kit = ; [[Engineering Kit| | + | | engineering kit = ; [[Engineering Kit|Инж. набор]]: {{skill icon|{{{kit}}}|size=20}} {{#set:Is for bundle={{{kit}}}|Has skill context=Bundle}} |
− | | bundle = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}} | + | | bundle = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=Bundle}} |
| healing = ; [[Skill bar|Слот]]: [[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}} | | healing = ; [[Skill bar|Слот]]: [[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}} | ||
| utility = ; [[Skill bar|Слот]]: [[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}} | | utility = ; [[Skill bar|Слот]]: [[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}} | ||
Строка 630: | Строка 565: | ||
| downed and drowning = ; [[Skill bar|Слот]]: [[List of downed skills|Повержен]] <br> [[List of drowning skills|Утопление]]{{#set:Has skill context=Downed,Drowning|+sep=,}} | | downed and drowning = ; [[Skill bar|Слот]]: [[List of downed skills|Повержен]] <br> [[List of drowning skills|Утопление]]{{#set:Has skill context=Downed,Drowning|+sep=,}} | ||
| transform = ; [[Skill bar|Слот]]: [[Transform|Преображение]]{{#set: Has skill context=Transform}} | | transform = ; [[Skill bar|Слот]]: [[Transform|Преображение]]{{#set: Has skill context=Transform}} | ||
− | | pet = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number= | + | | pet = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number={{{mechanic-slot|}}}}} |
− | + | | mechanic = ; [[Skill bar|Слот]]: [[Profession mechanic|Механика профессии]]{{#set:Has skill context=Profession mechanic}}{{#if: {{{mechanic weapon|}}}|; [[Weapon|Оружие]]: [[Is for weapon::{{ucfirst:{{{mechanic weapon|}}}}}|{{rus lang|weapon|{{{mechanic weapon}}}}}]]}}{{#set:Has profession mechanic slot number={{{mechanic-slot|}}}}} | |
− | | mechanic = ; [[Skill bar|Слот]]: [[Profession mechanic | ||
− | |||
− | |||
− | }}{{#if: {{{mechanic weapon|}}}| | ||
− | ; [[Weapon|Оружие]]: [[Is for weapon::{{ucfirst:{{{mechanic weapon|}}}}}|{{rus lang|weapon|{{{mechanic weapon}}}}}]] | ||
− | }} | ||
| special | | special | ||
| 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|Тоник]]: {{#arraymap: {{{tonic|}}} |,|@@@| {{#set: Is for tonic={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set: Has skill context=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|Has trait parent={{{trait}}}}} | | trait = ; [[Trait|Черта]]: {{#if: {{{trait|}}} | {{trait icon|{{{trait}}}|size=20}} }}{{#set:Has skill context=Trait|Has trait parent={{{trait}}}}} | ||
Строка 647: | Строка 576: | ||
-->{{#if: {{{activity|}}} | | -->{{#if: {{{activity|}}} | | ||
; [[Activity|Мероприятие]] | ; [[Activity|Мероприятие]] | ||
− | : {{# | + | : {{#switch: {{lc:{{{activity|}}}}} |
| costume | | costume | ||
− | | costume brawl = [[Costume Brawl|Костюмированные Бои]] | + | | costume brawl = [[Costume Brawl|Костюмированные Бои]] |
− | | #default = [[{{ucfirst: | + | | #default = [[{{ucfirst:{{{activity|}}}}}]]{{#set:Has skill context=Activity|Is for activity={{ucfirst:{{{activity|}}}}}}} |
− | }} | + | }} |
− | }}{{#if: | + | }}{{#if: {{{weapon-slot|}}} |
− | | {{#set:Has skill slot number = | + | | {{#set:Has skill slot number ={{{weapon-slot}}}}} |
− | {{#ifexpr: | + | {{#ifexpr: {{{weapon-slot}}} > 0 and {{{weapon-slot}}} < 6 |
|; | |; | ||
− | : | + | : [[File:Weapon slot {{{weapon-slot}}} tango.png|65x20px|Оружейный слот {{{weapon-slot}}}|link=]] }} |
− | + | }}{{#if: {{{tool belt|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| {{#switch: {{{slot}}} | | {{#switch: {{{slot}}} | ||
| healing | | healing | ||
Строка 700: | Строка 607: | ||
| stolen skill = [[Has skill type::{{ucfirst:@@@}}|{{rus lang|skill type|@@@}}]] | | stolen skill = [[Has skill type::{{ucfirst:@@@}}|{{rus lang|skill type|@@@}}]] | ||
| #default = [[Has skill type::{{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}}|{{rus lang|skill type|@@@}}]] }}}} | | #default = [[Has skill type::{{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}}|{{rus lang|skill type|@@@}}]] }}}} | ||
− | }}{{#if: | + | }}{{#if: {{{activ-type|}}} | |
; [[Skill#Тип активации|Тип актив.]] | ; [[Skill#Тип активации|Тип актив.]] | ||
− | : {{#switch: {{lc: | + | : {{#switch: {{lc:{{{activ-type|}}}}} |
| chain = [[Chain|Цепочка]] {{#set:Has skill activation type=Chain}} | | chain = [[Chain|Цепочка]] {{#set:Has skill activation type=Chain}} | ||
| channeled | | channeled | ||
Строка 709: | Строка 616: | ||
| sequence = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}} | | sequence = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{#if: {{{movement type|}}} | | }}{{#if: {{{movement type|}}} | | ||
− | ; [[Movement| | + | ; [[Movement|Перемещение]] |
: {{#switch: {{lc:{{{movement type|}}}}} | : {{#switch: {{lc:{{{movement type|}}}}} | ||
| leap = [[Leap|Прыжок]] {{#set:Has skill movement type=Leap}} | | leap = [[Leap|Прыжок]] {{#set:Has skill movement type=Leap}} | ||
Строка 727: | Строка 624: | ||
| teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}} | | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}} | ||
}} | }} | ||
+ | }}{{#if: {{{chain1|}}} | | ||
+ | ; [[Sequence skill|Очередность]] | ||
+ | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}| → }} | ||
+ | {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}} | ||
}}{{#if: {{{hero points|}}} | | }}{{#if: {{{hero points|}}} | | ||
; [[Training|Изучение]] | ; [[Training|Изучение]] | ||
− | : {{{hero points}}} [[Hero point| | + | : {{{hero points}}} [[Hero point|Очки героя]] |
}}{{#if: {{{id|}}} | | }}{{#if: {{{id|}}} | | ||
; Игр. ссылка | ; Игр. ссылка | ||
: {{#arraymap: {{{id}}} |,|@@@| {{#set:Has game id =@@@}}{{skill link|@@@}} |<br>}} | : {{#arraymap: {{{id}}} |,|@@@| {{#set:Has game id =@@@}}{{skill link|@@@}} |<br>}} | ||
}}{{#if: {{{id|}}} | }}{{#if: {{{id|}}} | ||
− | | {{# | + | | {{#if: {{{status|}}} |
− | | | + | | <!-- do nothing if non-current --> |
− | | | + | | {{#switch: {{#var:supertype}} |
| Profession | | Profession | ||
− | | Profession | + | | Profession+Racial |
| Racial | | Racial | ||
| Monster = | | Monster = | ||
− | ; | + | ; Внеш. ссылки |
− | : [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} | + | : [https://api.guildwars2.com/v2/skills?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" --> |
| Common = <!-- do not display API --> | | Common = <!-- do not display API --> | ||
}} | }} | ||
Строка 748: | Строка 649: | ||
}} | }} | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{clear}} | {{clear}} | ||
− | </div> | + | </div><!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <!-- | ||
− | |||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
− | |||
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | -->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | ||
{{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }} | {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }} | ||
Строка 795: | Строка 658: | ||
| <!-- Do not categorize --> | | | <!-- Do not categorize --> | | ||
{{#if: {{{name}}} || [[Category:Unnamed skills]] }} | {{#if: {{{name}}} || [[Category:Unnamed skills]] }} | ||
− | |||
{{#if: {{{icon|}}} || {{#if: {{ifimage|{{#replace:{{PAGENAME}}|:|-}}.png|+}} || [[Category:Skills missing icon]] }} }} | {{#if: {{{icon|}}} || {{#if: {{ifimage|{{#replace:{{PAGENAME}}|:|-}}.png|+}} || [[Category:Skills missing icon]] }} }} | ||
<!-- Activity --> | <!-- Activity --> | ||
{{#if: {{{activity|}}} | {{#if: {{{activity|}}} | ||
− | | {{# | + | | {{#switch: {{lc:{{{activity|}}}}} |
| costume | | costume | ||
| costume brawl = [[Category:Costume Brawl skills]] | | costume brawl = [[Category:Costume Brawl skills]] | ||
− | | #default = [[Category:{{ucfirst: | + | | #default = [[Category:{{ucfirst:{{{activity|}}}}} skills]] |
− | + | }} | |
}} | }} | ||
<!-- Activation type --> | <!-- Activation type --> | ||
− | {{#switch: {{lc: | + | {{#switch: {{lc:{{{activ-type}}}}} |
| chain = [[Category:Chain skills]] | | chain = [[Category:Chain skills]] | ||
| channeled = [[Category:Channeled skills]] | | channeled = [[Category:Channeled skills]] | ||
Строка 830: | Строка 692: | ||
}} | }} | ||
<!-- Ground targeting --> | <!-- Ground targeting --> | ||
− | {{#if: | + | {{#if: {{{ground-target|}}} |
| [[Category:Ground-targeted skills]] | | [[Category:Ground-targeted skills]] | ||
}} | }} | ||
Строка 840: | Строка 702: | ||
}} | }} | ||
| Racial = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial --> | | Racial = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial --> | ||
− | | Profession | + | | Profession+Racial = [[Category:{{ucfirst:{{{profession|}}}}} skills]] [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Profession + Racial --> |
| Monster = [[Category:Monster skills]] <!-- Monster --> | | Monster = [[Category:Monster skills]] <!-- Monster --> | ||
| Common = [[Category:Common skills]] <!-- Common --> | | Common = [[Category:Common skills]] <!-- Common --> | ||
Строка 854: | Строка 716: | ||
| downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]] | | downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]] | ||
| pet = [[Category:Pet skills]] | | pet = [[Category:Pet skills]] | ||
− | |||
| mechanic = [[Category:Profession mechanics]] | | mechanic = [[Category:Profession mechanics]] | ||
| special | | special | ||
Строка 875: | Строка 736: | ||
| ambush = [[Category:Ambush skills]] | | ambush = [[Category:Ambush skills]] | ||
| arcane = [[Category:Arcane skills]] | | arcane = [[Category:Arcane skills]] | ||
− | |||
− | |||
| banner = [[Category:Banner skills]] | | banner = [[Category:Banner skills]] | ||
| beast = [[Category:Beast skills]] | | beast = [[Category:Beast skills]] | ||
Строка 901: | Строка 760: | ||
| glyph = [[Category:Glyph skills]] | | glyph = [[Category:Glyph skills]] | ||
| intervention = [[Category:Intervention skills]] | | intervention = [[Category:Intervention skills]] | ||
− | |||
| legendary assassin = [[Category:Legendary Assassin skills]] | | legendary assassin = [[Category:Legendary Assassin skills]] | ||
| legendary centaur = [[Category:Legendary Centaur skills]] | | legendary centaur = [[Category:Legendary Centaur skills]] | ||
Строка 908: | Строка 766: | ||
| legendary dwarf = [[Category:Legendary Dwarf skills]] | | legendary dwarf = [[Category:Legendary Dwarf skills]] | ||
| legendary renegade = [[Category:Legendary Renegade skills]] | | legendary renegade = [[Category:Legendary Renegade skills]] | ||
− | |||
− | |||
| manipulation = [[Category:Manipulation skills]] | | manipulation = [[Category:Manipulation skills]] | ||
| mantra = [[Category:Mantra skills]] | | mantra = [[Category:Mantra skills]] | ||
| mark = [[Category:Mark skills]] | | mark = [[Category:Mark skills]] | ||
− | |||
| meditation = [[Category:Meditation skills]] | | meditation = [[Category:Meditation skills]] | ||
| minion = [[Category:Minion skills]] | | minion = [[Category:Minion skills]] | ||
Строка 942: | Строка 797: | ||
| trick = [[Category:Trick skills]] | | trick = [[Category:Trick skills]] | ||
| turret = [[Category:Turret skills]] | | turret = [[Category:Turret skills]] | ||
− | |||
| venom = [[Category:Venom skills]] | | venom = [[Category:Venom skills]] | ||
| virtue = [[Category:Virtue skills]] | | virtue = [[Category:Virtue skills]] | ||
Строка 973: | Строка 827: | ||
| [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | ||
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}{{#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|}}}|{{#ifeq:{{{uw-replaces|}}}|none|:[[File:Underwater.png|x20px]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}}} |
+ | {{Quotation|Внутриигровое описание <sup><nowiki>[</nowiki>[[Guild Wars 2 Wiki:Skill formatting|?]]<nowiki>]</nowiki></sup>|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''Описание отсутствует.''}}<!-- | ||
+ | -->{{#if: {{{description|}}} | ||
+ | | {{#if: {{#pos: {{{description}}} |id="sic"}}<!-- Check for [sic] tags, if so, remove the template before storing the value --> | ||
+ | | {{#set:Has game description={{#dplreplace:{{#var:description chain}}{{#var:description type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}} | ||
+ | | {{#set:Has game description={{#var:description chain}}{{#var:description type}}{{{description|}}}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{facts|{{{variables|}}}}}} | {{{facts|{{{variables}}}}}}{{#set: Has skill facts = {{{facts|{{{variables}}}}}} }} }} | ||
+ | }}<!-- | ||
+ | -->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
− | |||
− | |||
− | |||
<pre>{{Skill infobox | <pre>{{Skill infobox | ||
| name = | | name = | ||
Строка 985: | Строка 846: | ||
| facts = | | facts = | ||
| profession = | | profession = | ||
− | |||
| race = | | race = | ||
| slot = | | slot = | ||
Строка 994: | Строка 854: | ||
| tonic = | | tonic = | ||
| mechanic weapon = | | mechanic weapon = | ||
− | |||
| tool belt = | | tool belt = | ||
| attunement = | | attunement = | ||
Строка 1000: | Строка 859: | ||
| kit = | | kit = | ||
| pet = | | pet = | ||
− | | pet family = | + | | pet-family = |
| monster = | | monster = | ||
| parent = | | parent = | ||
− | | uw replaced by = | + | | uw-replaced-by = |
− | | uw replaces = | + | | uw-replaces = |
| type = | | type = | ||
− | | | + | | activ-type = |
| movement type = | | movement type = | ||
| chain1 = | | chain1 = | ||
| chain2 = | | chain2 = | ||
| chain3 = | | chain3 = | ||
− | | weapon slot = | + | | weapon-slot = |
− | | mechanic slot = | + | | mechanic-slot = |
| training track = | | training track = | ||
| training order = | | training order = | ||
| hero points = | | hero points = | ||
− | | ground target = | + | | ground-target = |
| id = | | id = | ||
| split = | | split = | ||
| activation = | | activation = | ||
− | |||
| energy = | | energy = | ||
| health cost = | | health cost = | ||
− | |||
| initiative = | | initiative = | ||
| upkeep = | | upkeep = | ||
| recharge = | | recharge = | ||
− | | activation pvp = | + | | activation-pvp = |
− | + | | energy-pvp = | |
− | | energy pvp = | + | | health cost-pvp = |
− | | health cost | + | | initiative-pvp = |
− | + | | recharge-pvp = | |
− | | initiative pvp = | + | | upkeep-pvp = |
− | | recharge pvp = | ||
− | | upkeep pvp = | ||
− | | activation | + | | activation-wvw = |
− | + | | energy-wvw = | |
− | | energy wvw = | + | | health cost-wvw = |
− | | health cost | + | | initiative-wvw = |
− | + | | recharge-wvw = | |
− | | initiative wvw = | + | | upkeep-wvw = |
− | | recharge wvw = | ||
− | | upkeep wvw = | ||
}}</pre> | }}</pre> | ||
Строка 1059: | Строка 912: | ||
;split | ;split | ||
: Game modes that this skill applies to. See {{tl|Game mode version}}. Calls {{tl|Skill infobox/subobject}} for each game mode beside PvE to create subobjects. | : Game modes that this skill applies to. See {{tl|Game mode version}}. Calls {{tl|Skill infobox/subobject}} for each game mode beside PvE to create subobjects. | ||
− | : To set ''activation | + | : To set ''activation'', ''energy'', ''health cost'', ''initiative'', ''recharge'' and ''upkeep'' 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 | ;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 {{tl|skill fact}} template. | : The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{tl|skill fact}} template. | ||
Строка 1066: | Строка 919: | ||
;activation | ;activation | ||
: Activation time. Enter as a decimal, e.g. 1.25. | : Activation time. Enter as a decimal, e.g. 1.25. | ||
− | |||
− | |||
;initiative | ;initiative | ||
: Initiative cost. | : Initiative cost. | ||
Строка 1076: | Строка 927: | ||
;health cost | ;health 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]]. | ||
Строка 1105: | Строка 954: | ||
:: ''transform'': Transform skill. | :: ''transform'': Transform skill. | ||
:: ''pet'': Pet skill. | :: ''pet'': Pet skill. | ||
− | |||
:: ''mechanic'': Profession specific ability. | :: ''mechanic'': Profession specific ability. | ||
:: ''toy'': Skills provided by toys. | :: ''toy'': Skills provided by toys. | ||
:: ''tonic'': Skills provided by tonics. | :: ''tonic'': Skills provided by tonics. | ||
:: ''trait'': Skills provided by traits. Also use the <tt>trait</tt> parameter to link to the trait. | :: ''trait'': Skills provided by traits. Also use the <tt>trait</tt> parameter to link to the trait. | ||
− | |||
;mainhand | ;mainhand | ||
: Weapon held in the main hand. | : Weapon held in the main hand. | ||
Строка 1122: | Строка 969: | ||
: Bundles that grant the skill. | : Bundles that grant the skill. | ||
;tonic | ;tonic | ||
− | : Tonics that grant the skill | + | : Tonics that grant the skill. |
;mechanic weapon | ;mechanic weapon | ||
: Weapon related to a certain profession mechanic. | : Weapon related to a certain profession mechanic. | ||
− | |||
− | |||
;tool belt | ;tool belt | ||
: The associated tool belt skill. | : The associated tool belt skill. | ||
Строка 1132: | Строка 977: | ||
: Attunement for elementalist's weapon skills. | : Attunement for elementalist's weapon skills. | ||
;activity | ;activity | ||
− | : The activity in which the skill is available | + | : The activity in which the skill is available. |
;kit | ;kit | ||
: The [[engineering kit]] that provides the skill. | : The [[engineering kit]] that provides the skill. | ||
;pet | ;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 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 |
: Pet family name (e.g. [[Feline]]), for skills common to that family. | : Pet family name (e.g. [[Feline]]), for skills common to that family. | ||
;archetype | ;archetype | ||
Строка 1145: | Строка 990: | ||
;parent | ;parent | ||
: Parent skill — the skill which gives access to this skill. | : Parent skill — the skill which gives access to this skill. | ||
− | ;uw replaced by | + | ;uw-replaced-by |
: For skills that are not usable [[underwater mode|underwater]]. | : For skills that are not usable [[underwater mode|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 has an underwater counterpart/replacement, name of the underwater skill. | ||
:: If the skill is not usable underwater and ''does not'' have a replacment, input <tt>none</tt>. | :: If the skill is not usable underwater and ''does not'' have a replacment, input <tt>none</tt>. | ||
− | ;uw replaces | + | ;uw-replaces |
: For underwater skills that replace a normal skill, name of the skill it replaces. | : For underwater skills that replace a normal skill, name of the skill it replaces. | ||
:: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>. | :: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>. | ||
;type | ;type | ||
− | : Skill type, such as [[signet | + | : Skill type, such as [[signet]]. |
;sort type | ;sort type | ||
: Skill sort type. On default: it inherits the skill type from the parameter ''type'', else if it inherits ''chain1'' skill type, else it sets "Skill without type". | : Skill sort type. On default: it inherits the skill type from the parameter ''type'', else if it inherits ''chain1'' skill type, else it sets "Skill without type". | ||
;sort | ;sort | ||
: For grouping and sorting skills. On default: it inherits ''chain1'' skill page name, else it uses page name. | : For grouping and sorting skills. On default: it inherits ''chain1'' skill page name, else it uses page name. | ||
− | ; | + | ;activ-type |
: Activation type: | : Activation type: | ||
:: '''<tt>chain</tt>''': Chain skill. | :: '''<tt>chain</tt>''': Chain skill. | ||
Строка 1165: | Строка 1010: | ||
;movement type | ;movement type | ||
: Movement type: | : Movement type: | ||
− | :: '''<tt>leap</tt>''': [[Leap]] | + | :: '''<tt>leap</tt>''': [[Leap skill]]. |
− | :: '''<tt>retreat</tt>''': [[Retreat]] | + | :: '''<tt>retreat</tt>''': [[Retreat skill]]. |
:: '''<tt>shadowstep</tt>''': [[Shadowstep (mechanic)|Shadowstep]] skill. | :: '''<tt>shadowstep</tt>''': [[Shadowstep (mechanic)|Shadowstep]] skill. | ||
− | :: '''<tt>teleport</tt>''': [[Teleport]] | + | :: '''<tt>teleport</tt>''': [[Teleport skill]]. |
;chain1 .. chain4 | ;chain1 .. chain4 | ||
: Skill sequence. Set with the names of the skills in the chain. | : Skill sequence. Set with the names of the skills in the chain. | ||
− | ;weapon slot | + | ;weapon-slot |
: Weapon skills only. Used to indicate which fixed position the skill has on a skill bar. | : Weapon skills only. Used to indicate which fixed position the skill has on a skill bar. | ||
− | ;mechanic slot | + | ;mechanic-slot |
: Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar. | : Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar. | ||
;training track | ;training track | ||
Строка 1181: | Строка 1026: | ||
;hero points | ;hero points | ||
: Slot (heal/utility/elite) skills only. Used to indicate how many hero points required to unlock the skill. Sets [[Property:Has training hero point cost]]. | : Slot (heal/utility/elite) skills only. Used to indicate how many hero points required to unlock the skill. Sets [[Property:Has training hero point cost]]. | ||
− | ;ground target | + | ;ground-target |
: Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties. | : Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties. | ||
− | |||
− | |||
− | |||
− | |||
;id | ;id | ||
− | :The skill's internal ID | + | :The skill's internal ID. Generates a game link in the infobox. |
− | |||
− | |||
;categorize | ;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. | : 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. | ||
Строка 1201: | Строка 1040: | ||
;requires | ;requires | ||
: Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | : Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | ||
− | |||
− | |||
− | |||
− | |||
− | + | == Examples == | |
<pre> | <pre> | ||
{{Skill infobox | {{Skill infobox | ||
Строка 1219: | Строка 1054: | ||
| twohand = staff | | twohand = staff | ||
| attunement = fire | | attunement = fire | ||
− | | weapon slot = 5 | + | | weapon-slot = 5 |
− | | ground target = circle | + | | ground-target = circle |
| id = 12345 | | id = 12345 | ||
}}</pre> | }}</pre> | ||
Строка 1234: | Строка 1069: | ||
| twohand = staff | | twohand = staff | ||
| attunement = fire | | attunement = fire | ||
− | | weapon slot = 5 | + | | weapon-slot = 5 |
− | | ground target = circle | + | | ground-target = circle |
| id = 12345 | | id = 12345 | ||
| categorize = n | | categorize = n |