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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показаны 44 промежуточные версии этого же участника)
Строка 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}}
+
  | 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+Racial}}
+
       | 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+Racial = {{#set:
+
  | 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
Строка 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: {{lc:{{{slot|}}}}}
+
    | 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
 +
          | 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 -->
 
       | utility = 0 <!-- set it to 0 for glyph skills, due to the sort property position it would sort 1) all the main glyph skills and 2) then all fire attunement 3) water 4) air 5) earth -->
 
       | #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }}
 
       | #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }}
           | fire         = 1
+
           | fire         = 1
 
           | water        = 2
 
           | water        = 2
           | air           = 3
+
           | air         = 3
 
           | earth        = 4
 
           | earth        = 4
 
           | fire,water
 
           | fire,water
Строка 94: Строка 163:
 
           | #default    = 0
 
           | #default    = 0
 
         }}
 
         }}
       }}
+
       }}}}
     | Has skill context sort order ={{#switch: {{lc:{{{slot|}}}}}
+
     | Has skill context sort order ={{#vardefineecho: skill context sort order|{{#switch: {{lc:{{{slot|}}}}}
 
       | weapon    = 1
 
       | weapon    = 1
 
       | engineering kit
 
       | engineering kit
Строка 110: Строка 179:
 
       | trait    = 11
 
       | trait    = 11
 
       | #default  = 12
 
       | #default  = 12
       }}
+
       }}}}
     | Has skill slot sort order ={{#switch: {{lc:{{{slot|}}}}}
+
     | Has skill slot sort order ={{#vardefineecho: skill slot sort order|{{#switch: {{lc:{{{slot|}}}}}
 
       | pet
 
       | pet
       | mechanic = {{#if:{{{mechanic-slot|}}}|{{#expr:{{{mechanic-slot}}}-6}}|0}} <!-- storing F1,..,F5 as -5,...,-1, allowing to sort it before weapon slots, e.g. burst skills -->
+
       | 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}}}|0}} <!-- on default use weapon-slot, else set to 0 -->
+
       | #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 ={{#if: {{{sort type|}}} <!-- if sort type -->
+
     | 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
Строка 136: Строка 205:
 
             }}
 
             }}
 
         }}
 
         }}
       }}|+sep=,
+
       }}}}|+sep=,
    | Has weapon type sort order ={{#switch: {{lc:{{{slot|}}}}}
 
      | weapon
 
      | mechanic = {{#switch: {{lc:{{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{mechanic weapon|}}}}}
 
          | axe    = 1
 
          | dagger  = 2
 
          | mace    = 3
 
          | pistol  = 4
 
          | scepter = 5
 
          | sword  = 6
 
          | focus  = 7
 
          | warhorn = 8
 
          | torch  = 9
 
          | shield  = 10
 
          | greatsword = 11
 
          | hammer  = 12
 
          | longbow = 13
 
          | rifle  = 14
 
          | short bow = 15
 
          | staff  = 16
 
          | spear  = 17
 
          | harpoon gun = 18
 
          | trident = 19
 
          | #default = 100 <!-- non-weapon related profession mechanic skills -->
 
        }}
 
      | engineering kit
 
      | bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}}
 
          | tome of justice  = 20
 
          | tome of courage  = 21
 
          | tome of resolve  = 22
 
          | med kit          = 23
 
          | bomb kit        = 24
 
          | elixir gun      = 25
 
          | flamethrower    = 26
 
          | grenade kit      = 27
 
          | tool kit        = 28
 
          | elite mortar kit = 29
 
          | conjured flame  = 30
 
          | frost bow        = 31
 
          | lightning hammer = 32
 
          | magnetic shield (bundle) = 33
 
          | fiery greatsword = 34
 
          | #default        = 100 <!-- historical, etc... -->
 
        }}
 
      | transform = {{#switch: {{lc:{{{parent|}}}}}
 
          | rampage          = 40
 
          | engage photon forge = 41
 
          | celestial avatar = 42
 
          | tornado          = 43
 
          | whirlpool        = 44
 
          | death shroud    = 45
 
          | lich form        = 46
 
          | reaper's shroud  = 47
 
          | #default        = 100 <!-- historical, etc... -->
 
        }}
 
      | #default = 100 <!-- default value -->
 
      }}
 
    | Has skill sort order ={{#if: {{{sort|}}}
 
      | {{ucfirst:{{{sort|}}}}}
 
      | {{#if: {{{chain1|}}}
 
          | {{ucfirst:{{{chain1|}}}}}
 
          | {{PAGENAME}}
 
        }}
 
      }}
 
 
   }}
 
   }}
 
}}
 
}}
 +
 +
