Шаблон:Skill infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) (upd) |
||
Строка 1: | Строка 1: | ||
<includeonly>{{#set:Has context=Skill}}<!-- | <includeonly>{{#set:Has context=Skill}}<!-- | ||
-->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!-- | -->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!-- | ||
− | -->{{infobox requires|{{{requires|{{{ | + | -->{{infobox requires|{{{requires|}}} }}<!-- |
− | -->{{#if: {{{profession|}}} | + | -->{{#if: {{{split|}}}|{{Game mode version|{{{split}}}}} }}<!-- |
− | | {{#vardefine:profession|{{{profession}}}}} | + | -->{{#if: <!-- Hide whitespace for SMW PROPERTIES --> |
− | + | ||
− | + | {{#switch: {{#replace:{{lc:{{{supertype|}}}}}| }} | |
− | | {{#if: {{{ | + | | profession = {{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} |
− | | {{# | + | | race |
− | | {{# | + | | racial = {{#set: Has skill supertype =Racial}} {{#vardefine:supertype|Racial}} |
+ | | monster = {{#set: Has skill supertype =Monster }} {{#vardefine:supertype|Monster}} | ||
+ | | common = {{#set: Has skill supertype =Common }} {{#vardefine:supertype|Common}} | ||
+ | | profession,race | ||
+ | | race,profession | ||
+ | | 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}} | ||
+ | | <!-- not set --> = <!-- if monster --> | ||
+ | {{#if: {{{monster|}}} | ||
+ | | {{#set: Has skill supertype =Monster }} {{#vardefine:supertype|Monster}} | ||
+ | | <!-- else if profession --> | ||
+ | {{#switch: {{lc:{{{profession|}}}}} | ||
+ | | guardian | ||
+ | | revenant | ||
+ | | warrior | ||
+ | | engineer | ||
+ | | ranger | ||
+ | | thief | ||
+ | | elementalist | ||
+ | | mesmer <!-- else if race for profession --> | ||
+ | | necromancer = {{#if: {{{race|}}} |{{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession+Racial}} | ||
+ | <!-- profession -->|{{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} }} | ||
+ | | common <!-- else if race for common or empty profession --> | ||
+ | | <!-- empty --> = {{#if: {{{race|}}} |{{#set: Has skill supertype =Racial }} {{#vardefine:supertype|Racial}} | ||
+ | <!-- else common-->|{{#set: Has skill supertype =Common }} {{#vardefine:supertype|Common}} }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- Sort order --> | ||
+ | {{#switch: {{#var:supertype}} | ||
+ | | Profession | ||
+ | | Profession+Racial = {{#set: | ||
+ | | Is for profession ={{ucfirst:{{{profession}}}}} | ||
+ | | Has profession sort order ={{#switch: {{lc:{{{profession}}}}} | ||
+ | | guardian = 1 | ||
+ | | revenant = 2 | ||
+ | | warrior = 3 | ||
+ | | engineer = 4 | ||
+ | | ranger = 5 | ||
+ | | thief = 6 | ||
+ | | elementalist = 7 | ||
+ | | mesmer = 8 | ||
+ | | necromancer = 9 | ||
+ | }} | ||
+ | | Has specialization sort order ={{#switch: {{lc:{{{specialization|}}}}} | ||
+ | | dragonhunter | ||
+ | | herald | ||
+ | | berserker | ||
+ | | scrapper | ||
+ | | druid | ||
+ | | daredevil | ||
+ | | tempest | ||
+ | | chronomancer | ||
+ | | reaper = 1 <!-- HoT --> | ||
+ | | firebrand | ||
+ | | renegade | ||
+ | | spellbreaker | ||
+ | | holosmith | ||
+ | | soulbeast | ||
+ | | deadeye | ||
+ | | weaver | ||
+ | | mirage | ||
+ | | scourge = 2 <!-- PoF --> | ||
+ | | #default = 0 <!-- Core --> | ||
+ | }} | ||
+ | | Has attunement sort order ={{#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 ={{#switch: {{lc:{{{slot|}}}}} | ||
+ | | weapon = 1 | ||
+ | | engineering kit | ||
+ | | bundle = 2 | ||
+ | | transform = 3 | ||
+ | | healing = 4 | ||
+ | | utility = 5 | ||
+ | | elite = 6 | ||
+ | | mechanic = 7 | ||
+ | | pet = 8 | ||
+ | | downed = 9 | ||
+ | | drowning = 10 | ||
+ | | downed and drowning = {{#ifeq:{{lc:{{{profession|}}}}}|necromancer|9|10}} <!-- this will allow proper sorting, all shared skills (except for necromancers, only slot 1) are in the higher slot positions --> | ||
+ | | trait = 11 | ||
+ | | #default = 12 | ||
+ | }} | ||
+ | | Has skill type sort order ={{#if: {{{sort type|}}} <!-- if sort type --> | ||
+ | | {{#arraymap: {{lc:{{{sort type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
+ | | tool belt | ||
+ | | stolen skill = {{ucfirst:@@@}} | ||
+ | | #default = {{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}} | ||
+ | }}|,}} | ||
+ | | {{#if: {{{type|}}} <!-- else if type --> | ||
+ | | {{#arraymap: {{lc:{{{type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
+ | | tool belt | ||
+ | | stolen skill = {{ucfirst:@@@}} | ||
+ | | #default = {{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}} | ||
+ | }}|,}} | ||
+ | | {{#if: {{{chain1|}}} <!-- else if chain1 type --> | ||
+ | | {{#if: {{#vardefineecho:chain1 type|{{#show: {{{chain1|}}}|?Has skill type#|default=|searchlabel=}}}} | ||
+ | | {{#var:chain1 type}} | ||
+ | | Skill without type <!-- else "Skill without type" --> | ||
+ | }} | ||
+ | | Skill without type | ||
+ | }} | ||
+ | }} | ||
+ | }}|+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 | ||
+ | }} | ||
+ | }} | ||
+ | | Has skill sort order ={{#if: {{{sort|}}} | ||
+ | | {{ucfirst:{{{sort|}}}}} | ||
+ | | {{#if: {{{chain1|}}} | ||
+ | | {{ucfirst:{{{chain1|}}}}} | ||
+ | | {{PAGENAME}} | ||
}} | }} | ||
}} | }} | ||
− | }}<!-- | + | }} |
− | -->{{#if: {{{ | + | }} |
− | + | ||
− | + | <!-- Chain and Stealth attacks --> | |
− | + | {{#if: {{{chain1|}}} | |
− | + | | {{#ifeq: {{{chain1|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=1}} {{#vardefine:chain sequence position|1}} }} | |
− | + | {{#ifeq: {{{chain2|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=2}} {{#vardefine:chain sequence position|2}} }} | |
− | + | {{#ifeq: {{{chain3|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=3}} {{#vardefine:chain sequence position|3}} }} | |
− | + | {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} {{#vardefine:chain sequence position|4}} }} | |
− | + | | {{#switch: {{lc:{{{type|}}}}} | |
− | + | | stealth attack | ambush = {{#set: Has chain sequence position=5}} | |
− | + | | #default = {{#set: Has chain sequence position=0}} | |
− | + | }} | |
− | + | }} | |
− | + | ||
− | + | <!-- Underwater useability --> | |
− | + | {{#if: {{{uw-replaced-by|}}} | |
− | + | | {{#set:Is usable underwater=Land only}} | |
− | + | | {{#if: {{{uw-replaces|}}} | |
− | + | | {{#set:Is usable underwater=Underwater only}} | |
− | + | | {{#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}} | ||
}} | }} | ||
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | --><div class="infobox skill {{lc:{{{race|{{ | + | <!-- "Chain." prefix in skill description, lots of exceptions, last updated January 2020 --> |
− | <div class="icon skill-infobox-icon"> | + | {{#switch: {{#var:supertype}} |
− | <div style="overflow: hidden; width: 36px; height: 36px; display:inline-block; vertical-align:middle;"> | + | | Profession = |
− | <div style="margin: -6px; overflow: hidden;">[[Has game icon::File:{{{icon|{{#replace:{{BASEPAGENAME}}|:|-}}.png}}}|48x48px]]</div> | + | {{#ifeq: {{lc:{{{activ-type|}}}{{{weapon-slot|}}}}}|chain1 <!-- if activation type "Chain" in weapon slot "1" --> |
− | </div> | + | | {{#if: {{#var:chain sequence position}} |
− | {{ifimage|{{PAGENAME}} animation.gif|<p>[[:File:{{PAGENAME}} animation.gif|Анимация]]</p>}} | + | | {{#switch: {{lc:{{{profession|}}} {{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{bundle|}}}{{{parent|}}}}} |
− | </div> | + | | #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 | ||
+ | | engineer hammer | ||
+ | | necromancer greatsword | ||
+ | | necromancer scepter = {{#vardefine:description chain|{{skill type|Chain}}}} <!-- also the third skill description also displays "Chain." --> | ||
+ | | ranger dagger = <!-- 4 chain skills, not displayed in ingame description --> | ||
+ | | guardian axe | ||
+ | | guardian staff | ||
+ | | guardian trident | ||
+ | | revenant mace | ||
+ | | revenant staff | ||
+ | | revenant sword | ||
+ | | warrior rampage | ||
+ | | engineer sword | ||
+ | | engineer engage photon forge | ||
+ | | thief staff | ||
+ | | elementalist sword | ||
+ | | elementalist magnetic shield (bundle) | ||
+ | | mesmer axe = <!-- not displayed in ingame description --> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- Description skill type prefix called via Template:Skill type --> | ||
+ | {{#vardefine:description type|{{#arraymap: {{#if: {{{description type|}}} | ||
+ | | {{#ifeq: {{{description type|}}} | none | ||
+ | | <!--none--> | ||
+ | | {{{description type|}}} | ||
+ | }} | ||
+ | | {{#ifeq: {{lc:{{{status|}}}}} | historical | ||
+ | | <!--none--> | ||
+ | | {{{type|}}} | ||
+ | }} | ||
+ | }} |,|@@@|{{skill type|{{#switch: {{lc:@@@}} | ||
+ | | ambush = Ambush | ||
+ | | arcane = Arcane | ||
+ | | banner = Banner | ||
+ | | beast = Beast | ||
+ | | burst | ||
+ | | burst skill = Burst | ||
+ | | cantrip = Cantrip | ||
+ | | celestial avatar = Celestial Avatar | ||
+ | | citadel order = Citadel Order | ||
+ | | clone = Clone | ||
+ | | command = Command | ||
+ | | conjure = Conjure | ||
+ | | consecration = Consecration | ||
+ | | consume = Consume | ||
+ | | corruption = Corruption | ||
+ | | deception = Deception | ||
+ | | dual | ||
+ | | dual skill | ||
+ | | dual wield = Dual Wield | ||
+ | | dual attack = Dual Attack | ||
+ | | elixir = Elixir | ||
+ | | engage = Engage | ||
+ | | engineering kit = Engineering Kit | ||
+ | | exceed = Exceed | ||
+ | | facet = Facet | ||
+ | | final charge = Final Charge | ||
+ | | gadget = Gadget | ||
+ | | glamour = Glamour | ||
+ | | glyph = Glyph | ||
+ | | gyro = Gyro | ||
+ | | kneel = Kneel | ||
+ | | legendary assassin = Legendary Assassin | ||
+ | | legendary centaur = Legendary Centaur | ||
+ | | legendary demon = Legendary Demon | ||
+ | | legendary dragon = Legendary Dragon | ||
+ | | legendary dwarf = Legendary Dwarf | ||
+ | | legendary renegade = Legendary Renegade | ||
+ | | manipulation = Manipulation | ||
+ | | mantra = {{#ifeq: {{#show: {{PAGENAME}} | ?Has chain sequence position | default = -1 }} | 2 | <!--display nothing--> | Mantra }} | ||
+ | | mark = Mark | ||
+ | | meditation = Meditation | ||
+ | | minion = Minion | ||
+ | | overload = Overload | ||
+ | | phantasm = Phantasm | ||
+ | | physical = Physical | ||
+ | | preparation = Preparation | ||
+ | | primal burst = Primal Burst | ||
+ | | punishment = Punishment | ||
+ | | rage = Rage | ||
+ | | shade = Shade | ||
+ | | shatter = Shatter | ||
+ | | shout = Shout | ||
+ | | shroud = Shroud | ||
+ | | signet = <!-- manually: Signet Passive:/Signet Active: --> | ||
+ | | spectral = Spectral | ||
+ | | spirit | ||
+ | | spirit skill = {{#ifeq: {{#show: {{PAGENAME}} | ?Has chain sequence position | default = -1 }} | 2 | <!--display nothing--> | Spirit }} | ||
+ | | spirit weapon = Spirit Weapon | ||
+ | | stance = Stance | ||
+ | | stealth attack = Stealth Attack | ||
+ | | stolen skill = <!-- No prefix yet: Stolen --> | ||
+ | | survival = Survival | ||
+ | | symbol = Symbol | ||
+ | | tome = {{#if: {{#show: {{PAGENAME}} | ?Has parent skill | default = }} | Tome | <!--display nothing--> }} | ||
+ | | tool belt = <!-- No prefix yet: Tool belt --> | ||
+ | | transform = Transform | ||
+ | | trap = Trap | ||
+ | | trick = Trick | ||
+ | | turret = Turret | ||
+ | | venom = Venom | ||
+ | | virtue = <!-- manually: Virtue:/Activate: --> | ||
+ | | ward = Ward | ||
+ | | well = Well | ||
+ | }}}}|}} | ||
+ | }} | ||
+ | |||
+ | <!-- Subobjects for skills that have been split in PvE, PvP, or WvW --> | ||
+ | {{#vardefine:enable facts|true}} | ||
+ | {{#if: {{{split|}}} | ||
+ | | {{Skill infobox/subobject | ||
+ | | split = {{{split|}}} | ||
+ | | supertype = {{#var:supertype}} | ||
+ | | profession = {{{profession|}}} | ||
+ | | icon = {{{icon|}}} | ||
+ | | name = {{{name|}}} | ||
+ | | hero points = {{{hero points|}}} | ||
+ | | initiative = {{{initiative|}}} | ||
+ | | initiative-wvw = {{{initiative-wvw|}}} | ||
+ | | initiative-pvp = {{{initiative-pvp|}}} | ||
+ | | activation = {{#replace:{{{activation|}}}|.|,}} | ||
+ | | energy = {{{energy|}}} | ||
+ | | energy-wvw = {{{energy-wvw|}}} | ||
+ | | energy-pvp = {{{energy-pvp|}}} | ||
+ | | upkeep = {{{upkeep|}}} | ||
+ | | upkeep-wvw = {{{upkeep-wvw|}}} | ||
+ | | upkeep-pvp = {{{upkeep-pvp|}}} | ||
+ | | health cost = {{{health cost|}}} | ||
+ | | health cost-wvw = {{{health cost-wvw|}}} | ||
+ | | health cost-pvp = {{{health cost-pvp|}}} | ||
+ | | recharge = {{{recharge|}}} | ||
+ | | recharge-wvw = {{{recharge-wvw|}}} | ||
+ | | recharge-pvp = {{{recharge-pvp|}}} | ||
+ | | ground-target = {{{ground-target|}}} | ||
+ | | specialization = {{{specialization|}}} | ||
+ | | race = {{{race|}}} | ||
+ | | pet = {{{pet|}}} | ||
+ | | pet-family = {{{pet-family|}}} | ||
+ | | parent = {{{parent|}}} | ||
+ | | slot = {{{slot|}}} | ||
+ | | trait = {{{trait|}}} | ||
+ | | mainhand = {{{mainhand|}}} | ||
+ | | offhand = {{{offhand|}}} | ||
+ | | requires offhand = {{{requires offhand|}}} | ||
+ | | twohand = {{{twohand|}}} | ||
+ | | mechanic weapon = {{{mechanic weapon|}}} | ||
+ | | bundle = {{{bundle|}}} | ||
+ | | kit = {{{kit|}}} | ||
+ | | type = {{{type|}}} | ||
+ | | sort type = {{{sort type|}}} | ||
+ | | sort = {{{sort|}}} | ||
+ | | weapon-slot = {{{weapon-slot|}}} | ||
+ | | mechanic-slot = {{{mechanic-slot|}}} | ||
+ | | attunement = {{{attunement|}}} | ||
+ | | archetype = {{{archetype|}}} | ||
+ | | chain1 = {{{chain1|}}} | ||
+ | | chain2 = {{{chain2|}}} | ||
+ | | chain3 = {{{chain3|}}} | ||
+ | | chain4 = {{{chain4|}}} | ||
+ | | uw-replaced-by = {{{uw-replaced-by|}}} | ||
+ | | uw-replaces = {{{uw-replaces|}}} | ||
+ | | id = {{{id|}}} | ||
+ | | description = {{#var:description chain}}{{#var:description type}}{{{description|}}} | ||
+ | | facts = {{{facts|{{{variables|}}}}}} | ||
+ | | variables = {{{facts|{{{variables|}}}}}} | ||
+ | | status = {{{status|}}} | ||
+ | }} | ||
+ | {{#set:Is for game mode =PvE}} | ||
+ | {{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|wvw}} | {{#set:Is for game mode =WvW}} }} | ||
+ | {{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|pvp}} | {{#set:Is for game mode =PvP}} }} | ||
+ | | {{#switch: {{#var:supertype}} | Profession | Profession+Racial = {{#set:Is for game mode =Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". --> | ||
+ | }} | ||
+ | |||
+ | }}<div class="infobox skill {{lc:{{{race|}}}}} {{lc:{{{profession|}}}}} {{#if:{{{specialization|}}}|specialization}}"> | ||
+ | <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: {{{uw-replaced-by|}}} |<span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> | + | {{#if: {{{uw-replaced-by|}}} |
− | }}{{#ifeq: {{{activation|0}}} | 0 || | + | | <span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> |
− | {{#set:Has activation time={{#replace:{{{activation}}}|.|,}}}}{{activation|{{{activation}}}}} | + | }}{{#ifeq: {{{activation|0}}} | 0 |
− | }}{{#if:{{{energy|}}}{{{energy-pve|}}} | | + | | <!-- display nothing --> |
− | + | | {{#if: {{{activation|}}}{{{activation-pve|}}} | |
− | + | | {{#set:Has activation time={{{activation-pve|{{#replace:{{{activation}}}|.|,}}}}}}} | |
− | + | {{#if: {{{activation-wvw|}}}{{{activation-pvp|}}} | |
− | }}{{#if:{{{upkeep|}}}{{{upkeep-pve|}}} | | + | | {{infobox statistic split|stat=activation|{{{activation|}}}|pve={{{activation-pve|}}}|wvw={{{activation-wvw|}}}|pvp={{{activation-pvp|}}}}} |
− | + | | {{activation|{{{activation}}}}} | |
− | + | }} | |
− | + | }} | |
− | }}{{#if:{{{initiative|}}}{{{initiative-pve|}}} | | + | }}{{#if: {{{energy|}}}{{{energy-pve|}}} |
− | + | | {{#set:Has energy cost={{{energy-pve|{{{energy}}}}}}}} | |
− | + | {{#if: {{{energy-wvw|}}}{{{energy-pvp|}}} | |
− | + | | {{infobox statistic split|stat=energy|{{{energy|}}}|pve={{{energy-pve|}}}|wvw={{{energy-wvw|}}}|pvp={{{energy-pvp|}}}}} | |
− | }}{{#if:{{{health cost|}}}{{{health cost-pve|}}} | | + | | {{energy|{{{energy}}}}} |
− | + | }} | |
− | + | }}{{#if: {{{upkeep|}}}{{{upkeep-pve|}}} | |
− | + | | {{#set:Has upkeep cost={{{upkeep-pve|{{{upkeep}}}}}}}} | |
− | }}{{#if:{{{recharge|}}}{{{recharge-pve|}}} | | + | {{#if: {{{upkeep-wvw|}}}{{{upkeep-pvp|}}} |
− | + | | {{infobox statistic split|stat=upkeep|{{{upkeep|}}}|pve={{{upkeep-pve|}}}|wvw={{{upkeep-wvw|}}}|pvp={{{upkeep-pvp|}}}}} | |
− | + | | {{upkeep|{{{upkeep}}}}} | |
− | + | }} | |
− | }}{{#if: {{{hero points|}}} |<span style="white-space: nowrap;">[[Has hero point cost::{{{hero points}}}]] [[File:Hero point.png|20px|link=Hero point|Очки героя]]</span> | + | }}{{#if: {{{initiative|}}}{{{initiative-pve|}}} |
+ | | {{#set:Has initiative cost ={{{initiative-pve|{{{initiative}}}}}}}}<!-- | ||
+ | -->{{#if: {{{initiative-wvw|}}}{{{initiative-pvp|}}} | ||
+ | | {{infobox statistic split|stat=initiative|{{{initiative|}}}|pve={{{initiative-pve|}}}|wvw={{{initiative-wvw|}}}|pvp={{{initiative-pvp|}}}}} | ||
+ | | {{initiative|{{{initiative}}}}} | ||
+ | }} | ||
+ | }}{{#if: {{{health cost|}}}{{{health cost-pve|}}} | ||
+ | | {{#set:Has health cost={{{health cost-pve|{{{health cost}}}}}}}} | ||
+ | {{#if: {{{health cost-wvw|}}}{{{health cost-pvp|}}} | ||
+ | | {{infobox statistic split|stat=health cost|{{{health cost|}}}|pve={{{health cost-pve|}}}|wvw={{{health cost-wvw|}}}|pvp={{{health cost-pvp|}}}}} | ||
+ | | {{health cost|{{{health cost}}}}} | ||
+ | }} | ||
+ | }}{{#if: {{{recharge|}}}{{{recharge-pve|}}} | ||
+ | | {{#set:Has recharge time={{{recharge-pve|{{#replace:{{{recharge}}}|.|,}}}}}}} | ||
+ | {{#if: {{{recharge-wvw|}}}{{{recharge-pvp|}}} | ||
+ | | {{infobox statistic split|stat=recharge|{{{recharge|}}}|pve={{{recharge-pve|}}}|wvw={{{recharge-wvw|}}}|pvp={{{recharge-pvp|}}}}} | ||
+ | | {{recharge|{{{recharge}}}}} | ||
+ | }} | ||
+ | }}{{#if: {{{hero points|}}} | ||
+ | | <span style="white-space: nowrap;">[[Has hero point cost::{{{hero points}}}]] [[File:Hero point.png|20px|link=Hero point|Очки героя]]</span> | ||
+ | }}{{#if: {{{ground-target|}}} | ||
+ | | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] {{#set:Is ground targeted=Y}} | ||
+ | }} | ||
</div> | </div> | ||
− | <div class="wrapper">{{# | + | <div class="wrapper">{{#switch: {{#var:supertype}} |
+ | | Profession | ||
+ | | Profession+Racial = | ||
; [[Profession|Профессия]] | ; [[Profession|Профессия]] | ||
− | :{{profession|{{ | + | : {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!-- |
+ | -->{{#ifeq: {{lc:{{{slot|}}}}} | trait | ||
+ | | <small>([[List of trait skills#{{ucfirst:{{{profession}}}}}|список умений черт]])</small> | ||
+ | | <small>([[List of {{lc:{{{profession}}}}} skills|список умений]])</small> | ||
+ | }} | ||
+ | | Racial | ||
+ | | Common = | ||
+ | ; [[Profession|Профессия]] | ||
+ | : {{profession|common}} Любая | ||
+ | }}{{#if: {{{specialization|}}} | | ||
; [[Specialization|Специализация]] | ; [[Specialization|Специализация]] | ||
− | :{{profession|{{{specialization}}}}} [[Is for specialization::{{ucfirst:{{{specialization}}}}}|{{rus lang|specialization|{{{specialization}}}}}]] | + | : {{profession|{{{specialization}}}}} [[Is for specialization::{{ucfirst:{{{specialization}}}}}|{{rus lang|specialization|{{{specialization}}}}}]] |
− | + | }}{{#if: {{{race|}}} | | |
; [[Playable races|Раса]] | ; [[Playable races|Раса]] | ||
: [[File:{{ucfirst:{{{race}}}}} tango icon 20px.png|link={{ucfirst:{{{race}}}}}]] [[Is for race::{{ucfirst:{{{race}}}}}|{{rus lang|race|{{{race}}}}}]] <small>([[List of {{lc:{{{race}}}}} racial skills|список умений]])</small> | : [[File:{{ucfirst:{{{race}}}}} tango icon 20px.png|link={{ucfirst:{{{race}}}}}]] [[Is for race::{{ucfirst:{{{race}}}}}|{{rus lang|race|{{{race}}}}}]] <small>([[List of {{lc:{{{race}}}}} racial skills|список умений]])</small> | ||
− | |||
}}{{#if: {{{pet|}}} | | }}{{#if: {{{pet|}}} | | ||
− | ; {{#if: {{#pos: {{{pet|}}} |,}} | [[Pet|Питомцы]] | + | ; {{#if: {{#pos:{{{pet|}}}|,}}|[[Pet|Питомцы]] [[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|питомца]] | + | ; Сем. [[pet|питомца]] |
− | : [[Is for pet family::{{ucfirst:{{{pet-family}}}}}|{{rus lang|pet family|{{{pet-family}}}}}]] | + | : [[Is for pet family::{{ucfirst:{{{pet-family|}}}}}|{{rus lang|pet family|{{{pet-family}}}}}]] |
}}{{#if: {{{monster|}}} | | }}{{#if: {{{monster|}}} | | ||
; [[Bestiary|Монстр]] | ; [[Bestiary|Монстр]] | ||
− | : {{#arraymap: {{{monster}}} |;|@@@| [[{{ucfirst:@@@}}]]|<br>}} | + | : {{#arraymap: {{{monster}}} |;|@@@| [[Is for monster::{{ucfirst:@@@}}]]|<br>}} |
}}{{#if: {{{parent|}}} | | }}{{#if: {{{parent|}}} | | ||
; Род. умение | ; Род. умение | ||
− | : {{skill icon|{{{parent}}}|size=20}} {{#set: Has parent skill={{{parent}}}}} | + | : {{skill icon|{{{parent}}}|size=20}} {{#set: Has parent skill ={{{parent}}}}} |
− | }}{{#switch: {{lc: {{{slot|}}} }} | + | }}<!-- |
− | | weapon = {{#set: Has skill context=Weapon}} | + | -->{{#switch: {{lc: {{{slot|}}} }} |
− | ; [[Weapon|Оружие]] | + | | weapon = {{#set: Has skill context =Weapon}} |
+ | ; [[Weapon|Оружие]] | ||
: {{#if: {{{mainhand|}}} | : {{#if: {{{mainhand|}}} | ||
− | | {{#set:Is for weapon={{{mainhand}}}}} | + | | {{#set:Is for weapon ={{{mainhand}}}}} |
− | {{#switch: {{{mainhand|}}} | + | {{#switch: {{{mainhand|}}} |
− | | axe = [[ | + | | axe = [[Axe|Топор]] в [[main hand|правой руке]] |
− | | dagger = [[ | + | | dagger = [[Dagger|Кинжал]] в [[main hand|правой руке]] |
− | | mace = [[ | + | | mace = [[Mace|Булава]] в [[main hand|правой руке]] |
− | | pistol = [[ | + | | pistol = [[Pistol|Пистолет]] в [[main hand|правой руке]] |
− | | scepter = [[ | + | | scepter = [[Scepter|Скипетр]] |
− | | sword = [[ | + | | sword = [[Sword|Меч]] в [[main hand|правой руке]] |
− | }}{{#if: {{{offhand|}}} | + | }}{{#if: {{{offhand|}}}{{{requires offhand|}}} |
| <br> | | <br> | ||
}} | }} | ||
}}{{#if: {{{offhand|}}} | }}{{#if: {{{offhand|}}} | ||
− | + | | {{#set:Is for weapon ={{{offhand}}}}} | |
− | + | {{#switch: {{{offhand}}} | |
− | + | | axe = [[Axe|Топор]] в [[off hand|левой руке]] | |
− | + | | dagger = [[Dagger|Кинжал]] в [[off hand|левой руке]] | |
− | | axe = | + | | mace = [[Mace|Булава]] в [[off hand|левой руке]] |
− | | dagger = [[ | + | | pistol = [[Pistol|Пистолет]] в [[off hand|левой руке]] |
− | | mace = [[ | + | | sword = [[Sword|Меч]] в [[off hand|левой руке]] |
− | | pistol = [[ | + | | focus = [[Focus|Фокус]] |
− | | sword = [[ | + | | shield = [[Shield|Щит]] |
− | | focus = [[ | + | | torch = [[Torch|Факел]] |
− | | shield = [[ | + | | warhorn = [[Warhorn|Боевой рог]] |
− | | torch = [[ | + | }} |
− | | warhorn = [[ | + | }}{{#if: {{{requires offhand|}}} <!-- for dual wield skills, defined by offhand --> |
− | | none | + | | {{#set:Requires offhand ={{ucfirst:{{{requires offhand}}}}}}} |
+ | {{#switch: {{{requires offhand}}} | ||
+ | | dagger = [[Dagger|Кинжал]] в [[off hand|левой руке]] | ||
+ | | pistol = [[Pistol|Пистолет]] в [[off hand|левой руке]] | ||
+ | | none = ''[[off hand|Левая рука]] свободна'' | ||
}} | }} | ||
− | }}{{#if: {{{twohand|}}} | + | }}{{#if: {{{twohand|}}} |
− | | [[Is for weapon::{{ucfirst:{{{twohand}}}}}|{{ | + | | [[Is for weapon::{{ucfirst:{{{twohand}}}}}|{{rus lang|weapon|{{{twohand}}}}}]] |
− | }}{{#if: {{{trait|}}} | ;[[Trait|Треб. черта]] :{{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} }} | + | }}{{#if: {{{trait|}}} | |
− | | engineering kit = ; [[Engineering Kit|Инж. набор]] : {{skill icon|{{{kit}}}|size=20}} {{#set: Is for bundle={{{kit}}} | + | ; [[Trait|Треб. черта]] |
− | | bundle = ; [[Bundle|Комплект]]:{{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set: Has skill context=Bundle}} | + | : {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} |
− | + | }} | |
− | | healing = ; [[Skill bar|Слот]]:[[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}} | + | | engineering kit = ; [[Engineering Kit|Инж. набор]]: {{skill icon|{{{kit}}}|size=20}} {{#set:Is for bundle={{{kit}}}|Has skill context=Bundle}} |
− | | utility = ; [[Skill bar|Слот]]:[[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}} | + | | bundle = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=Bundle}} |
− | | elite = ; [[Skill bar|Слот]]:[[Elite skill|Элитное]] {{#set:Has skill context=Elite}} | + | | healing = ; [[Skill bar|Слот]]: [[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}} |
− | | downed = ; [[Skill bar|Слот]]:[[List of downed skills|Повержен]]{{#set:Has skill context=Downed}} | + | | utility = ; [[Skill bar|Слот]]: [[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}} |
− | | drowning = ; [[Skill bar|Слот]]:[[List of drowning skills|Утопление]]{{#set:Has skill context=Drowning}} | + | | elite = ; [[Skill bar|Слот]]: [[Elite skill|Элитное]] {{#set:Has skill context=Elite}} |
− | | downed and drowning = ;[[Skill bar|Слот]]:[[List of downed skills|Повержен]] <br | + | | downed = ; [[Skill bar|Слот]]: [[List of downed skills|Повержен]]{{#set:Has skill context=Downed}} |
− | | transform = ; [[Skill bar|Слот]]:[[Transform|Преображение]]{{#set: Has skill context=Transform}} | + | | drowning = ; [[Skill bar|Слот]]: [[List of drowning skills|Утопление]]{{#set:Has skill context=Drowning}} |
− | | pet = ; [[Skill bar|Слот]]:[[Pet|Питомец]] <small>([[List of pet skills|список умений]])</small>{{#set:Has skill context=Pet}} | + | | downed and drowning = ; [[Skill bar|Слот]]: [[List of downed skills|Повержен]] <br> [[List of drowning skills|Утопление]]{{#set:Has skill context=Downed,Drowning|+sep=,}} |
− | | mechanic = ; [[Skill bar|Слот]]:[[Profession mechanic|Механика профессии]]{{#set:Has skill context=Profession mechanic}} {{#if: {{{mechanic weapon|}}}|; [[Weapon]] :[[Is for weapon::{{ucfirst:{{{mechanic weapon|}}}}}]]}} | + | | 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={{#if: {{{mechanic-slot|}}}|{{{mechanic-slot}}}|0}}}} |
+ | | mechanic = ; [[Skill bar|Слот]]: [[Profession mechanic|Механика профессии]]{{#set:Has skill context=Profession mechanic}}{{#if: {{{mechanic weapon|}}}|; [[Weapon]]: [[Is for weapon::{{ucfirst:{{{mechanic weapon|}}}}}]]<!-- | ||
+ | -->{{#ifeq: {{{mechanic-slot|}}}|1|{{#set:Has skill slot number=-1}}}}}}<!-- this allows burst skills to show up in "Is for weapon" queries with sort "Has skill slot number" | ||
+ | -->{{#set:Has profession mechanic slot number={{#if: {{{mechanic-slot|}}}|{{{mechanic-slot}}}|0}}}}<!-- default value 0 for proper smw sorting --> | ||
| 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 | + | | trait = ; [[Trait|Черта]]: {{#if: {{{trait|}}} | {{trait icon|{{{trait}}}|size=20}} }}{{#set:Has skill context=Trait|Has trait parent={{{trait}}}}} |
}}<!-- end switch slot | }}<!-- end switch slot | ||
-->{{#if: {{{activity|}}} | | -->{{#if: {{{activity|}}} | | ||
− | ; [[Activity|Мероприятие]] | + | ; [[Activity|Мероприятие]] |
: {{#switch: {{lc:{{{activity|}}}}} | : {{#switch: {{lc:{{{activity|}}}}} | ||
− | + | | costume | |
− | + | | costume brawl = [[Costume Brawl|Костюмированные Бои]] | |
− | + | | #default = [[{{ucfirst:{{{activity|}}}}}]]{{#set:Has skill context=Activity|Is for activity={{ucfirst:{{{activity|}}}}}}} | |
}} | }} | ||
− | }}{{#if: {{{weapon-slot|}}}|{{#set:Has skill slot number={{{weapon-slot}}}}} {{#ifexpr:{{{weapon-slot}}} | + | }}{{#if: {{{weapon-slot|}}} |
− | |; | + | | {{#set:Has skill slot number ={{{weapon-slot}}}}} |
− | : [[File:Weapon slot {{{weapon-slot}}} tango.png|65x20px|Оружейный слот {{{weapon-slot}}}|link=]] }} | + | {{#ifexpr: {{{weapon-slot}}} > 0 and {{{weapon-slot}}} < 6 |
+ | |; | ||
+ | : [[File:Weapon slot {{{weapon-slot}}} tango.png|65x20px|Оружейный слот {{{weapon-slot}}}|link=]] }} | ||
+ | }}{{#if: {{{tool belt|}}} | ||
+ | | {{#switch: {{{slot}}} | ||
+ | | healing | ||
+ | | utility | ||
+ | | elite = {{#if:{{{parent|}}} | ||
+ | | <!--don't show tool belt for secondary skills--> | ||
+ | | ; [[Tool belt|Пояс с инстр.]]: {{skill icon|{{{tool belt}}}|size=20}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{#if: {{{attunement|}}} | | ||
; [[Attunement|Настройка]] | ; [[Attunement|Настройка]] | ||
− | : {{#arraymap:{{{attunement}}}|,|@@@|[[Is for attunement::{{ucfirst:@@@}} Attunement|{{#switch:@@@|air=Воздух|earth=Земля|fire=Огонь|water=Вода}}]]|, }} | + | : {{#arraymap:{{{attunement}}}|,|@@@|[[Is for attunement::{{ucfirst:@@@}} Attunement|{{#switch:{{lc:@@@}}|air=Воздух|earth=Земля|fire=Огонь|water=Вода}}]]|, }}]]|, }} |
− | }}{{#if: {{{archetype|}}} | | + | }}{{#if: {{{archetype|}}} | |
; [[Archetype|Архетип]] | ; [[Archetype|Архетип]] | ||
− | : {{effect|{{ucfirst:{{{archetype}}}}} (Archetype)|{{rus lang|pet archetype|{{{archetype}}}}}}}{{#set: Has pet archetype={{ucfirst:{{{archetype}}}}} (Archetype)}} }}{{#if: {{{type|}}} | | + | : {{effect|{{ucfirst:{{{archetype}}}}} (Archetype)|{{rus lang|pet archetype|{{{archetype}}}}}}}{{#set: Has pet archetype={{ucfirst:{{{archetype}}}}} (Archetype)}} |
− | ; [[Skill#Типы умений|Тип]] | + | }}{{#if: {{{type|}}} | |
− | : {{#arraymap:{{{type}}}|,|@@@|{{#switch:{{lc:@@@}} | + | ; [[Skill##Типы умений|Тип]] |
− | + | : {{#arraymap: {{lc:{{{type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | |
− | + | | tool belt | |
− | + | | stolen skill = [[Has skill type::{{ucfirst:@@@}}|{{rus lang|skill type|@@@}}]] | |
+ | | #default = [[Has skill type::{{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}}|{{rus lang|skill type|@@@}}]] }}}} | ||
}}{{#if: {{{activ-type|}}} | | }}{{#if: {{{activ-type|}}} | | ||
− | ; [[Skill#Тип активации|Тип актив.]] | + | ; [[Skill#Тип активации|Тип актив.]] |
: {{#switch: {{lc:{{{activ-type|}}}}} | : {{#switch: {{lc:{{{activ-type|}}}}} | ||
− | + | | chain = [[Chain|Цепочка]] {{#set:Has skill activation type=Chain}} | |
− | + | | channeled | |
− | + | | hold = [[Channeled skill|Поток]] {{#set:Has skill activation type=Channeled}} | |
− | + | | charge = [[Charge skill|Зарядка]] {{#set:Has skill activation type=Charge}} | |
− | + | | sequence = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}} | |
− | |||
}} | }} | ||
− | }}{{#if: {{{chain1|}}} | | + | }}{{#if: {{{chain1|}}} | |
− | ; [[Sequence skill|Очередность]] | + | ; [[Sequence skill|Очередность]] |
− | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| | + | : {{#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: {{{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+Racial | ||
+ | | Racial | ||
+ | | Monster = | ||
; Внеш. ссылки | ; Внеш. ссылки | ||
− | : [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}| |}} API] | + | : [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 --> |
+ | }} | ||
+ | }} | ||
+ | }} | ||
</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 --> | ||
Строка 366: | Строка 590: | ||
| <!-- Do not categorize --> | | | <!-- Do not categorize --> | | ||
{{#if: {{{name}}} || [[Category:Unnamed skills]] }} | {{#if: {{{name}}} || [[Category:Unnamed skills]] }} | ||
− | {{#if: {{{icon|}}} || {{# | + | {{#if: {{{icon|}}} || {{#if: {{ifimage|{{#replace:{{PAGENAME}}|:|-}}.png|+}} || [[Category:Skills missing icon]] }} }} |
<!-- Activity --> | <!-- Activity --> | ||
{{#if: {{{activity|}}} | {{#if: {{{activity|}}} | ||
− | | {{ #switch: {{lc:{{{activity|}}}}} | + | | {{#switch: {{lc:{{{activity|}}}}} |
− | + | | costume | |
− | + | | costume brawl = [[Category:Costume Brawl skills]] | |
− | + | | #default = [[Category:{{ucfirst:{{{activity|}}}}} skills]] | |
}} | }} | ||
}} | }} | ||
<!-- Activation type --> | <!-- Activation type --> | ||
− | {{#switch: {{lc:{{{activ-type}}}}} | + | {{#switch: {{lc:{{{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]] |
}} | }} | ||
<!-- Attunement --> | <!-- Attunement --> | ||
{{#if: {{{attunement|}}} | {{#if: {{{attunement|}}} | ||
− | | {{#arraymap:{{{attunement}}}|,|@@@| | + | | {{#arraymap: {{{attunement}}} |,|@@@| |
{{#switch: {{lc:@@@}} | {{#switch: {{lc:@@@}} | ||
− | + | | air = [[Category:Air attunement skills]] | |
− | + | | earth = [[Category:Earth attunement skills]] | |
− | + | | fire = [[Category:Fire attunement skills]] | |
− | + | | water = [[Category:Water attunement skills]] | |
}} | }} | ||
− | | }}{{#if:{{#explode:{{{attunement}}}|,|1}}|[[Category:Dual Attack skills]] | + | | }}{{#if: {{#explode:{{{attunement}}}|,|1}} | [[Category:Dual Attack skills]] }} |
}} | }} | ||
<!-- Ground targeting --> | <!-- Ground targeting --> | ||
Строка 396: | Строка 620: | ||
| [[Category:Ground-targeted skills]] | | [[Category:Ground-targeted skills]] | ||
}} | }} | ||
− | <!-- | + | <!-- Supertype --> |
− | {{#if: {{{race|}}} | + | {{#switch: {{#var:supertype}} |
− | | [[Category:{{ucfirst:{{{race|}}}}} skills]] | + | | Profession = {{#if: {{{specialization|}}} |
+ | | [[Category:{{ucfirst:{{{specialization|}}}}} skills]] <!-- Specialization --> | ||
+ | | [[Category:{{ucfirst:{{{profession|}}}}} skills]] <!-- Profession --> | ||
+ | }} | ||
+ | | Racial = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial --> | ||
+ | | Profession+Racial = [[Category:{{ucfirst:{{{profession|}}}}} skills]] [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Profession + Racial --> | ||
+ | | Monster = [[Category:Monster skills]] <!-- Monster --> | ||
+ | | Common = [[Category:Common skills]] <!-- Common --> | ||
}} | }} | ||
<!-- Slot --> | <!-- Slot --> | ||
{{#switch: {{lc:{{{slot|}}}}} | {{#switch: {{lc:{{{slot|}}}}} | ||
− | | healing = [[Category:Healing skills]] | + | | healing = [[Category:Healing skills]] |
− | | elite = [[Category:Elite skills]] | + | | elite = [[Category:Elite skills]] |
− | | utility = [[Category:Utility skills]] | + | | utility = [[Category:Utility skills]] |
− | | bundle = [[Category:Bundle skills]] | + | | bundle = [[Category:Bundle skills]] |
− | | downed = [[Category:Downed skills]] | + | | downed = [[Category:Downed skills]] |
− | | drowning = [[Category:Drowning skills]] | + | | drowning = [[Category:Drowning skills]] |
| 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 | ||
− | | special action = [[Category:Special action skills]] | + | | special action = [[Category:Special action 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]] |
− | | engineering kit = [[Category:{{{kit|}}} skills]] | + | | trait = [[Category:Trait skills]] |
+ | | engineering kit = [[Category:{{{kit|}}} skills]] | ||
}} | }} | ||
− | <!-- | + | <!-- Split skills --> |
− | |||
− | |||
− | |||
− | |||
− | |||
{{#if: {{{split|}}} | {{#if: {{{split|}}} | ||
| [[Category:Split skills]] | | [[Category:Split skills]] | ||
}} | }} | ||
<!-- Transform slot --> | <!-- Transform slot --> | ||
− | {{#if: {{{parent|}}} | | + | {{#if: {{{parent|}}} |
− | + | | {{#ifeq: {{lc:{{{slot|}}}}} | transform | [[Category:{{ucfirst:{{{parent|}}}}} skills]] }} | |
}} | }} | ||
<!-- Type --> | <!-- Type --> | ||
{{#arraymap:{{{type|}}}|,|@@@|{{#switch:{{lc:@@@}} | {{#arraymap:{{{type|}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
− | | 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]] |
| burst | | burst | ||
− | | burst skill = [[Category:Burst skills]] | + | | burst skill = [[Category:Burst skills]] |
− | | cantrip = [[Category:Cantrip skills]] | + | | cantrip = [[Category:Cantrip skills]] |
− | | citadel order = [[Category:Citadel Order skills]] | + | | citadel order = [[Category:Citadel Order skills]] |
− | | clone = [[Category:Clone skills]] | + | | clone = [[Category:Clone skills]] |
− | | command = [[Category:Command skills]] | + | | command = [[Category:Command skills]]{{DEFAULTSORT:{{#replace:{{PAGENAME}}|"|}}}} |
− | | conjure = [[Category:Conjure skills]] | + | | conjure = [[Category:Conjure skills]] |
− | | consecration = [[Category:Consecration skills]] | + | | consecration = [[Category:Consecration skills]] |
− | | corruption = [[Category:Corruption skills]] | + | | corruption = [[Category:Corruption skills]] |
| dual | | dual | ||
− | | dual skill | + | | dual skill |
− | | dual wield = [[Category:Dual Wield skills]] | + | | dual wield = [[Category:Dual Wield skills]] |
− | | deception = [[Category:Deception skills]] | + | | deception = [[Category:Deception skills]] |
− | | elixir = [[Category:Elixir skills]] | + | | elixir = [[Category:Elixir skills]] |
− | | engage = [[Category:Engage skills]] | + | | engage = [[Category:Engage skills]] |
− | | engineering kit = [[Category:Engineering Kit skills]] | + | | engineering kit = [[Category:Engineering Kit skills]] |
− | | exceed = [[Category:Exceed skills]] | + | | exceed = [[Category:Exceed skills]] |
− | | final charge = [[Category:Final Charge skills]] | + | | final charge = [[Category:Final Charge skills]] |
− | | gadget = [[Category:Gadget skills]] | + | | gadget = [[Category:Gadget skills]] |
− | | glamour = [[Category:Glamour skills]] | + | | glamour = [[Category:Glamour skills]] |
− | | 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]] |
− | | legendary demon = [[Category:Legendary Demon skills]] | + | | legendary demon = [[Category:Legendary Demon skills]] |
− | | legendary dragon = [[Category:Legendary Dragon skills]] | + | | legendary dragon = [[Category:Legendary Dragon skills]] |
− | | 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]] |
− | | overload = [[Category:Overload skills]] | + | | overload = [[Category:Overload skills]] |
− | | phantasm = [[Category:Phantasm skills]] | + | | phantasm = [[Category:Phantasm skills]] |
− | | physical = [[Category:Physical skills]] | + | | physical = [[Category:Physical skills]] |
− | | preparation = [[Category:Preparation skills]] | + | | preparation = [[Category:Preparation skills]] |
− | | primal burst = [[Category:Primal Burst skills]] | + | | primal burst = [[Category:Primal Burst skills]] |
− | | punishment = [[Category:Punishment skills]] | + | | punishment = [[Category:Punishment skills]] |
− | | rage = [[Category:Rage skills]] | + | | rage = [[Category:Rage skills]] |
− | | shade = [[Category:Shade skills]] | + | | shade = [[Category:Shade skills]] |
− | | shatter = [[Category:Shatter skills]] | + | | shatter = [[Category:Shatter skills]] |
− | | shout = [[Category:Shout skills]]{{DEFAULTSORT:{{#replace: | + | | shout = [[Category:Shout skills]]{{DEFAULTSORT:{{#replace:{{PAGENAME}}|"|}}}} |
− | | signet = [[Category:Signet skills]] | + | | signet = [[Category:Signet skills]] |
− | | spectral = [[Category:Spectral skills]] | + | | spectral = [[Category:Spectral skills]] |
| spirit | | spirit | ||
− | | spirit skill = [[Category:Spirit skills]] | + | | spirit skill = [[Category:Spirit skills]] |
− | | spirit weapon = [[Category:Spirit Weapon skills]] | + | | spirit weapon = [[Category:Spirit Weapon skills]] |
− | | stance = [[Category:Stance skills]] | + | | stance = [[Category:Stance skills]] |
− | | stealth attack = [[Category:Stealth Attack skills]] | + | | stealth attack = [[Category:Stealth Attack skills]] |
− | | stolen skill = [[Category:Stolen skills]] | + | | stolen skill = [[Category:Stolen skills]] |
− | | survival = [[Category:Survival skills]] | + | | survival = [[Category:Survival skills]] |
− | | symbol = [[Category:Symbol skills]] | + | | symbol = [[Category:Symbol skills]] |
− | | tome = [[Category:Tome skills]] | + | | tome = [[Category:Tome skills]] |
− | | tool belt = [[Category:Tool belt skills]] | + | | tool belt = [[Category:Tool belt skills]] |
− | | transform = [[Category:Transform skills]] | + | | transform = [[Category:Transform skills]] |
− | | trap = [[Category:Trap skills]] | + | | trap = [[Category:Trap skills]] |
− | | 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]] |
− | | ward = [[Category:Ward skills]] | + | | ward = [[Category:Ward skills]] |
− | | well = [[Category:Well skills]] | + | | well = [[Category:Well skills]] |
}}|}} | }}|}} | ||
<!-- Weapon --> | <!-- Weapon --> | ||
{{#if: {{{mainhand|}}} | {{#if: {{{mainhand|}}} | ||
| {{#switch: {{lc:{{{mainhand}}}}} | | {{#switch: {{lc:{{{mainhand}}}}} | ||
− | + | | scepter = [[Category:Scepter skills]] | |
− | + | | #default = [[Category:Main-hand {{lc:{{{mainhand}}}}} skills]] | |
}} | }} | ||
}} | }} | ||
{{#if: {{{offhand|}}} | {{#if: {{{offhand|}}} | ||
| {{#switch: {{lc:{{{offhand}}}}} | | {{#switch: {{lc:{{{offhand}}}}} | ||
− | + | | none | empty = | |
− | + | | focus | |
− | + | | shield | |
− | + | | torch | |
− | + | | warhorn = [[Category:{{ucfirst:{{{offhand}}}}} skills]] | |
− | + | | #default = [[Category:Off-hand {{lc:{{{offhand}}}}} skills]] | |
}} | }} | ||
}} | }} | ||
{{#if: {{{twohand|}}} | {{#if: {{{twohand|}}} | ||
| {{#switch: {{{slot|}}} | | {{#switch: {{{slot|}}} | ||
− | + | | weapon = [[Category:{{ucfirst:{{{twohand}}}}} skills]] | |
}} | }} | ||
}} | }} | ||
Строка 526: | Строка 752: | ||
| [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | ||
}} | }} | ||
− | }}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] '' | + | }}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] ''This skill has an [[underwater mode|underwater]] replacement: [[{{{uw-replaced-by}}}]]''}}{{#if: {{{uw-replaces|}}}|{{#ifeq:{{{uw-replaces|}}}|none|:[[File:Underwater.png|x20px]] ''This skill is only available [[underwater mode|underwater]] and has no land replacement.''|:[[File:Underwater.png|x20px]] ''This skill is the [[underwater mode|underwater]] replacement for: [[{{{uw-replaces|}}}]]''}}}} |
− | {{Quotation| | + | {{Quotation|In-game description <sup><nowiki>[</nowiki>[[Guild Wars 2 Wiki:Skill formatting|?]]<nowiki>]</nowiki></sup>|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''No description available.''}}<!-- |
-->{{#if: {{{description|}}} | -->{{#if: {{{description|}}} | ||
| {{#if: {{#pos: {{{description}}} |id="sic"}}<!-- Check for [sic] tags, if so, remove the template before storing the value --> | | {{#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 type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}} | + | | {{#set:Has game description={{#dplreplace:{{#var:description chain}}{{#var:description type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}} |
− | | {{#set:Has game description={{#var:description type}}{{{description|}}}}} | + | | {{#set:Has game description={{#var:description chain}}{{#var:description type}}{{{description|}}}}} |
}} | }} | ||
}}<!-- | }}<!-- | ||
Строка 542: | Строка 768: | ||
| icon = | | icon = | ||
| description = | | description = | ||
− | | description type | + | | description type = |
− | |||
| facts = | | facts = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| profession = | | profession = | ||
| race = | | race = | ||
Строка 559: | Строка 778: | ||
| bundle = | | bundle = | ||
| tonic = | | tonic = | ||
− | | mechanic weapon = | + | | mechanic weapon = |
− | | tool belt = | + | | tool belt = |
| attunement = | | attunement = | ||
− | | activity = | + | | activity = |
− | | 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 = | | activ-type = | ||
Строка 576: | Строка 795: | ||
| chain3 = | | chain3 = | ||
| weapon-slot = | | weapon-slot = | ||
− | | mechanic-slot = | + | | mechanic-slot = |
− | | hero points = | + | | hero points = |
− | | ground-target = | + | | ground-target = |
| id = | | id = | ||
+ | | split = | ||
+ | | activation = | ||
+ | | energy = | ||
+ | | health cost = | ||
+ | | initiative = | ||
+ | | upkeep = | ||
+ | | recharge = | ||
− | | | + | | activation-pvp = |
| energy-pvp = | | energy-pvp = | ||
− | |||
| health cost-pvp = | | health cost-pvp = | ||
+ | | initiative-pvp = | ||
| recharge-pvp = | | recharge-pvp = | ||
+ | | upkeep-pvp = | ||
− | | | + | | activation-wvw = |
| energy-wvw = | | energy-wvw = | ||
− | |||
| health cost-wvw = | | health cost-wvw = | ||
+ | | initiative-wvw = | ||
| recharge-wvw = | | recharge-wvw = | ||
+ | | upkeep-wvw = | ||
}}</pre> | }}</pre> | ||
Строка 605: | Строка 833: | ||
: Optional. Skill description type. On default the parameter ''type'' is used. Setting to "none" disables the skill description type. | : Optional. Skill description type. On default the parameter ''type'' is used. Setting to "none" disables the skill description type. | ||
;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 '' | + | : 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. | ||
Строка 621: | Строка 849: | ||
;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]]. | ||
+ | ;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 | ||
: Profession that uses the skill. Required if the specialization is set too. | : Profession that uses the skill. Required if the specialization is set too. | ||
Строка 629: | Строка 864: | ||
;slot | ;slot | ||
: Skill slot occupied by the skill: | : Skill slot occupied by the skill: | ||
− | :: '' | + | :: ''weapon'': Weapon skill. |
− | :: '' | + | :: ''bundle'': Bundle weapon skill. |
− | :: '' | + | :: ''healing'': Healing skill. |
− | :: '' | + | :: ''utility'': Utility skill. |
− | :: '' | + | :: ''elite'': Elite skill. |
− | :: '' | + | :: ''downed'': Downed skill. |
− | :: '' | + | :: ''drowning'': Drowning skill. |
− | :: '' | + | :: ''downed and drowning'': Both downed and drowning skill. |
− | :: '' | + | :: ''transform'': Transform skill. |
− | :: '' | + | :: ''pet'': Pet skill. |
− | :: '' | + | :: ''mechanic'': Profession specific ability. |
− | :: '' | + | :: ''toy'': Skills provided by toys. |
− | + | :: ''tonic'': Skills provided by tonics. | |
− | :: '' | + | :: ''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. | ||
Строка 651: | Строка 884: | ||
;twohand | ;twohand | ||
: Weapon held in both hands. | : Weapon held in both hands. | ||
+ | ;requires offhand | ||
+ | : Off-hand weapon that is required for this skill. Can be set to "none". | ||
;bundle | ;bundle | ||
: Bundles that grant the skill. | : Bundles that grant the skill. | ||
Строка 664: | Строка 899: | ||
: 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. | ||
Строка 681: | Строка 916: | ||
;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>. | ||
;type | ;type | ||
: Skill type, such as [[signet]]. | : Skill type, such as [[signet]]. | ||
+ | ;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. | ||
;activ-type | ;activ-type | ||
: Activation type: | : Activation type: |
Версия 16:17, 29 февраля 2020
Description
{{Skill infobox | name = | icon = | description = | description type = | facts = | profession = | race = | slot = | mainhand = | offhand = | twohand = | bundle = | tonic = | mechanic weapon = | tool belt = | attunement = | activity = | kit = | pet = | pet-family = | monster = | parent = | uw-replaced-by = | uw-replaces = | type = | activ-type = | chain1 = | chain2 = | chain3 = | weapon-slot = | mechanic-slot = | hero points = | ground-target = | id = | split = | activation = | energy = | health cost = | initiative = | upkeep = | recharge = | activation-pvp = | energy-pvp = | health cost-pvp = | initiative-pvp = | recharge-pvp = | upkeep-pvp = | activation-wvw = | energy-wvw = | health 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, 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
- The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{skill fact}} template.
- activation
- Activation time. Enter as a decimal, e.g. 1.25.
- initiative
- Initiative cost.
- energy
- Energy cost.
- upkeep
- Energy upkeep cost.
- health cost
- Health cost.
- recharge
- Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set Property:Has recharge time.
- 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.
- 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.
- 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.
- mechanic weapon
- Weapon related to a certain profession mechanic.
- tool belt
- The associated tool belt skill.
- attunement
- Attunement for elementalist's weapon skills.
- activity
- The activity in which the skill is available.
- kit
- The engineering kit that provides the skill.
- pet
- Pet species name (e.g. Jaguar), for skills unique to a specific pet. Do not include the "Juvenile" prefix, the template handles that internally.
- pet-family
- Pet family name (e.g. Feline), for skills common to that family.
- archetype
- Pet archetype, for skills that require a that archetype.
- monster
- The monster or monster type that uses this skill. Multiple monsters can be specified with semi-colons.
- parent
- Parent skill — the skill which gives access to this skill.
- uw-replaced-by
- For skills that are not usable underwater.
- If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
- If the skill is not usable underwater and does not have a replacment, input none.
- uw-replaces
- For underwater skills that replace a normal skill, name of the skill it replaces.
- If the skill is only usable underwater and does not have a land replacment, input none.
- type
- Skill type, such as signet.
- 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.
- activ-type
- Activation type:
- chain: Chain skill.
- channeled or hold: Channeled skill.
- charge: Charge skill.
- chain1 .. chain4
- Skill sequence. Set with the names of the skills in the chain.
- weapon-slot
- Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
- mechanic-slot
- Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar.
- hero points
- Slot skills only. Used to indicate how many hero points required to unlock the skill.
- ground-target
- Whether the skill has ground targeting or not. Parameter expects type of ground targeting, but providing anything will automatically display to the rightmost of upper properties.
- id
- The skill's internal ID. Generates a game link in the infobox.
- categorize
- Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
- status
- Optional. Status of skill. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
- status notes
- Optional. Allows provision of additional reason for the given status.
- status date
- Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
- requires
- Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.
Examples
{{Skill infobox | icon = Skill.png | description = This is an example. | activation = 1.5 | recharge = 45 | facts = {{skill fact|bleeding|5}} | profession = elementalist | specialization = tempest | slot = Weapon | twohand = staff | attunement = fire | weapon-slot = 5 | ground-target = circle | id = 12345 }}
Skill infobox
- Профессия
- Элементалист (список умений)
- Специализация
- Буря
- Оружие
- Посох
- Настройка
- Огонь
- Игр. ссылка
- API
- 12345
“This is an example.
- Кровотечение (5 сек): 110 урона.
— Внутриигровое описание