Шаблон:Skill infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 52 промежуточные версии этого же участника) | |||
Строка 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 ={{#switch: {{lc:{{{profession}}}}} | + | | Has profession sort order ={{#vardefineecho: 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 ={{#switch: {{lc:{{{specialization|}}}}} | + | | Has specialization sort order ={{#vardefineecho: specialization sort order|{{#switch: {{lc:{{{specialization|}}}}} |
| dragonhunter | | dragonhunter | ||
− | | herald | + | | herald |
| berserker | | berserker | ||
| scrapper | | scrapper | ||
Строка 72: | Строка 72: | ||
| mirage | | mirage | ||
| scourge = 2 <!-- PoF --> | | scourge = 2 <!-- PoF --> | ||
+ | | willbender | ||
+ | | vindicator | ||
+ | | bladesworn | ||
+ | | mechanist | ||
+ | | untamed | ||
+ | | specter | ||
+ | | catalyst | ||
+ | | virtuoso | ||
+ | | harbinger = 3 <!-- EoD --> | ||
| #default = 0 <!-- Core --> | | #default = 0 <!-- Core --> | ||
− | }} | + | }}}} |
− | | Has attunement sort order ={{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }} | + | | Has weapon type sort order ={{#vardefineecho: 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 |
− | | Has skill context sort order ={{#switch: {{lc:{{{slot|}}}}} | + | | 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 resolve = 21 | ||
+ | | tome of courage = 22 | ||
+ | | unsheathe gunsaber = 23 | ||
+ | | dragon trigger = 24 | ||
+ | | med kit = 25 | ||
+ | | bomb kit = 26 | ||
+ | | elixir gun = 27 | ||
+ | | flamethrower = 28 | ||
+ | | grenade kit = 29 | ||
+ | | tool kit = 30 | ||
+ | | elite mortar kit = 31 | ||
+ | | conjured flame = 32 | ||
+ | | frost bow = 33 | ||
+ | | lightning hammer = 34 | ||
+ | | magnetic shield (bundle) = 35 | ||
+ | | fiery greatsword = 36 | ||
+ | | #default = 100 <!-- historical, etc... --> | ||
+ | }} | ||
+ | | transform = {{#switch: {{lc:{{{parent|}}}}} | ||
+ | | rampage = 40 | ||
+ | | engage photon forge = 41 | ||
+ | | celestial avatar = 42 | ||
+ | | enter shadow shroud = 43 | ||
+ | | tornado = 44 | ||
+ | | whirlpool = 45 | ||
+ | | death shroud = 46 | ||
+ | | lich form = 47 | ||
+ | | reaper's shroud = 48 | ||
+ | | harbinger shroud = 49 | ||
+ | | #default = 100 <!-- historical, etc... --> | ||
+ | }} | ||
+ | | #default = 100 <!-- default value --> | ||
+ | }}}} | ||
+ | | Has attunement sort order ={{#vardefineecho: attunement sort order|{{#switch: {{lc:{{{slot|}}}}} | ||
+ | | 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|}}}}}| }} | ||
+ | | fire = 1 | ||
+ | | water = 2 | ||
+ | | air = 3 | ||
+ | | earth = 4 | ||
+ | | fire,water | ||
+ | | water,fire = 5 | ||
+ | | fire,air | ||
+ | | air,fire = 6 | ||
+ | | fire,earth | ||
+ | | earth,fire = 7 | ||
+ | | water,air | ||
+ | | air,water = 8 | ||
+ | | water,earth | ||
+ | | earth,water = 9 | ||
+ | | air,earth = 10 | ||
+ | | #default = 0 | ||
+ | }} | ||
+ | }}}} | ||
+ | | Has skill context sort order ={{#vardefineecho: skill context sort order|{{#switch: {{lc:{{{slot|}}}}} | ||
| weapon = 1 | | weapon = 1 | ||
| engineering kit | | engineering kit | ||
Строка 107: | Строка 179: | ||
| trait = 11 | | trait = 11 | ||
| #default = 12 | | #default = 12 | ||
− | }} | + | }}}} |
− | | Has skill type sort order ={{#if: {{{sort type|}}} <!-- if sort type --> | + | | Has skill slot sort order ={{#vardefineecho: skill slot sort order|{{#switch: {{lc:{{{slot|}}}}} |
+ | | pet | ||
+ | | mechanic = {{#if:{{{mechanic slot|{{{mechanic-slot|}}}}}}|{{#expr:{{{mechanic slot|{{{mechanic-slot}}}}}}-6}}|0}} <!-- storing F1,..,F5 as -5,...,-1, allowing to sort it before weapon slots, e.g. burst skills --> | ||
+ | | #default = {{#if:{{{weapon slot|{{{weapon-slot|}}}}}}|{{{weapon slot|{{{weapon-slot|}}}}}}|0}} <!-- on default use weapon slot, else set to 0 --> | ||
+ | }}}} | ||
+ | | Has skill type sort order ={{#vardefineecho: 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 | ||
Строка 128: | Строка 205: | ||
}} | }} | ||
}} | }} | ||
− | }}|+sep=, | + | }}}}|+sep=, |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
+ | |||
+ | <!-- skill sort order to group sequence skills --> | ||
+ | {{#set: Has skill sort order ={{#vardefineecho: skill sort order|{{#if: {{{sort|}}} | ||
+ | | {{ucfirst:{{{sort|}}}}} | ||
+ | | {{#if: {{{chain1|}}} | ||
+ | | {{ucfirst:{{{chain1|}}}}} | ||
+ | | {{PAGENAME}} | ||
+ | }} | ||
+ | }}}}}} | ||
<!-- Chain and Stealth attacks --> | <!-- Chain and Stealth attacks --> | ||
Строка 170: | Строка 225: | ||
{{#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 | ambush = {{#set: Has chain sequence position=5}} | + | | stealth attack | ambush | unleashed ambush = {{#set: Has chain sequence position=5}} |
| #default = {{#set: Has chain sequence position=0}} | | #default = {{#set: Has chain sequence position=0}} | ||
}} | }} | ||
Строка 176: | Строка 231: | ||
<!-- Underwater useability --> | <!-- Underwater useability --> | ||
− | {{#if: {{{uw-replaced-by|}}} | + | {{#switch: {{lc:{{{slot|}}}}} |
− | + | | downed = {{#set:Is usable underwater=Land only}}{{#vardefine:underwater useability|Land only}} | |
− | + | | drowning = {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}} | |
− | + | | downed and drowning = {{#set:Is usable underwater=Land and Underwater}}{{#vardefine:underwater useability|Land and Underwater}} | |
− | + | | #default = {{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}} | |
− | + | | {{#set:Is usable underwater=Land only}}{{#vardefine:underwater useability|Land only}} | |
− | + | | {{#if: {{{uw replaces|{{{uw-replaces|}}}}}} | |
− | + | | {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}} | |
− | + | | {{#switch: {{lc:{{{slot|}}}}} | |
− | + | | weapon = {{#switch: {{lc:{{{twohand|}}}}} | |
+ | | harpoon gun | spear | trident = {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}} | ||
+ | | #default = {{#set:Is usable underwater=Land only}}{{#vardefine:underwater useability|Land only}} | ||
+ | }} | ||
+ | | mechanic = {{#switch: {{lc:{{{mechanic weapon|}}}}} | ||
+ | | harpoon gun | spear | trident = {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}} | ||
+ | | #default = {{#set:Is usable underwater=Land only}}{{#vardefine:underwater useability|Land only}} | ||
+ | | <!-- empty --> = {{#set:Is usable underwater=Land and Underwater}}{{#vardefine:underwater useability|Land and Underwater}} | ||
+ | }} | ||
+ | |||
+ | | #default = {{#set:Is usable underwater=Land and Underwater}}{{#vardefine:underwater useability|Land and Underwater}} | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
Строка 211: | Строка 277: | ||
{{#switch: {{#var:supertype}} | {{#switch: {{#var:supertype}} | ||
| Profession = | | Profession = | ||
− | {{#ifeq: {{lc:{{{activ-type|}}}{{{weapon-slot|}}}}}|chain1 <!-- if activation type "Chain" in weapon slot "1" --> | + | {{#ifeq: {{lc:{{{activation type|{{{activ-type|}}}}}}{{{weapon slot|{{{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| | + | | {{#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 | ||
+ | | warrior unsheathe gunsaber | ||
| engineer hammer | | engineer hammer | ||
| necromancer greatsword | | necromancer greatsword | ||
Строка 226: | Строка 293: | ||
| revenant staff | | revenant staff | ||
| revenant sword | | revenant sword | ||
+ | | revenant greatsword | ||
| warrior rampage | | warrior rampage | ||
| engineer sword | | engineer sword | ||
Строка 251: | Строка 319: | ||
| ambush = Ambush | | ambush = Ambush | ||
| arcane = Arcane | | arcane = Arcane | ||
+ | | armament = Armament | ||
+ | | augment = Augment | ||
| banner = Banner | | banner = Banner | ||
| beast = Beast | | beast = Beast | ||
+ | | bladesong = Bladesong | ||
| burst | | burst | ||
| burst skill = Burst | | burst skill = Burst | ||
| cantrip = Cantrip | | cantrip = Cantrip | ||
| celestial avatar = Celestial Avatar | | celestial avatar = Celestial Avatar | ||
+ | | chain reaction = Chain Reaction | ||
| citadel order = Citadel Order | | citadel order = Citadel Order | ||
| clone = Clone | | clone = Clone | ||
Строка 286: | Строка 358: | ||
| legendary dwarf = Legendary Dwarf | | legendary dwarf = Legendary Dwarf | ||
| legendary renegade = Legendary Renegade | | legendary renegade = Legendary Renegade | ||
+ | | legendary alliance = Legendary Alliance | ||
| manipulation = Manipulation | | manipulation = Manipulation | ||
− | | mantra = | + | | mantra = Mantra |
| mark = Mark | | mark = Mark | ||
+ | | mech command = Mech Command | ||
| meditation = Meditation | | meditation = Meditation | ||
| minion = Minion | | minion = Minion | ||
Строка 296: | Строка 370: | ||
| preparation = Preparation | | preparation = Preparation | ||
| primal burst = Primal Burst | | primal burst = Primal Burst | ||
+ | | psionic = Psionic | ||
| punishment = Punishment | | punishment = Punishment | ||
| rage = Rage | | rage = Rage | ||
Строка 318: | Строка 393: | ||
| trick = Trick | | trick = Trick | ||
| turret = Turret | | turret = Turret | ||
+ | | unleashed ambush = Unleashed Ambush | ||
| venom = Venom | | venom = Venom | ||
| virtue = <!-- manually: Virtue:/Activate: --> | | virtue = <!-- manually: Virtue:/Activate: --> | ||
Строка 323: | Строка 399: | ||
| well = Well | | well = Well | ||
}}}}|}} | }}}}|}} | ||
+ | }} | ||
+ | |||
+ | <!-- Chat link build templates skill palette ids ---> | ||
+ | {{#if: {{{palette id|}}} | ||
+ | | {{#set: Has skill palette id={{{palette id}}}|+sep=, }} | ||
}} | }} | ||
Строка 334: | Строка 415: | ||
| icon = {{{icon|}}} | | icon = {{{icon|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
+ | | ammunition = {{{ammunition|}}} | ||
+ | | ammunition wvw = {{{ammunition wvw|{{{ammunition-wvw|}}}}}} | ||
+ | | ammunition pvp = {{{ammunition pvp|{{{ammunition-pvp|}}}}}} | ||
| initiative = {{{initiative|}}} | | initiative = {{{initiative|}}} | ||
− | | initiative | + | | initiative wvw = {{{initiative wvw|{{{initiative-wvw|}}}}}} |
− | | initiative | + | | initiative pvp = {{{initiative pvp|{{{initiative-pvp|}}}}}} |
| activation = {{#replace:{{{activation|}}}|.|,}} | | activation = {{#replace:{{{activation|}}}|.|,}} | ||
| energy = {{{energy|}}} | | energy = {{{energy|}}} | ||
− | | energy | + | | energy wvw = {{{energy wvw|{{{energy-wvw|}}}}}} |
− | | energy | + | | energy pvp = {{{energy pvp|{{{energy-pvp|}}}}}} |
| upkeep = {{{upkeep|}}} | | upkeep = {{{upkeep|}}} | ||
− | | upkeep | + | | upkeep wvw = {{{upkeep wvw|{{{upkeep-wvw|}}}}}} |
− | | upkeep | + | | upkeep pvp = {{{upkeep pvp|{{{upkeep-pvp|}}}}}} |
| health cost = {{{health cost|}}} | | health cost = {{{health cost|}}} | ||
− | | health cost | + | | health cost wvw = {{{health cost wvw|{{{health cost-wvw|}}}}}} |
− | | health cost | + | | health cost pvp = {{{health cost pvp|{{{health cost-pvp|}}}}}} |
− | | recharge = {{{recharge|}}} | + | | page cost = {{{page cost|}}} |
− | | recharge | + | | page cost wvw = {{{page cost wvw|}}} |
− | | recharge | + | | page cost pvp = {{{page cost pvp|}}} |
− | | ground | + | | recharge = {{#replace:{{{recharge|}}}|.|,}} |
+ | | recharge wvw = {{#replace:{{{recharge wvw|{{{recharge-wvw|}}}}}}|.|,}} | ||
+ | | recharge pvp = {{#replace:{{{recharge pvp|{{{recharge-pvp|}}}}}}|.|,}} | ||
+ | | ground target = {{{ground target|{{{ground-target|}}}}}} | ||
| specialization = {{{specialization|}}} | | specialization = {{{specialization|}}} | ||
| race = {{{race|}}} | | race = {{{race|}}} | ||
| pet = {{{pet|}}} | | pet = {{{pet|}}} | ||
− | | pet | + | | pet family = {{{pet family|{{{pet-family|}}}}}} |
| parent = {{{parent|}}} | | parent = {{{parent|}}} | ||
| slot = {{{slot|}}} | | slot = {{{slot|}}} | ||
Строка 363: | Строка 450: | ||
| twohand = {{{twohand|}}} | | twohand = {{{twohand|}}} | ||
| mechanic weapon = {{{mechanic weapon|}}} | | mechanic weapon = {{{mechanic weapon|}}} | ||
+ | | mechanic trait = {{{mechanic trait|}}} | ||
| bundle = {{{bundle|}}} | | bundle = {{{bundle|}}} | ||
| kit = {{{kit|}}} | | kit = {{{kit|}}} | ||
Строка 368: | Строка 456: | ||
| sort type = {{{sort type|}}} | | sort type = {{{sort type|}}} | ||
| sort = {{{sort|}}} | | sort = {{{sort|}}} | ||
− | | weapon | + | | activation type = {{{activation type|{{{activ-type|}}}}}} |
− | | mechanic | + | | movement type = {{{movement type|}}} |
+ | | weapon slot = {{{weapon slot|{{{weapon-slot|}}}}}} | ||
+ | | mechanic slot = {{{mechanic slot|{{{mechanic-slot|}}}}}} | ||
| attunement = {{{attunement|}}} | | attunement = {{{attunement|}}} | ||
| archetype = {{{archetype|}}} | | archetype = {{{archetype|}}} | ||
Строка 376: | Строка 466: | ||
| chain3 = {{{chain3|}}} | | chain3 = {{{chain3|}}} | ||
| chain4 = {{{chain4|}}} | | chain4 = {{{chain4|}}} | ||
− | | uw | + | | uw replaced by = {{{uw replaced by|{{{uw-replaced-by|}}}}}} |
− | | uw | + | | uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}} |
| id = {{{id|}}} | | id = {{{id|}}} | ||
+ | | palette id = {{{palette id|}}} | ||
+ | | other ids = {{{other ids|}}} | ||
| description = {{#var:description chain}}{{#var:description type}}{{{description|}}} | | description = {{#var:description chain}}{{#var:description type}}{{{description|}}} | ||
| facts = {{{facts|{{{variables|}}}}}} | | facts = {{{facts|{{{variables|}}}}}} | ||
| variables = {{{facts|{{{variables|}}}}}} | | variables = {{{facts|{{{variables|}}}}}} | ||
| status = {{{status|}}} | | status = {{{status|}}} | ||
+ | | profession sort order = {{#var:profession sort order}} | ||
+ | | specialization sort order = {{#var:specialization sort order}} | ||
+ | | skill context sort order = {{#var:skill context sort order}} | ||
+ | | weapon type sort order = {{#var:weapon type sort order}} | ||
+ | | attunement sort order = {{#var:attunement sort order}} | ||
+ | | skill slot sort order = {{#var:skill slot sort order}} | ||
+ | | skill type sort order = {{#var:skill type sort order}} | ||
+ | | skill sort order = {{#var:skill sort order}} | ||
}} | }} | ||
− | {{#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 | Profession | + | | {{#switch: {{#var:supertype}} | Profession | Racial | Profession,Racial | Common = {{#set:Is for game mode=Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". --> |
}} | }} | ||
Строка 394: | Строка 494: | ||
<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"> | + | <div class="statistics">{{#if: {{{ground target|{{{ground-target|}}}}}} |
− | {{#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: {{{uw-replaced-by|}}} | + | }}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}} |
− | | | + | | [[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]] |
}}{{#ifeq: {{{activation|0}}} | 0 | }}{{#ifeq: {{{activation|0}}} | 0 | ||
| <!-- display nothing --> | | <!-- display nothing --> | ||
− | | {{#if: {{{activation|}}}{{{activation-pve|}}} | + | | {{#if: {{{activation|}}}{{{activation pve|{{{activation-pve|}}}}}} |
− | | {{#set:Has activation time={{{activation | + | | {{#set:Has activation time={{#replace:{{{activation pve|{{{activation-pve|{{{activation}}}}}}}}}|.|,}}}} |
− | {{#if: {{{activation-wvw|}}}{{{activation-pvp|}}} | + | {{#if: {{{activation wvw|{{{activation-wvw|}}}}}}{{{activation pvp|{{{activation-pvp|}}}}}} |
− | | {{infobox statistic split|stat=activation|{{{activation|}}}|pve={{{activation-pve|}}}|wvw={{{activation-wvw|}}}|pvp={{{activation-pvp|}}}}} | + | | {{infobox statistic split|stat=activation|{{{activation|}}}|pve={{{activation pve|{{{activation-pve|}}}}}}|wvw={{{activation wvw|{{{activation-wvw|}}}}}}|pvp={{{activation pvp|{{{activation-pvp|}}}}}}}} |
| {{activation|{{{activation}}}}} | | {{activation|{{{activation}}}}} | ||
}} | }} | ||
}} | }} | ||
− | }}{{#if: {{{energy|}}}{{{energy-pve|}}} | + | }}{{#if: {{{energy|}}}{{{energy pve|{{{energy-pve|}}}}}} |
− | | {{#set:Has energy cost={{{energy-pve|{{{energy}}}}}}}} | + | | {{#set:Has energy cost={{{energy-pve|{{{energy-pve|{{{energy}}}}}}}}}}} |
− | {{#if: {{{energy-wvw|}}}{{{energy-pvp|}}} | + | {{#if: {{{energy wvw|{{{energy-wvw|}}}}}}{{{energy pvp|{{{energy-pvp|}}}}}} |
− | | {{infobox statistic split|stat=energy|{{{energy|}}}|pve={{{energy-pve|}}}|wvw={{{energy-wvw|}}}|pvp={{{energy-pvp|}}}}} | + | | {{infobox statistic split|stat=energy|{{{energy|}}}|pve={{{energy pve|{{{energy-pve|}}}}}}|wvw={{{energy wvw|{{{energy-wvw|}}}}}}|pvp={{{energy pvp|{{{energy-pvp|}}}}}}}} |
| {{energy|{{{energy}}}}} | | {{energy|{{{energy}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{upkeep|}}}{{{upkeep-pve|}}} | + | }}{{#if: {{{upkeep|}}}{{{upkeep pve|{{{upkeep-pve|}}}}}} |
− | | {{#set:Has upkeep cost={{{upkeep-pve|{{{upkeep}}}}}}}} | + | | {{#set:Has upkeep cost={{{upkeep pve|{{{upkeep-pve|{{{upkeep}}}}}}}}}}} |
− | {{#if: {{{upkeep-wvw|}}}{{{upkeep-pvp|}}} | + | {{#if: {{{upkeep wvw|{{{upkeep-wvw|}}}}}}{{{upkeep pvp|{{{upkeep-pvp|}}}}}} |
− | | {{infobox statistic split|stat=upkeep|{{{upkeep|}}}|pve={{{upkeep-pve|}}}|wvw={{{upkeep-wvw|}}}|pvp={{{upkeep-pvp|}}}}} | + | | {{infobox statistic split|stat=upkeep|{{{upkeep|}}}|pve={{{upkeep pve|{{{upkeep-pve|}}}}}}|wvw={{{upkeep wvw|{{{upkeep-wvw|}}}}}}|pvp={{{upkeep pvp|{{{upkeep-pvp|}}}}}}}} |
| {{upkeep|{{{upkeep}}}}} | | {{upkeep|{{{upkeep}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{initiative|}}}{{{initiative-pve|}}} | + | }}{{#if: {{{initiative|}}}{{{initiative pve|{{{initiative-pve|}}}}}} |
− | | {{#set:Has initiative cost ={{{initiative-pve|{{{initiative}}}}}}}}<!-- | + | | {{#set:Has initiative cost ={{{initiative pve|{{{initiative-pve|{{{initiative}}}}}}}}}}}<!-- |
− | -->{{#if: {{{initiative-wvw|}}}{{{initiative-pvp|}}} | + | -->{{#if: {{{initiative wvw|{{{initiative-wvw|}}}}}}{{{initiative pvp|{{{initiative-pvp|}}}}}} |
− | | {{infobox statistic split|stat=initiative|{{{initiative|}}}|pve={{{initiative-pve|}}}|wvw={{{initiative-wvw|}}}|pvp={{{initiative-pvp|}}}}} | + | | {{infobox statistic split|stat=initiative|{{{initiative|}}}|pve={{{initiative pve|{{{initiative-pve|}}}}}}|wvw={{{initiative wvw|{{{initiative-wvw|}}}}}}|pvp={{{initiative pvp|{{{initiative-pvp|}}}}}}}} |
| {{initiative|{{{initiative}}}}} | | {{initiative|{{{initiative}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{health cost|}}}{{{health cost-pve|}}} | + | }}{{#if: {{{health cost|}}}{{{health cost pve|{{{health cost-pve|}}}}}} |
− | | {{#set:Has health cost={{{health cost-pve|{{{health cost}}}}}}}} | + | | {{#set:Has health cost={{{health cost pve|{{{health cost-pve|{{{health cost}}}}}}}}}}} |
− | {{#if: {{{health cost-wvw|}}}{{{health cost-pvp|}}} | + | {{#if: {{{health cost wvw|{{{health cost-wvw|}}}}}}{{{health cost pvp|{{{health cost-pvp|}}}}}} |
− | | {{infobox statistic split|stat=health cost|{{{health cost|}}}|pve={{{health cost-pve|}}}|wvw={{{health cost-wvw|}}}|pvp={{{health cost-pvp|}}}}} | + | | {{infobox statistic split|stat=health cost|{{{health cost|}}}|pve={{{health cost pve|{{{health cost-pve|}}}}}}|wvw={{{health cost wvw|{{{health cost-wvw|}}}}}}|pvp={{{health cost pvp|{{{health cost-pvp|}}}}}}}} |
| {{health cost|{{{health cost}}}}} | | {{health cost|{{{health cost}}}}} | ||
}} | }} | ||
− | }}{{#if: {{{recharge|}}}{{{recharge-pve|}}} | + | }}{{#if: {{{page cost|}}}{{{page cost pve|}}} |
− | | {{#set:Has recharge time={{{recharge | + | | {{#set:Has page cost={{{page cost pve|{{{page cost}}}}}}}}<!-- SILENT: NO SKILL INFOBOX STATISTICS --> |
− | {{#if: {{{recharge-wvw|}}}{{{recharge-pvp|}}} | + | }}{{#if: {{{ammunition|}}}{{{ammunition pve|{{{ammunition-pve|}}}}}} |
− | | {{infobox statistic split|stat=recharge|{{{recharge|}}}|pve={{{recharge-pve|}}}|wvw={{{recharge-wvw|}}}|pvp={{{recharge-pvp|}}}}} | + | | {{#set:Has ammunition number={{{ammunition pve|{{{ammunition-pve|{{{ammunition}}}}}}}}}}} |
+ | {{#if: {{{ammunition wvw|{{{ammunition-wvw|}}}}}}{{{ammunition pvp|{{{ammunition-pvp|}}}}}} | ||
+ | | {{infobox statistic split|stat=ammunition|{{{ammunition|}}}|pve={{{ammunition pve|{{{ammunition-pve|}}}}}}|wvw={{{ammunition wvw|{{{ammunition-wvw|}}}}}}|pvp={{{ammunition pvp|{{{ammunition-pvp|}}}}}}}} | ||
+ | | {{ammunition|{{{ammunition}}}}} | ||
+ | }} | ||
+ | }}{{#if: {{{recharge|}}}{{{recharge pve|{{{recharge-pve|}}}}}} | ||
+ | | {{#set:Has recharge time={{#replace:{{{recharge pve|{{{recharge-pve|{{{recharge}}}}}}}}}|.|,}}}} | ||
+ | {{#if: {{{recharge wvw|{{{recharge-wvw|}}}}}}{{{recharge pvp|{{{recharge-pvp|}}}}}} | ||
+ | | {{infobox statistic split|stat=recharge|{{{recharge|}}}|pve={{{recharge pve|{{{recharge-pve|}}}}}}|wvw={{{recharge wvw|{{{recharge-wvw|}}}}}}|pvp={{{recharge pvp|{{{recharge-pvp|}}}}}}}} | ||
| {{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}}}}}]] <!-- | ||
Строка 452: | Строка 558: | ||
| Common = | | Common = | ||
; [[Profession|Профессия]] | ; [[Profession|Профессия]] | ||
− | : {{profession|common}} Любая | + | : {{#switch: {{lc:{{{profession|}}}}} | guardian | revenant | warrior | engineer | ranger | thief | elementalist | mesmer | necromancer = {{profession|{{{profession}}}}} [[Is for profession::{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] | #default = {{profession|common}} Любая}} |
}}{{#if: {{{specialization|}}} | | }}{{#if: {{{specialization|}}} | | ||
; [[Specialization|Специализация]] | ; [[Specialization|Специализация]] | ||
Строка 462: | Строка 568: | ||
; [[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: {{{pet-family|}}} | | + | }}{{#if: {{{pet family|{{{pet-family|}}}}}} | |
; Сем. [[pet|питомца]] | ; Сем. [[pet|питомца]] | ||
− | : | + | : {{#arraymap: {{{pet family|{{{pet-family|}}}}}} |,|@@@| {{#switch: {{lc:@@@}} |
+ | | phoenix | ||
+ | | phoenix (race) = [[Is for pet family::Juvenile Phoenix|Фениксы]] | ||
+ | | #default = [[Is for pet family::{{ucfirst:@@@}}|{{rus lang|pet family|@@@}}]]}}}} | ||
}}{{#if: {{{monster|}}} | | }}{{#if: {{{monster|}}} | | ||
; [[Bestiary|Монстр]] | ; [[Bestiary|Монстр]] | ||
− | : {{#arraymap: {{{monster}}} |;|@@@| | + | : {{#arraymap: {{{monster}}} |;|@@@| {{cname|@@@}}{{#set: Is for monster={{ucfirst:@@@}} }}|<br>}} |
}}{{#if: {{{parent|}}} | | }}{{#if: {{{parent|}}} | | ||
; Род. умение | ; Род. умение | ||
Строка 505: | Строка 614: | ||
| dagger = [[Dagger|Кинжал]] в [[off hand|левой руке]] | | dagger = [[Dagger|Кинжал]] в [[off hand|левой руке]] | ||
| pistol = [[Pistol|Пистолет]] в [[off hand|левой руке]] | | pistol = [[Pistol|Пистолет]] в [[off hand|левой руке]] | ||
− | | none = ''[[ | + | | none = ''[[Off hand|Левая рука]] свободна'' |
}} | }} | ||
}}{{#if: {{{twohand|}}} | }}{{#if: {{{twohand|}}} | ||
Строка 513: | Строка 622: | ||
: {{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:@@@}}}}[[@@@|{{rus lang|bundle|@@@}}]] |<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}} | ||
Строка 522: | Строка 631: | ||
| 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-slot|}}}}}}}} |
− | | mechanic = ; [[Skill bar|Слот]]: [[Profession mechanic|Механика профессии]]{{#set:Has skill context=Profession mechanic}}{{#if: {{{mechanic | + | | mastery = ; [[Skill bar|Слот]]: [[Mastery skill|Мастерство]]{{#set:Has skill context=Mastery}} |
− | + | | mechanic = ; [[Skill bar|Слот]]: [[Profession mechanic#{{rus lang|profession|{{{specialization|{{{profession|}}}}}}}}|Механика профессии]]{{#set:Has skill context=Profession mechanic}} | |
− | + | {{#if: {{{mechanic trait|}}}| | |
+ | ; [[Trait|Черта]]: {{trait icon|{{{mechanic trait}}}|size=20}}{{#set:Has trait parent={{{mechanic trait|}}}}} | ||
+ | }}{{#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}}} |,|@@@| | + | | chair = ; [[Chair|Стул]]: {{#if: {{{chair|}}} | {{#arraymap: {{{chair}}} |,|@@@| {{#set: Is for chair={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=Chair}}}} |
+ | | toy = ; [[Toy|Игрушка]]: {{#if: {{{toy|}}} | {{#arraymap: {{{toy}}} |,|@@@| {{#set: Is for toy={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=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}}}}} | ||
Строка 535: | Строка 649: | ||
-->{{#if: {{{activity|}}} | | -->{{#if: {{{activity|}}} | | ||
; [[Activity|Мероприятие]] | ; [[Activity|Мероприятие]] | ||
− | : {{# | + | : {{#arraymap: {{{activity|}}} |,|@@@| {{#switch: {{lc:@@@}} |
| costume | | costume | ||
− | | costume brawl = [[Costume Brawl|Костюмированные Бои]] | + | | costume brawl = [[Costume Brawl|Костюмированные Бои]]{{#set:Has skill context=Activity|Is for activity=Costume Brawl}} |
− | | #default = [[{{ucfirst: | + | | #default = [[{{ucfirst:@@@}}]]{{#set:Has skill context=Activity|Is for activity={{ucfirst:@@@}}}} |
− | + | }}|<br>}} | |
− | }}{{#if: {{{weapon-slot|}}} | + | }}{{#if: {{{weapon slot|{{{weapon-slot|}}}}}} |
− | | {{#set:Has skill slot number ={{{weapon-slot}}}}} | + | | {{#set:Has skill slot number ={{{weapon slot|{{{weapon-slot}}}}}}}} |
− | {{#ifexpr: {{{weapon-slot}}} > 0 and {{{weapon-slot}}} < 6 | + | {{#ifexpr: {{{weapon slot|{{{weapon-slot}}}}}} > 0 and {{{weapon slot|{{{weapon-slot}}}}}} < 6 |
+ | |; | ||
+ | : {{Skill infobox/weapon slot | ||
+ | | supertype ={{#var:supertype}} | ||
+ | | profession ={{{profession|}}} | ||
+ | | slot ={{{slot|}}} | ||
+ | | mainhand ={{{mainhand|}}} | ||
+ | | offhand ={{{offhand|}}} | ||
+ | | twohand ={{{twohand|}}} | ||
+ | | bundle ={{{bundle|}}} | ||
+ | | kit ={{{kit|}}} | ||
+ | | parent ={{{parent|}}} | ||
+ | | specialization ={{{specialization|}}} | ||
+ | | requires offhand ={{{requires offhand|}}} | ||
+ | | attunement ={{{attunement|}}} | ||
+ | | weapon slot ={{{weapon slot|{{{weapon-slot|}}}}}} | ||
+ | | underwater ={{#var:underwater useability}} | ||
+ | | status ={{{status|}}} | ||
+ | }} }} }}{{#if: {{{mechanic slot|{{{mechanic-slot|{{#ifeq: {{lc:{{{profession|}}}}}+{{lc:{{{slot|}}}}}|engineer+mechanic|2}}}}}}}} | ||
+ | | {{#if: {{{mechanic slot|{{{mechanic-slot|}}}}}} | {{#set:Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}} }} | ||
+ | {{#if: {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented = <!-- do not show --> | #default = +}} | ||
|; | |; | ||
− | : | + | : {{Skill infobox/mechanic slot |
− | }}{{#if: {{{tool belt|}}} | + | | profession ={{{profession|}}} |
+ | | specialization ={{{specialization|}}} | ||
+ | | mechanic slot ={{{mechanic slot|{{{mechanic-slot|{{#ifeq: {{lc:{{{profession|}}}}}+{{lc:{{{slot|}}}}}|engineer+mechanic|2}}}}}}}} | ||
+ | }} }} }}{{#if: {{{tool belt|}}} | ||
| {{#switch: {{{slot}}} | | {{#switch: {{{slot}}} | ||
| healing | | healing | ||
Строка 566: | Строка 703: | ||
| 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: {{{activ-type|}}} | | + | }}{{#if: {{{activation type|{{{activ-type|}}}}}} | |
; [[Skill#Тип активации|Тип актив.]] | ; [[Skill#Тип активации|Тип актив.]] | ||
− | : {{#switch: {{lc:{{{activ-type|}}}}} | + | : {{#switch: {{lc:{{{activation type|{{{activ-type|}}}}}}}} |
| chain = [[Chain|Цепочка]] {{#set:Has skill activation type=Chain}} | | chain = [[Chain|Цепочка]] {{#set:Has skill activation type=Chain}} | ||
| channeled | | channeled | ||
Строка 577: | Строка 714: | ||
}}{{#if: {{{chain1|}}} | | }}{{#if: {{{chain1|}}} | | ||
; [[Sequence skill|Очередность]] | ; [[Sequence skill|Очередность]] | ||
− | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}| → }} | + | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{#ifeq: @@@|{{PAGENAME}}|<div style="display:inline-block; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: inherit; padding-bottom: 2px;">}}{{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}{{#ifeq: @@@|{{PAGENAME}}|</div>}}| → }} |
{{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}} | {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}} | ||
+ | }}{{#if: {{{damage type|}}} | | ||
+ | ; [[Damage type|Тип урона]] | ||
+ | : [[Has damage type::{{ucfirst:{{lc:{{{damage type}}}}}}}|{{#switch:{{lc:{{{damage type}}}}}|physical=Физический|fire=Огонь|ice=Лед|lightning=Молния|choking=Удушье|#default={{ucfirst:{{{damage type}}}}}}}]] | ||
+ | }}{{#if: {{{summons|}}} | | ||
+ | ; [[Summon|Призыв]] | ||
+ | : {{#arraymap: {{{summons|}}}|,|@@@|[[@@@|{{rus lang|creature name|@@@}}]]|, }} | ||
+ | }}{{#if: {{{movement type|}}} | | ||
+ | ; [[Movement|Движение]] | ||
+ | : {{#switch: {{lc:{{{movement type|}}}}} | ||
+ | | leap = [[Leap|Прыжок]] {{#set:Has skill movement type=Leap}} | ||
+ | | retreat = [[Retreat|Отступление]] {{#set:Has skill movement type=Retreat}} | ||
+ | | shadowstep = [[Shadowstep (mechanic)|Призрачный шаг]] {{#set:Has skill movement type=Shadowstep (mechanic)}} | ||
+ | | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}} | ||
+ | }} | ||
}}{{#if: {{{hero points|}}} | | }}{{#if: {{{hero points|}}} | | ||
; [[Training|Изучение]] | ; [[Training|Изучение]] | ||
− | : {{{hero points}}} [[Hero point| | + | : {{{hero points}}} [[Hero point|{{#switch:{{{hero points}}}|1=очко|2|3|4=очка|#default=очков}} героя]] |
}}{{#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|}}} | ||
− | | {{# | + | | {{#switch: {{{status|}}} |
− | | <!-- do nothing if | + | | historical | unimplemented = <!-- do nothing if not current or future --> |
− | | {{#switch: {{#var:supertype}} | + | | #default = {{#switch: {{#var:supertype}} |
| Profession | | Profession | ||
− | | Profession | + | | Profession,Racial |
| Racial | | Racial | ||
| Monster = | | Monster = | ||
− | ; | + | ; [[API:2/skills|API]] |
− | : [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} | + | : [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} {{#arraymap: {{{id}}}|,|@@@|@@@|, }}] <!-- "&lang=" is being left in on purpose to make it easier to search for interwiki names of skills by switching "en" to "es/fr/de" --> |
| Common = <!-- do not display API --> | | Common = <!-- do not display API --> | ||
}} | }} | ||
Строка 600: | Строка 751: | ||
}} | }} | ||
</div> | </div> | ||
+ | {{#if: {{{gallery1|}}}{{ifimage|{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|+}} | | ||
+ | {{{!}} style="width:100%" | ||
+ | ! style="text-align:left;" {{!}} Галерея | ||
+ | {{!}}- style="text-align:center;" | ||
+ | {{!}} {{#if: {{{gallery1|}}} | ||
+ | | {{#if: {{ifimage|{{{gallery1|}}}|+}} | ||
+ | | [[Has appearance::File:{{{gallery1}}}|220x200px]] {{#set: Has caption=[[{{#titleparts: {{PAGENAME}} }}|{{#titleparts: {{{name|{{PAGENAME}}}}} }}]] }} | ||
+ | | [[File:{{{gallery1}}}|Добавить изображение в галерею]] | ||
+ | }} | ||
+ | | {{#if: {{ifimage|{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|+}} | ||
+ | | [[Has appearance::File:{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|220x200px]] {{#set: Has caption=[[{{#titleparts: {{PAGENAME}} }}|{{#titleparts: {{{name|{{PAGENAME}}}}} }}]] }} | ||
+ | | [[File:{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|Добавить изображение в галерею]] | ||
+ | }} | ||
+ | }}<p style="font-size:.9em;">{{{gallery1-text|Нажмите для увеличения}}}</p> | ||
+ | {{#if: {{{gallery2|}}} | [[File:{{{gallery2|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery2-text|Нажмите для увеличения}}}</p> | ||
+ | }}{{#if: {{{gallery3|}}} | [[File:{{{gallery3|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery3-text|Нажмите для увеличения}}}</p> | ||
+ | }}{{#if: {{{gallery4|}}} | [[File:{{{gallery4|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery4-text|Нажмите для увеличения}}}</p> | ||
+ | }}{{#if: {{{gallery5|}}} | [[File:{{{gallery5|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery5-text|Нажмите для увеличения}}}</p> | ||
+ | }} | ||
+ | {{!}}} | ||
+ | }} | ||
{{clear}} | {{clear}} | ||
− | </div><!-- | + | </div> |
+ | {{#ifeq:{{{uw replaced by|{{{uw-replaced-by|none}}}}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px|link=]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw replaced by|{{{uw-replaced-by|}}}}}}]]''}}{{#if: {{{uw replaces|{{{uw-replaces|}}}}}}|{{#ifeq:{{{uw replaces|{{{uw-replaces|}}}}}}|none|:[[File:Underwater.png|x20px|link=]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px|link=]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw replaces|{{{uw-replaces|}}}}}}]]''}}}} | ||
+ | {{Quotation|game|{{#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: {{{variables|}}} | <!-- legacy support --> | ||
+ | :<small>''Поддержка устаревших версий: пожалуйста, используйте параметр '''facts''' вместо '''variables'''.''</small> | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}} | ||
+ | <!-- | ||
+ | |||
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 --> }} | ||
Строка 609: | Строка 798: | ||
| <!-- Do not categorize --> | | | <!-- Do not categorize --> | | ||
{{#if: {{{name}}} || [[Category:Unnamed skills]] }} | {{#if: {{{name}}} || [[Category:Unnamed skills]] }} | ||
+ | {{#if: {{{id|}}} || [[Category:Skills missing id]] }} | ||
{{#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|}}} | ||
− | | {{# | + | | {{#arraymap: {{{activity|}}} |,|@@@| {{#switch: {{lc:@@@}} |
| costume | | costume | ||
| costume brawl = [[Category:Costume Brawl skills]] | | costume brawl = [[Category:Costume Brawl skills]] | ||
− | | #default = [[Category:{{ucfirst: | + | | #default = [[Category:{{ucfirst:@@@}} skills]] |
− | }} | + | }}|}} |
}} | }} | ||
<!-- Activation type --> | <!-- Activation type --> | ||
− | {{#switch: {{lc:{{{activ-type}}}}} | + | {{#switch: {{lc:{{{activation type|{{{activ-type}}}}}}}} |
| chain = [[Category:Chain skills]] | | chain = [[Category:Chain skills]] | ||
| channeled = [[Category:Channeled skills]] | | channeled = [[Category:Channeled skills]] | ||
| charge = [[Category:Charge skills]] | | charge = [[Category:Charge skills]] | ||
+ | }} | ||
+ | <!-- Movement type --> | ||
+ | {{#switch: {{lc:{{{movement type|}}}}} | ||
+ | | leap = [[Category:Leap skills]] | ||
+ | | retreat = [[Category:Retreat skills]] | ||
+ | | shadowstep = [[Category:Shadowstep skills]] | ||
+ | | teleport = [[Category:Teleport skills]] | ||
}} | }} | ||
<!-- Attunement --> | <!-- Attunement --> | ||
Строка 636: | Строка 833: | ||
}} | }} | ||
<!-- Ground targeting --> | <!-- Ground targeting --> | ||
− | {{#if: {{{ground-target|}}} | + | {{#if: {{{ground target|{{{ground-target|}}}}}} |
| [[Category:Ground-targeted skills]] | | [[Category:Ground-targeted skills]] | ||
}} | }} | ||
Строка 646: | Строка 843: | ||
}} | }} | ||
| 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 --> | ||
Строка 660: | Строка 857: | ||
| 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]] | ||
+ | | mastery = [[Category:Mastery skills]] | ||
| mechanic = [[Category:Profession mechanics]] | | mechanic = [[Category:Profession mechanics]] | ||
| special | | special | ||
| special action = [[Category:Special action skills]] | | special action = [[Category:Special action skills]] | ||
+ | | chair = [[Category:Chair skills]] | ||
| toy = {{#if: {{#pos:{{{toy}}}|,}} | [[Category:Toy skills]] | [[Category:{{{toy|}}} skills]] }} | | toy = {{#if: {{#pos:{{{toy}}}|,}} | [[Category:Toy skills]] | [[Category:{{{toy|}}} skills]] }} | ||
| tonic = [[Category:Tonic skills]] | | tonic = [[Category:Tonic skills]] | ||
Строка 680: | Строка 879: | ||
| ambush = [[Category:Ambush skills]] | | ambush = [[Category:Ambush skills]] | ||
| arcane = [[Category:Arcane skills]] | | arcane = [[Category:Arcane skills]] | ||
+ | | armament = [[Category:Armament skills]] | ||
+ | | augment = [[Category:Augment skills]] | ||
| banner = [[Category:Banner skills]] | | banner = [[Category:Banner skills]] | ||
| beast = [[Category:Beast skills]] | | beast = [[Category:Beast skills]] | ||
Строка 685: | Строка 886: | ||
| burst skill = [[Category:Burst skills]] | | burst skill = [[Category:Burst skills]] | ||
| cantrip = [[Category:Cantrip skills]] | | cantrip = [[Category:Cantrip skills]] | ||
+ | | chain reaction = [[Category:Chain Reaction skills]] | ||
| citadel order = [[Category:Citadel Order skills]] | | citadel order = [[Category:Citadel Order skills]] | ||
| clone = [[Category:Clone skills]] | | clone = [[Category:Clone skills]] | ||
Строка 704: | Строка 906: | ||
| glyph = [[Category:Glyph skills]] | | glyph = [[Category:Glyph skills]] | ||
| intervention = [[Category:Intervention skills]] | | intervention = [[Category:Intervention skills]] | ||
+ | | kurzick = [[Category:Kurzick 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]] | ||
Строка 710: | Строка 913: | ||
| legendary dwarf = [[Category:Legendary Dwarf skills]] | | legendary dwarf = [[Category:Legendary Dwarf skills]] | ||
| legendary renegade = [[Category:Legendary Renegade skills]] | | legendary renegade = [[Category:Legendary Renegade skills]] | ||
+ | | legendary alliance = [[Category:Legendary Alliance skills]] | ||
+ | | luxon = [[Category:Luxon 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]] | ||
+ | | mech command = [[Category:Mech Command skills]] | ||
| meditation = [[Category:Meditation skills]] | | meditation = [[Category:Meditation skills]] | ||
| minion = [[Category:Minion skills]] | | minion = [[Category:Minion skills]] | ||
Строка 741: | Строка 947: | ||
| trick = [[Category:Trick skills]] | | trick = [[Category:Trick skills]] | ||
| turret = [[Category:Turret skills]] | | turret = [[Category:Turret skills]] | ||
+ | | unleashed ambush = [[Category:Unleashed Ambush skills]] | ||
| venom = [[Category:Venom skills]] | | venom = [[Category:Venom skills]] | ||
| virtue = [[Category:Virtue skills]] | | virtue = [[Category:Virtue skills]] | ||
Строка 771: | Строка 978: | ||
| [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | ||
}} | }} | ||
− | + | }}</includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
+ | This infobox is used for [[skill]]s. Uses {{tl|Skill infobox/subobject}}, {{tl|Skill infobox/weapon slot}} and {{tl|Skill infobox/mechanic slot}}. See {{tl|Skill infobox/historical}} for SMW-free version used on version history pages. | ||
+ | |||
+ | == Usage == | ||
<pre>{{Skill infobox | <pre>{{Skill infobox | ||
| name = | | name = | ||
Строка 790: | Строка 990: | ||
| facts = | | facts = | ||
| profession = | | profession = | ||
+ | | specialization = | ||
| race = | | race = | ||
| slot = | | slot = | ||
Строка 798: | Строка 999: | ||
| tonic = | | tonic = | ||
| mechanic weapon = | | mechanic weapon = | ||
+ | | mechanic trait = | ||
| tool belt = | | tool belt = | ||
| attunement = | | attunement = | ||
Строка 803: | Строка 1005: | ||
| kit = | | kit = | ||
| pet = | | pet = | ||
− | | pet | + | | pet family = |
| monster = | | monster = | ||
| parent = | | parent = | ||
− | | uw | + | | uw replaced by = |
− | | uw | + | | uw replaces = |
| type = | | type = | ||
− | | | + | | activation type = |
+ | | movement type = | ||
| chain1 = | | chain1 = | ||
| chain2 = | | chain2 = | ||
| chain3 = | | chain3 = | ||
− | | weapon | + | | weapon slot = |
− | | mechanic | + | | mechanic slot = |
| training track = | | training track = | ||
| training order = | | training order = | ||
| hero points = | | hero points = | ||
− | | ground | + | | ground target = |
| id = | | id = | ||
| split = | | split = | ||
| activation = | | activation = | ||
+ | | ammunition = | ||
| energy = | | energy = | ||
| health cost = | | health cost = | ||
+ | | page cost = | ||
| initiative = | | initiative = | ||
| upkeep = | | upkeep = | ||
| recharge = | | recharge = | ||
− | | activation | + | | activation pvp = |
− | | energy | + | | ammunition pvp = |
− | | health cost | + | | energy pvp = |
− | | initiative | + | | health cost pvp = |
− | | recharge | + | | page cost pvp = |
− | | upkeep | + | | initiative pvp = |
+ | | recharge pvp = | ||
+ | | upkeep pvp = | ||
− | | activation | + | | activation wvw = |
− | | energy | + | | ammunition wvw = |
− | | health cost | + | | energy wvw = |
− | | initiative | + | | health cost wvw = |
− | | recharge | + | | page cost wvw = |
− | | upkeep | + | | initiative wvw = |
+ | | recharge wvw = | ||
+ | | upkeep wvw = | ||
}}</pre> | }}</pre> | ||
Строка 855: | Строка 1064: | ||
;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'', ''energy'', ''health cost'', ''initiative'', ''recharge'' and ''upkeep'' for a specific game mode: use the '' | + | : To set ''activation'', ''ammunition'', ''energy'', ''health cost'', ''page cost'', ''initiative'', ''recharge'' and ''upkeep'' for a specific game mode: use the ''wvw'' and ''pvp'' suffix 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. | ||
+ | ;missing facts | ||
+ | : Optional. Related skill facts that aren't shown in-game, uses the template {{tl|skill fact}} as the parameter "facts" does. This parameter has no visible result, however, the missing skill fact subobjects can be used in SMW queries. | ||
;activation | ;activation | ||
− | : Activation time. | + | : Activation time. Enter as a decimal, e.g. 1.25. |
+ | ;ammunition | ||
+ | : Ammunition (maximum count) number. | ||
;initiative | ;initiative | ||
: Initiative cost. | : Initiative cost. | ||
Строка 868: | Строка 1081: | ||
;health cost | ;health cost | ||
: Health cost. | : Health cost. | ||
+ | ;page cost | ||
+ | : Page 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]]. | ||
Строка 895: | Строка 1110: | ||
:: ''transform'': Transform skill. | :: ''transform'': Transform skill. | ||
:: ''pet'': Pet skill. | :: ''pet'': Pet skill. | ||
+ | :: ''mastery'': Mastery 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. | ||
+ | :: ''special action'': Additional skills which can appear above the skill bar during certain fights. | ||
;mainhand | ;mainhand | ||
: Weapon held in the main hand. | : Weapon held in the main hand. | ||
Строка 910: | Строка 1127: | ||
: Bundles that grant the skill. | : Bundles that grant the skill. | ||
;tonic | ;tonic | ||
− | : Tonics that grant the skill. | + | : Tonics that grant the skill. Use with the <code>| slot = tonic</code> parameter. |
;mechanic weapon | ;mechanic weapon | ||
: Weapon related to a certain profession mechanic. | : Weapon related to a certain profession mechanic. | ||
+ | ;mechanic trait | ||
+ | : Trait related to a certain profession mechanic. | ||
;tool belt | ;tool belt | ||
: The associated tool belt skill. | : The associated tool belt skill. | ||
Строка 918: | Строка 1137: | ||
: 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. Multiple activites can be separated with a comma. |
;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 | + | ;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 | ||
Строка 931: | Строка 1150: | ||
;parent | ;parent | ||
: Parent skill — the skill which gives access to this skill. | : Parent skill — the skill which gives access to this skill. | ||
− | ;uw | + | ;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 | + | ;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]]. Can also be set to [[sigil]] or [[rune]]. |
;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. | ||
− | ; | + | ;activation type |
: Activation type: | : Activation type: | ||
:: '''<tt>chain</tt>''': Chain skill. | :: '''<tt>chain</tt>''': Chain skill. | ||
:: '''<tt>channeled</tt>''' or '''<tt>hold</tt>''': Channeled skill. | :: '''<tt>channeled</tt>''' or '''<tt>hold</tt>''': Channeled skill. | ||
:: '''<tt>charge</tt>''': Charge skill. | :: '''<tt>charge</tt>''': Charge skill. | ||
+ | ;movement type | ||
+ | : Movement type: | ||
+ | :: '''<tt>leap</tt>''': [[Leap]] skill. | ||
+ | :: '''<tt>retreat</tt>''': [[Retreat]] skill. | ||
+ | :: '''<tt>shadowstep</tt>''': [[Shadowstep (mechanic)|Shadowstep]] skill. | ||
+ | :: '''<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 | + | ;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 | + | ;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 | ||
Строка 961: | Строка 1186: | ||
;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 | + | ;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. | ||
+ | ;damage type | ||
+ | : Optional. Some bundle skills have a cosmetic [[damage type]]. | ||
+ | ;summons | ||
+ | : Used to link to any npc or object summoned by this skill. Seperate multiple summons with a comma. | ||
;id | ;id | ||
− | :The skill's internal ID. | + | :The skill's internal ID as reported by skill chat links and [[API:2/skills]]. Generates a game link in the infobox. Separate multiple ids with a comma. |
+ | ;palette id | ||
+ | :The skill palette ID as reported by build chat links and [[API:2/professions]] with the url parameter <code>v=latest</code>. This parameter sets the property [[Property:Has skill palette id]] but is not displayed on the page. Separate multiple palette ids with a comma. | ||
;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. | ||
Строка 975: | Строка 1206: | ||
;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. | ||
+ | ;gallery1 ... gallery5 | ||
+ | : Optional. Gallery of images. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.jpg. | ||
+ | ;gallery1-text ... gallery5-text | ||
+ | : Optional. Image descriptions. | ||
− | == Examples == | + | === Examples === |
<pre> | <pre> | ||
{{Skill infobox | {{Skill infobox | ||
Строка 989: | Строка 1224: | ||
| twohand = staff | | twohand = staff | ||
| attunement = fire | | attunement = fire | ||
− | | weapon | + | | weapon slot = 5 |
− | | ground | + | | ground target = circle |
| id = 12345 | | id = 12345 | ||
}}</pre> | }}</pre> | ||
Строка 1004: | Строка 1239: | ||
| twohand = staff | | twohand = staff | ||
| attunement = fire | | attunement = fire | ||
− | | weapon | + | | weapon slot = 5 |
− | | ground | + | | ground target = circle |
| id = 12345 | | id = 12345 | ||
| categorize = n | | categorize = n |
Текущая версия на 06:13, 20 мая 2024
Содержание
Description[править]
This infobox is used for skills. Uses {{Skill infobox/subobject}}, {{Skill infobox/weapon slot}} and {{Skill infobox/mechanic slot}}. See {{Skill infobox/historical}} for SMW-free version used on version history pages.
Usage[править]
{{Skill infobox | name = | icon = | description = | description type = | facts = | profession = | specialization = | race = | slot = | mainhand = | offhand = | twohand = | bundle = | tonic = | mechanic weapon = | mechanic trait = | tool belt = | attunement = | activity = | kit = | pet = | pet family = | monster = | parent = | uw replaced by = | uw replaces = | type = | activation type = | movement type = | chain1 = | chain2 = | chain3 = | weapon slot = | mechanic slot = | training track = | training order = | hero points = | ground target = | id = | split = | activation = | ammunition = | energy = | health cost = | page cost = | initiative = | upkeep = | recharge = | activation pvp = | ammunition pvp = | energy pvp = | health cost pvp = | page cost pvp = | initiative pvp = | recharge pvp = | upkeep pvp = | activation wvw = | ammunition wvw = | energy wvw = | health cost wvw = | page cost wvw = | initiative wvw = | recharge wvw = | upkeep 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 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 activation, ammunition, energy, health cost, page cost, initiative, recharge and upkeep for a specific game mode: use the wvw and pvp suffix 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.
- missing facts
- Optional. Related skill facts that aren't shown in-game, uses the template {{skill fact}} as the parameter "facts" does. This parameter has no visible result, however, the missing skill fact subobjects can be used in SMW queries.
- activation
- Activation time. Enter as a decimal, e.g. 1.25.
- ammunition
- Ammunition (maximum count) number.
- initiative
- Initiative cost.
- energy
- Energy cost.
- upkeep
- Energy upkeep cost.
- health cost
- Health cost.
- page cost
- Page cost.
- recharge
- Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set Property:Has recharge time.
- supertype
- Skill supertype describing who can use the skill. On default the supertype is set automatically to one of the following allowed values:
- "Profession": If profession is set to one of the nine professions: Guardian, Revenant, Warrior, Engineer, Ranger, Thief, Elementalist, Mesmer, Necromancer.
- "Racial": If race is set to one of the five races: Asura, Charr, Human, Norn, Sylvari.
- "Profession, Racial": If profession and race is set.
- "Monster": If monster is set.
- "Common": On default or if profession is set to "Common".
- 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.
- mastery: Mastery skill.
- mechanic: Profession specific ability.
- 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.
- special action: Additional skills which can appear above the skill bar during certain fights.
- mainhand
- Weapon held in the main hand.
- offhand
- Weapon held in the off-hand.
- twohand
- Weapon held in both hands.
- requires offhand
- Off-hand weapon that is required for this skill. Can be set to "none".
- bundle
- Bundles that grant the skill.
- tonic
- Tonics that grant the skill. Use with the
| slot = tonic
parameter. - mechanic weapon
- Weapon related to a certain profession mechanic.
- mechanic trait
- Trait 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. Multiple activites can be separated with a comma.
- 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 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.
- If the skill is only usable underwater and does not have a land replacment, input none.
- type
- Skill type, such as signet. Can also be set to sigil or rune.
- 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".
- sort
- For grouping and sorting skills. On default: it inherits chain1 skill page name, else it uses page name.
- activation type
- Activation type:
- chain: Chain skill.
- channeled or hold: Channeled skill.
- charge: Charge skill.
- movement type
- Movement type:
- leap: Leap skill.
- retreat: Retreat skill.
- shadowstep: Shadowstep skill.
- teleport: Teleport 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.
- training track
- Optional, should be automatically calculated. Slot (heal/utility/elite) skills only. Used to indicate the associated training track. Sets Property:Is for training track.
- training order
- Slot (heal/utility/elite) skills only. Used to identify the unlock order. Sets Property:Has training unlock order.
- 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.
- ground target
- Whether the skill has ground targeting or not. Parameter expects type of ground targeting, but providing anything will automatically display to the rightmost of upper properties.
- damage type
- Optional. Some bundle skills have a cosmetic damage type.
- summons
- Used to link to any npc or object summoned by this skill. Seperate multiple summons with a comma.
- id
- The skill's internal ID as reported by skill chat links and API:2/skills. Generates a game link in the infobox. Separate multiple ids with a comma.
- palette id
- The skill palette ID as reported by build chat links and API:2/professions with the url parameter
v=latest
. This parameter sets the property Property:Has skill palette id but is not displayed on the page. Separate multiple palette ids with a comma. - 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.
- gallery1 ... gallery5
- Optional. Gallery of images. Defaults to
{{PAGENAME}}
.jpg. - gallery1-text ... gallery5-text
- Optional. Image descriptions.
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 }}
Skill infobox
- Профессия
- Элементалист (список умений)
- Специализация
- Буря
- Оружие
- Посох
- Настройка
- Огонь
- Игр. ссылка
- API
- 12345
“This is an example.
- Кровотечение (5 сек): 110 урона.
— Внутриигровое описание