<!-- 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 -->
Строка 210: Строка 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}}
 
   }}
 
   }}
Строка 216: Строка 231:
  
 
<!-- Underwater useability -->
 
<!-- Underwater useability -->
{{#if: {{{uw-replaced-by|}}}
+
{{#switch: {{lc:{{{slot|}}}}}
| {{#set:Is usable underwater=Land only}}
+
| downed  = {{#set:Is usable underwater=Land only}}{{#vardefine:underwater useability|Land only}}
| {{#if: {{{uw-replaces|}}}
+
| drowning = {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}}
    | {{#set:Is usable underwater=Underwater only}}
+
| downed and drowning = {{#set:Is usable underwater=Land and Underwater}}{{#vardefine:underwater useability|Land and Underwater}}
    | {{#switch: {{lc:{{{slot|}}}}}
+
| #default = {{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}}
      | weapon  = {{#switch: {{lc:{{{twohand       |}}}}} | harpoon gun | spear | trident = {{#set:Is usable underwater=Underwater only}} | #default = {{#set:Is usable underwater=Land only}} }}
+
    | {{#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}} | #default = {{#set:Is usable underwater=Land only}}
+
    | {{#if: {{{uw replaces|{{{uw-replaces|}}}}}}
                    | <!-- empty --> = {{#set:Is usable underwater=Land and Underwater}}
+
      | {{#set:Is usable underwater=Underwater only}}{{#vardefine:underwater useability|Underwater only}}
                    }}
+
      | {{#switch: {{lc:{{{slot|}}}}}
      | #default = {{#set:Is usable underwater=Land and Underwater}}
+
          | 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}}
 +
        }}
 
       }}
 
       }}
 
   }}
 
   }}
Строка 251: Строка 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|{{{parent|}}}}}}}}
 
       | {{#switch: {{lc:{{{profession|}}} {{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{bundle|{{{parent|}}}}}}}}
 
           | #default = {{#ifexpr: 0 < {{#var:chain sequence position}} AND {{#var:chain sequence position}} < 3 | {{#vardefine:description chain|{{skill type|Chain}}}}}} <!-- only the first skill descriptions display "Chain." -->
 
           | #default = {{#ifexpr: 0 < {{#var:chain sequence position}} AND {{#var:chain sequence position}} < 3 | {{#vardefine:description chain|{{skill type|Chain}}}}}} <!-- only the first skill descriptions display "Chain." -->
 
           | warrior dagger
 
           | warrior dagger
 +
          | warrior unsheathe gunsaber
 
           | engineer hammer
 
           | engineer hammer
 
           | necromancer greatsword
 
           | necromancer greatsword
Строка 266: Строка 293:
 
           | revenant staff
 
           | revenant staff
 
           | revenant sword
 
           | revenant sword
 +
          | revenant greatsword
 
           | warrior rampage
 
           | warrior rampage
 
           | engineer sword
 
           | engineer sword
Строка 291: Строка 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
Строка 326: Строка 357:
 
       | 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 = {{#ifeq: {{#show: {{PAGENAME}} | ?Has chain sequence position | default = -1 }} | 2 | <!--display nothing--> | Mantra }}
+
       | mantra = Mantra
 
       | mark = Mark
 
       | mark = Mark
 +
      | mech command = Mech Command
 
       | meditation = Meditation
 
       | meditation = Meditation
 
       | minion = Minion
 
       | minion = Minion
Строка 336: Строка 369:
 
       | preparation = Preparation
 
       | preparation = Preparation
 
       | primal burst = Primal Burst
 
       | primal burst = Primal Burst
 +
      | psionic = Psionic
 
       | punishment = Punishment
 
       | punishment = Punishment
 
       | rage = Rage
 
       | rage = Rage
Строка 358: Строка 392:
 
       | trick = Trick
 
       | trick = Trick
 
       | turret = Turret
 
       | turret = Turret
 +
      | unleashed ambush = Unleashed Ambush
 
       | venom = Venom
 
       | venom = Venom
 
       | virtue = <!-- manually: Virtue:/Activate: -->
 
       | virtue = <!-- manually: Virtue:/Activate: -->
Строка 363: Строка 398:
 
       | well = Well
 
       | well = Well
 
     }}}}|}}
 
     }}}}|}}
 +
}}
 +
 +
<!-- Chat link build templates skill palette ids --->
 +
{{#if: {{{palette id|}}}
 +
| {{#set: Has skill palette id={{{palette id}}}|+sep=, }}
 
}}
 
}}
  
Строка 374: Строка 414:
 
     | 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-wvw = {{{initiative-wvw|}}}
+
     | initiative wvw = {{{initiative wvw|{{{initiative-wvw|}}}}}}
     | initiative-pvp = {{{initiative-pvp|}}}
+
     | initiative pvp = {{{initiative pvp|{{{initiative-pvp|}}}}}}
 
     | activation = {{#replace:{{{activation|}}}|.|,}}
 
     | activation = {{#replace:{{{activation|}}}|.|,}}
 
     | energy = {{{energy|}}}
 
     | energy = {{{energy|}}}
     | energy-wvw = {{{energy-wvw|}}}
+
     | energy wvw = {{{energy wvw|{{{energy-wvw|}}}}}}
     | energy-pvp = {{{energy-pvp|}}}
+
     | energy pvp = {{{energy pvp|{{{energy-pvp|}}}}}}
 
     | upkeep = {{{upkeep|}}}
 
     | upkeep = {{{upkeep|}}}
     | upkeep-wvw = {{{upkeep-wvw|}}}
+
     | upkeep wvw = {{{upkeep wvw|{{{upkeep-wvw|}}}}}}
     | upkeep-pvp = {{{upkeep-pvp|}}}
+
     | upkeep pvp = {{{upkeep pvp|{{{upkeep-pvp|}}}}}}
 
     | health cost = {{{health cost|}}}
 
     | health cost = {{{health cost|}}}
     | health cost-wvw = {{{health cost-wvw|}}}
+
     | health cost wvw = {{{health cost wvw|{{{health cost-wvw|}}}}}}
     | health cost-pvp = {{{health cost-pvp|}}}
+
     | health cost pvp = {{{health cost pvp|{{{health cost-pvp|}}}}}}
     | recharge = {{{recharge|}}}
+
    | page cost = {{{page cost|}}}
     | recharge-wvw = {{{recharge-wvw|}}}
+
    | page cost wvw = {{{page cost wvw|}}}
     | recharge-pvp = {{{recharge-pvp|}}}
+
    | page cost pvp = {{{page cost pvp|}}}
     | ground-target = {{{ground-target|}}}
+
     | 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-family = {{{pet-family|}}}
+
     | pet family = {{{pet family|{{{pet-family|}}}}}}
 
     | parent = {{{parent|}}}
 
     | parent = {{{parent|}}}
 
     | slot = {{{slot|}}}
 
     | slot = {{{slot|}}}
Строка 403: Строка 449:
 
     | twohand = {{{twohand|}}}
 
     | twohand = {{{twohand|}}}
 
     | mechanic weapon = {{{mechanic weapon|}}}
 
     | mechanic weapon = {{{mechanic weapon|}}}
 +
    | mechanic trait = {{{mechanic trait|}}}
 
     | bundle = {{{bundle|}}}
 
     | bundle = {{{bundle|}}}
 
     | kit = {{{kit|}}}
 
     | kit = {{{kit|}}}
Строка 408: Строка 455:
 
     | sort type = {{{sort type|}}}
 
     | sort type = {{{sort type|}}}
 
     | sort = {{{sort|}}}
 
     | sort = {{{sort|}}}
     | activ-type = {{{activ-type|}}}
+
     | activation type = {{{activation type|{{{activ-type|}}}}}}
 
     | movement type = {{{movement type|}}}
 
     | movement type = {{{movement type|}}}
     | weapon-slot = {{{weapon-slot|}}}
+
     | weapon slot = {{{weapon slot|{{{weapon-slot|}}}}}}
     | mechanic-slot = {{{mechanic-slot|}}}
+
     | mechanic slot = {{{mechanic slot|{{{mechanic-slot|}}}}}}
 
     | attunement = {{{attunement|}}}
 
     | attunement = {{{attunement|}}}
 
     | archetype = {{{archetype|}}}
 
     | archetype = {{{archetype|}}}
Строка 418: Строка 465:
 
     | chain3 = {{{chain3|}}}
 
     | chain3 = {{{chain3|}}}
 
     | chain4 = {{{chain4|}}}
 
     | chain4 = {{{chain4|}}}
     | uw-replaced-by = {{{uw-replaced-by|}}}
+
     | uw replaced by = {{{uw replaced by|{{{uw-replaced-by|}}}}}}
     | uw-replaces = {{{uw-replaces|}}}
+
     | uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}}
 
     | id = {{{id|}}}
 
     | id = {{{id|}}}
 +
    | palette id = {{{palette id|}}}
 
     | other ids  = {{{other ids|}}}
 
     | other ids  = {{{other ids|}}}
 
     | description = {{#var:description chain}}{{#var:description type}}{{{description|}}}
 
     | description = {{#var:description chain}}{{#var:description type}}{{{description|}}}
Строка 426: Строка 474:
 
     | 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+Racial = {{#set:Is for game mode =Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". -->
+
  | {{#switch: {{#var:supertype}} | Profession | Racial | Profession,Racial | Common = {{#set:Is for game mode=Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". -->
 
}}
 
}}
  
Строка 437: Строка 493:
 
<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#Прицеливание на землю|Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}}
 
  | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}}
}}{{#if: {{{uw-replaced-by|}}}
+
}}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}}
   | <span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> &nbsp;
+
   | [[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]] &nbsp;
 
}}{{#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-pve|{{#replace:{{{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}}}}}
 
         }} &nbsp;
 
         }} &nbsp;
 
   }}
 
   }}
}}{{#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}}}}}
 
     }} &nbsp;
 
     }} &nbsp;
}}{{#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}}}}}
 
     }} &nbsp;
 
     }} &nbsp;
}}{{#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}}}}}
 
     }} &nbsp;
 
     }} &nbsp;
}}{{#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}}}}}
 
     }} &nbsp;
 
     }} &nbsp;
}}{{#if: {{{recharge|}}}{{{recharge-pve|}}}
+
}}{{#if: {{{page cost|}}}{{{page cost pve|}}}
   | {{#set:Has recharge time={{{recharge-pve|{{#replace:{{{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}}}}}
 +
    }} &nbsp;
 +
}}{{#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+Racial =
+
  | Profession,Racial =
 
; [[Profession|Профессия]]
 
; [[Profession|Профессия]]
 
: {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!--
 
: {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!--
Строка 505: Строка 567:
 
; [[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|}}}}}} |
 
; Сем.&nbsp;[[pet|питомца]]
 
; Сем.&nbsp;[[pet|питомца]]
: [[Is for pet family::{{ucfirst:{{{pet-family|}}}}}|{{rus lang|pet family|{{{pet-family}}}}}]]
+
: {{#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}}} |;|@@@| [[Is for monster::{{ucfirst:@@@}}]]|<br>}}
+
: {{#arraymap: {{{monster}}} |;|@@@| {{cname|@@@}}{{#set: Is for monster={{ucfirst:@@@}} }}|<br>}}
 
}}{{#if: {{{parent|}}} |
 
}}{{#if: {{{parent|}}} |
 
; Род. умение
 
; Род. умение
Строка 556: Строка 621:
 
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}}
 
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}}
 
}}
 
}}
| engineering kit    = ; [[Engineering Kit|Инж. набор]]: {{skill icon|{{{kit}}}|size=20}} {{#set:Is for bundle={{{kit}}}|Has skill context=Bundle}}
+
| 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:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=Bundle}}
+
| 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}}
Строка 565: Строка 630:
 
| 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|список&nbsp;умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number={{{mechanic-slot|}}}}}
+
| pet                = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список&nbsp;умений]])</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 weapon|}}}|; [[Weapon|Оружие]]: [[Is for weapon::{{ucfirst:{{{mechanic weapon|}}}}}|{{rus lang|weapon|{{{mechanic weapon}}}}}]]}}{{#set:Has profession mechanic slot number={{{mechanic-slot|}}}}}
+
| 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}}} |,|@@@| [[@@@]] }} }}
+
| 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}}}}}
Строка 576: Строка 647:
 
-->{{#if: {{{activity|}}} |
 
-->{{#if: {{{activity|}}} |
 
; [[Activity|Мероприятие]]
 
; [[Activity|Мероприятие]]
: {{#switch: {{lc:{{{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:{{{activity|}}}}}]]{{#set:Has skill context=Activity|Is for activity={{ucfirst:{{{activity|}}}}}}}
+
   | #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|}}}
 +
  | 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 = +}}
 
  |;
 
  |;
: [[File:Weapon slot {{{weapon-slot}}} tango.png|65x20px|Оружейный слот {{{weapon-slot}}}|link=]] }}
+
: {{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
Строка 607: Строка 700:
 
   | 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
Строка 616: Строка 709:
 
   | sequence  = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}}
 
   | sequence  = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}}
 
   }}
 
   }}
 +
}}{{#if: {{{chain1|}}} |
 +
; [[Sequence skill|Очередность]]
 +
: {{#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>}}|&nbsp;&rarr;&nbsp; }}
 +
  {{#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|@@@}}]]|,&#32;}}
 
}}{{#if: {{{movement type|}}} |
 
}}{{#if: {{{movement type|}}} |
 
; [[Movement|Движение]]
 
; [[Movement|Движение]]
Строка 624: Строка 727:
 
   | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}}
 
   | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}}
 
   }}
 
   }}
}}{{#if: {{{chain1|}}} |
 
; [[Sequence skill|Очередность]]
 
: {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}|&nbsp;&rarr;&nbsp; }}
 
  {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}}
 
 
}}{{#if: {{{hero points|}}} |
 
}}{{#if: {{{hero points|}}} |
 
; [[Training|Изучение]]
 
; [[Training|Изучение]]
: {{{hero points}}} [[Hero point|Очки героя]]
+
: {{{hero points}}} [[Hero point|{{#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|}}}
  | {{#if: {{{status|}}}
+
  | {{#switch: {{{status|}}}
     | <!-- do nothing if non-current -->
+
     | historical | unimplemented = <!-- do nothing if not current or future -->
     | {{#switch: {{#var:supertype}}
+
     | #default = {{#switch: {{#var:supertype}}
 
       | Profession
 
       | Profession
       | Profession+Racial
+
       | Profession,Racial
 
       | Racial
 
       | Racial
 
       | Monster =
 
       | Monster =
; Внеш.&nbsp;ссылки
+
; [[API:2/skills|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" -->
+
: [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 -->
 
       }}
 
       }}
Строка 649: Строка 748:
 
}}
 
}}
 
</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 --> }}
Строка 658: Строка 795:
 
  | <!-- 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|}}}
  | {{#switch: {{lc:{{{activity|}}}}}
+
  | {{#arraymap: {{{activity|}}} |,|@@@| {{#switch: {{lc:@@@}}
 
     | costume
 
     | costume
 
     | costume brawl = [[Category:Costume Brawl skills]]
 
     | costume brawl = [[Category:Costume Brawl skills]]
     | #default      = [[Category:{{ucfirst:{{{activity|}}}}} skills]]
+
     | #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]]
Строка 692: Строка 830:
 
}}
 
}}
 
<!-- Ground targeting -->
 
<!-- Ground targeting -->
{{#if: {{{ground-target|}}}
+
{{#if: {{{ground target|{{{ground-target|}}}}}}
 
  | [[Category:Ground-targeted skills]]
 
  | [[Category:Ground-targeted skills]]
 
}}
 
}}
Строка 702: Строка 840:
 
   }}
 
   }}
 
  | Racial            = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial        -->
 
  | Racial            = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial        -->
  | Profession+Racial = [[Category:{{ucfirst:{{{profession|}}}}} skills]] [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Profession + Racial -->
+
  | 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        -->
Строка 716: Строка 854:
 
  | 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
Строка 736: Строка 875:
 
  | 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]]
Строка 760: Строка 901:
 
  | 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]]
Строка 766: Строка 908:
 
  | 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]]
Строка 797: Строка 942:
 
  | 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]]
Строка 827: Строка 973:
 
  | [[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]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw-replaced-by}}}]]''}}{{#if: {{{uw-replaces|}}}|{{#ifeq:{{{uw-replaces|}}}|none|:[[File:Underwater.png|x20px]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}}}
+
}}</includeonly><noinclude>
{{Quotation|Внутриигровое описание <sup><nowiki>[</nowiki>[[Guild Wars 2 Wiki:Skill formatting|?]]<nowiki>]</nowiki></sup>|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''Описание отсутствует.''}}<!--
 
-->{{#if: {{{description|}}}
 
  | {{#if: {{#pos: {{{description}}} |id="sic"}}<!-- Check for [sic] tags, if so, remove the template before storing the value -->
 
    | {{#set:Has game description={{#dplreplace:{{#var:description chain}}{{#var:description type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}}
 
    | {{#set:Has game description={{#var:description chain}}{{#var:description type}}{{{description|}}}}}
 
    }}
 
  }}<!--
 
-->{{#if: {{{facts|{{{variables|}}}}}} | {{{facts|{{{variables}}}}}}{{#set: Has skill facts = {{{facts|{{{variables}}}}}} }} }}
 
}}<!--
 
-->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}}</includeonly><noinclude>
 
 
== Description ==
 
== Description ==
 +
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 =  
Строка 846: Строка 985:
 
| facts =  
 
| facts =  
 
| profession =  
 
| profession =  
 +
| specialization =
 
| race =  
 
| race =  
 
| slot =  
 
| slot =  
Строка 854: Строка 994:
 
| tonic =  
 
| tonic =  
 
| mechanic weapon =  
 
| mechanic weapon =  
 +
| mechanic trait =
 
| tool belt =  
 
| tool belt =  
 
| attunement =  
 
| attunement =  
Строка 859: Строка 1000:
 
| 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 =  
+
| activation type =  
 
| movement type =  
 
| movement type =  
 
| chain1 =  
 
| chain1 =  
 
| chain2 =  
 
| chain2 =  
 
| chain3 =  
 
| chain3 =  
| weapon-slot =  
+
| weapon slot =  
| mechanic-slot =  
+
| mechanic slot =  
 
| training track =  
 
| training track =  
 
| training order =  
 
| training order =  
 
| hero points =  
 
| hero points =  
| ground-target =  
+
| ground target =  
 
| id =  
 
| id =  
 
| split =  
 
| split =  
 
| activation =  
 
| activation =  
 +
| ammunition =
 
| energy =  
 
| energy =  
 
| health cost =  
 
| health cost =  
 +
| page cost =
 
| initiative =  
 
| initiative =  
 
| upkeep =  
 
| upkeep =  
 
| recharge =  
 
| recharge =  
  
| activation-pvp =
+
| activation pvp =  
| energy-pvp =  
+
| ammunition pvp =
| health cost-pvp =  
+
| energy pvp =  
| initiative-pvp =  
+
| health cost pvp =
| recharge-pvp =  
+
| page cost pvp =  
| upkeep-pvp =  
+
| initiative pvp =  
 +
| recharge pvp =  
 +
| upkeep pvp =  
  
| activation-wvw =  
+
| activation wvw =
| energy-wvw =  
+
| ammunition wvw =  
| health cost-wvw =  
+
| energy wvw =  
| initiative-wvw =  
+
| health cost wvw =
| recharge-wvw =  
+
| page cost wvw =  
| upkeep-wvw =  
+
| initiative wvw =  
 +
| recharge wvw =  
 +
| upkeep wvw =  
 
}}</pre>
 
}}</pre>
  
Строка 912: Строка 1059:
 
;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 ''-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.
+
: To set ''activation'', ''ammunition'', ''energy'', ''health cost'', ''page 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.
Строка 919: Строка 1066:
 
;activation
 
;activation
 
: Activation time. Enter as a decimal, e.g. 1.25.
 
: Activation time. Enter as a decimal, e.g. 1.25.
 +
;ammunition
 +
: Ammunition (maximum count) number.
 
;initiative
 
;initiative
 
: Initiative cost.
 
: Initiative cost.
Строка 927: Строка 1076:
 
;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]].
Строка 954: Строка 1105:
 
:: ''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.
Строка 969: Строка 1122:
 
: 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.
Строка 977: Строка 1132:
 
: 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-family
+
;pet family
 
: Pet family name (e.g. [[Feline]]), for skills common to that family.
 
: Pet family name (e.g. [[Feline]]), for skills common to that family.
 
;archetype
 
;archetype
Строка 990: Строка 1145:
 
;parent
 
;parent
 
: Parent skill — the skill which gives access to this skill.
 
: Parent skill — the skill which gives access to this skill.
;uw-replaced-by
+
;uw replaced by
 
: For skills that are not usable [[underwater mode|underwater]].
 
: For skills that are not usable [[underwater mode|underwater]].
 
:: If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
 
:: If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
 
:: If the skill is not usable underwater and ''does not'' have a replacment, input <tt>none</tt>.
 
:: If the skill is not usable underwater and ''does not'' have a replacment, input <tt>none</tt>.
;uw-replaces
+
;uw replaces
 
: For underwater skills that replace a normal skill, name of the skill it replaces.
 
: For underwater skills that replace a normal skill, name of the skill it replaces.
 
:: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>.
 
:: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>.
 
;type
 
;type
: Skill type, such as [[signet]].
+
: Skill type, such as [[signet]]. 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.
;activ-type
+
;activation type
 
: Activation type:
 
: Activation type:
 
:: '''<tt>chain</tt>''': Chain skill.
 
:: '''<tt>chain</tt>''': Chain skill.
Строка 1016: Строка 1171:
 
;chain1 .. chain4
 
;chain1 .. chain4
 
: Skill sequence. Set with the names of the skills in the chain.
 
: Skill sequence. Set with the names of the skills in the chain.
;weapon-slot
+
;weapon slot
 
: Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
 
: Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
;mechanic-slot
+
;mechanic slot
 
: Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar.
 
: Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar.
 
;training track
 
;training track
Строка 1026: Строка 1181:
 
;hero points
 
;hero points
 
: Slot (heal/utility/elite) skills only. Used to indicate how many hero points required to unlock the skill. Sets [[Property:Has training hero point cost]].
 
: Slot (heal/utility/elite) skills only. Used to indicate how many hero points required to unlock the skill. Sets [[Property:Has training hero point cost]].
;ground-target
+
;ground target
 
: Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties.
 
: Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties.
 +
;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. Generates a game link in the infobox.
+
: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.
Строка 1040: Строка 1201:
 
;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
Строка 1054: Строка 1219:
 
| twohand = staff
 
| twohand = staff
 
| attunement = fire
 
| attunement = fire
| weapon-slot = 5
+
| weapon slot = 5
| ground-target = circle
+
| ground target = circle
 
| id = 12345
 
| id = 12345
 
}}</pre>
 
}}</pre>
Строка 1069: Строка 1234:
 
| twohand = staff
 
| twohand = staff
 
| attunement = fire
 
| attunement = fire
| weapon-slot = 5
+
| weapon slot = 5
| ground-target = circle
+
| ground target = circle
 
| id = 12345
 
| id = 12345
 
| categorize = n
 
| categorize = n

Текущая версия на 18:14, 3 января 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 Skill.png instead.
description
Skill description.
description type
Optional. Skill description type. On default the parameter type is used. Setting to "none" disables the skill description type.
split
Game modes that this skill applies to. See {{Game mode version}}. Calls {{Skill infobox/subobject}} for each game mode beside PvE to create subobjects.
To set activation, ammunition, energy, health cost, page 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.
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 Ground target aim.png 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
}}

This is an example.

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

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