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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показано 6 промежуточных версий этого же участника)
Строка 10: Строка 10:
  
 
-->| Has context=Skill<!--
 
-->| Has context=Skill<!--
-->| Has skill supertype={{{supertype|}}}<!--
+
-->| Has skill supertype={{{supertype|}}}|+sep=,<!--
 
-->| Is for profession={{#if: {{{profession|}}} | {{#switch: {{lc:{{{profession}}}}} | guardian | revenant | warrior | engineer | ranger | thief | elementalist | mesmer | necromancer = {{ucfirst:{{{profession}}}}} }} }}<!--
 
-->| Is for profession={{#if: {{{profession|}}} | {{#switch: {{lc:{{{profession}}}}} | guardian | revenant | warrior | engineer | ranger | thief | elementalist | mesmer | necromancer = {{ucfirst:{{{profession}}}}} }} }}<!--
-->| Has profession sort order={{#if: {{{profession|}}} | {{#switch: {{lc:{{{profession}}}}}
+
-->| Has profession sort order={{{profession sort order|}}}<!--
      | guardian    = 1
+
-->| Has specialization sort order={{{specialization sort order|}}}<!--
      | revenant    = 2
+
-->| Has skill context sort order={{{skill context sort order|}}}<!--
      | warrior      = 3
+
-->| Has weapon type sort order={{{weapon type sort order|}}}<!--
      | engineer    = 4
+
-->| Has attunement sort order={{{attunement sort order|}}}<!--
      | ranger      = 5
+
-->| Has skill slot sort order={{{skill slot sort order|}}}<!--
      | thief        = 6
+
-->| Has skill type sort order={{{skill type sort order|}}}|+sep=,<!--
      | elementalist = 7
+
-->| Has skill sort order={{{skill sort order|}}}<!--
      | mesmer      = 8
 
      | necromancer  = 9
 
    }} }}<!--
 
-->| Has specialization sort order={{#if: {{{profession|}}} | {{#switch: {{lc:{{{profession}}}}} | guardian | revenant | warrior | engineer | ranger | thief | elementalist | mesmer | necromancer = {{#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: {{lc:{{{slot|}}}}}
 
      | utility = 0
 
      | #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }}
 
        | fire        = 1
 
        | water        = 2
 
        | air          = 3
 
        | earth        = 4
 
        | fire,water
 
        | water,fire  = 5
 
        | fire,air
 
        | air,fire    = 6
 
        | fire,earth
 
        | earth,fire  = 7
 
        | water,air
 
        | air,water    = 8
 
        | water,earth
 
        | earth,water  = 9
 
        | air,earth    = 10
 
        | #default    = 0
 
        }}
 
    }}<!--
 
-->| Has skill context sort order ={{#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 slot sort order ={{#switch: {{lc:{{{slot|}}}}}
 
      | 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 -->
 
      | #default = {{#if:{{{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 -->
 
      | {{#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
 
        | #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}}
 
        }}
 
    }}<!--
 
 
 
 
-->| Has game icon=File:{{#if:{{{icon|}}}|{{{icon}}}|{{#replace:{{BASEPAGENAME}}|:|-}}.png}}<!--
 
-->| Has game icon=File:{{#if:{{{icon|}}}|{{{icon}}}|{{#replace:{{BASEPAGENAME}}|:|-}}.png}}<!--
 
-->| Has canonical name={{#if:{{{name|}}}|{{{name}}}|{{#titleparts:{{PAGENAME}}}}}}<!--
 
-->| Has canonical name={{#if:{{{name|}}}|{{{name}}}|{{#titleparts:{{PAGENAME}}}}}}<!--
Строка 182: Строка 31:
 
# all other properties will only be set if the corresponding parameter is set
 
# all other properties will only be set if the corresponding parameter is set
  
-->{{#if:{{{initiative-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative-wvw}}} }}}}}}<!--
+
-->{{#if:{{{ammunition wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition wvw}}} }}}}}}<!--
-->{{#if:{{{initiative-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative-pvp}}} }}}}}}<!--
+
-->{{#if:{{{ammunition pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition pvp}}} }}}}}}<!--
-->{{#if:{{{initiative|}}}|{{#if:{{{initiative-wvw|}}}{{{initiative-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative}}} }}}}}}<!--
+
-->{{#if:{{{ammunition|}}}|{{#if:{{{ammunition wvw|}}}{{{ammunition pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition}}} }}}}}}<!--
 +
 
 +
-->{{#if:{{{initiative wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative wvw}}} }}}}}}<!--
 +
-->{{#if:{{{initiative pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative pvp}}} }}}}}}<!--
 +
-->{{#if:{{{initiative|}}}|{{#if:{{{initiative wvw|}}}{{{initiative pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative}}} }}}}}}<!--
  
 
-->{{#if:{{{activation|}}}|{{#subobject:{{#var:sobj}}| Has activation time={{{activation}}} }}}}<!--
 
-->{{#if:{{{activation|}}}|{{#subobject:{{#var:sobj}}| Has activation time={{{activation}}} }}}}<!--
  
-->{{#if:{{{energy-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy-wvw}}} }}}}}}<!--
+
-->{{#if:{{{energy wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy wvw}}} }}}}}}<!--
-->{{#if:{{{energy-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy-pvp}}} }}}}}}<!--
+
-->{{#if:{{{energy pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy pvp}}} }}}}}}<!--
-->{{#if:{{{energy|}}}|{{#if:{{{energy-wvw|}}}{{{energy-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy}}} }}}}}}<!--
+
-->{{#if:{{{energy|}}}|{{#if:{{{energy wvw|}}}{{{energy pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy}}} }}}}}}<!--
 +
 
 +
-->{{#if:{{{upkeep wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep wvw}}} }}}}}}<!--
 +
-->{{#if:{{{upkeep pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep pvp}}} }}}}}}<!--
 +
-->{{#if:{{{upkeep|}}}|{{#if:{{{upkeep wvw|}}}{{{upkeep pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep}}} }}}}}}<!--
  
-->{{#if:{{{upkeep-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep-wvw}}} }}}}}}<!--
+
-->{{#if:{{{health cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost wvw}}} }}}}}}<!--
-->{{#if:{{{upkeep-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep-pvp}}} }}}}}}<!--
+
-->{{#if:{{{health cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost pvp}}} }}}}}}<!--
-->{{#if:{{{upkeep|}}}|{{#if:{{{upkeep-wvw|}}}{{{upkeep-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep}}} }}}}}}<!--
+
-->{{#if:{{{health cost|}}}|{{#if:{{{health cost wvw|}}}{{{health cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost}}} }}}}}}<!--
  
-->{{#if:{{{health cost-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost-wvw}}} }}}}}}<!--
+
-->{{#if:{{{page cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has page cost={{{page cost wvw}}} }}}}}}<!--
-->{{#if:{{{health cost-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost-pvp}}} }}}}}}<!--
+
-->{{#if:{{{page cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has page cost={{{page cost pvp}}} }}}}}}<!--
-->{{#if:{{{health cost|}}}|{{#if:{{{health cost-wvw|}}}{{{health cost-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost}}} }}}}}}<!--
+
-->{{#if:{{{page cost|}}}|{{#if:{{{page cost wvw|}}}{{{page cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has page cost={{{page cost}}} }}}}}}<!--
  
-->{{#if:{{{recharge-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge-wvw}}} }}}}}}<!--
+
-->{{#if:{{{recharge wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge wvw}}} }}}}}}<!--
-->{{#if:{{{recharge-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge-pvp}}} }}}}}}<!--
+
-->{{#if:{{{recharge pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge pvp}}} }}}}}}<!--
-->{{#if:{{{recharge|}}}|{{#if:{{{recharge-wvw|}}}{{{recharge-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge}}} }}}}}}<!--
+
-->{{#if:{{{recharge|}}}|{{#if:{{{recharge wvw|}}}{{{recharge pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge}}} }}}}}}<!--
  
-->{{#if:{{{ground-target|}}}|{{#subobject:{{#var:sobj}}| Is ground targeted=y}}}}<!--
+
-->{{#if:{{{ground target|}}}|{{#subobject:{{#var:sobj}}| Is ground targeted=y}}}}<!--
 
-->{{#if:{{{specialization|}}}|{{#subobject:{{#var:sobj}}| Is for specialization={{{specialization}}} }}}}<!--
 
-->{{#if:{{{specialization|}}}|{{#subobject:{{#var:sobj}}| Is for specialization={{{specialization}}} }}}}<!--
 
-->{{#if:{{{race|}}}|{{#subobject:{{#var:sobj}}| Is for race={{{race}}} }}}}<!--
 
-->{{#if:{{{race|}}}|{{#subobject:{{#var:sobj}}| Is for race={{{race}}} }}}}<!--
 
-->{{#if:{{{pet|}}}|{{#arraymap:{{{pet}}}|,|€€€|{{#subobject:{{#var:sobj}}| Is for pet=Juvenile {{ucfirst:€€€}} }}}}}}<!--
 
-->{{#if:{{{pet|}}}|{{#arraymap:{{{pet}}}|,|€€€|{{#subobject:{{#var:sobj}}| Is for pet=Juvenile {{ucfirst:€€€}} }}}}}}<!--
-->{{#if:{{{pet-family|}}}|{{#subobject:{{#var:sobj}}| Is for pet family={{ucfirst:{{{pet}}}}} }}}}<!--
+
-->{{#if:{{{pet family|}}}|{{#subobject:{{#var:sobj}}| Is for pet family={{ucfirst:{{{pet family}}}}} }}}}<!--
 
-->{{#if:{{{archetype|}}}|{{#subobject:{{#var:sobj}}| Has pet archetype={{ucfirst:{{{archetype}}}}} (Archetype)}}}}<!--
 
-->{{#if:{{{archetype|}}}|{{#subobject:{{#var:sobj}}| Has pet archetype={{ucfirst:{{{archetype}}}}} (Archetype)}}}}<!--
 
-->{{#if:{{{parent|}}}|{{#subobject:{{#var:sobj}}| Has parent skill={{{parent}}} }}}}<!--
 
-->{{#if:{{{parent|}}}|{{#subobject:{{#var:sobj}}| Has parent skill={{{parent}}} }}}}<!--
 
-->{{#if:{{{trait|}}}|{{#subobject:{{#var:sobj}}| Has trait parent={{{trait}}} }}}}<!--
 
-->{{#if:{{{trait|}}}|{{#subobject:{{#var:sobj}}| Has trait parent={{{trait}}} }}}}<!--
 +
 +
-->{{#if:{{{activation type|}}}|{{#switch:{{lc:{{{activation type|}}}}}<!--
 +
-->| chain = {{#subobject:{{#var:sobj}}| Has skill activation type=Chain}}<!--
 +
-->| channeled<!--
 +
-->| hold  = {{#subobject:{{#var:sobj}}| Has skill activation type=Channeled}}<!--
 +
-->| charge = {{#subobject:{{#var:sobj}}| Has skill activation type=Charge}}<!--
 +
-->}}}}<!--
 +
-->{{#if:{{{movement type|}}}|{{#switch:{{lc:{{{movement type|}}}}}<!--
 +
-->| leap = {{#subobject:{{#var:sobj}}| Has skill movement type=Leap}}<!--
 +
-->| retreat = {{#subobject:{{#var:sobj}}| Has skill movement type=Retreat}}<!--
 +
-->| shadowstep = {{#subobject:{{#var:sobj}}| Has skill movement type=Shadowstep (mechanic)}}<!--
 +
-->| teleport = {{#subobject:{{#var:sobj}}| Has skill movement type=Teleport}}<!--
 +
-->}}}}<!--
  
 
-->{{#switch:{{lc:{{{slot|}}}}}<!--
 
-->{{#switch:{{lc:{{{slot|}}}}}<!--
Строка 226: Строка 96:
 
-->| downed and drowning | downed = {{#subobject:{{#var:sobj}}| Has skill context=Downed}}<!--
 
-->| downed and drowning | downed = {{#subobject:{{#var:sobj}}| Has skill context=Downed}}<!--
 
-->| drowning = {{#subobject:{{#var:sobj}}| Has skill context=Drowning}}<!--
 
-->| drowning = {{#subobject:{{#var:sobj}}| Has skill context=Drowning}}<!--
-->| pet = {{#subobject:{{#var:sobj}}| Has skill context=Pet| Has profession mechanic slot number={{#if:{{{mechanic-slot|}}}|{{{mechanic-slot}}}}}}}<!--
+
-->| pet = {{#subobject:{{#var:sobj}}| Has skill context=Pet| Has profession mechanic slot number={{#if:{{{mechanic slot|}}}|{{{mechanic slot}}}}}}}<!--
-->| mechanic = {{#subobject:{{#var:sobj}}| Has skill context=Profession mechanic| Has profession mechanic slot number={{#if:{{{mechanic-slot|}}}|{{{mechanic-slot}}}}}}}{{#if: {{{mechanic weapon|}}}|{{#subobject:{{#var:sobj}}| Is for weapon={{ucfirst:{{{mechanic weapon|}}}}}}}}}<!--
+
-->| mechanic = {{#subobject:{{#var:sobj}}| Has skill context=Profession mechanic| Has profession mechanic slot number={{#if:{{{mechanic slot|}}}|{{{mechanic slot}}}}}}}{{#if: {{{mechanic weapon|}}}|{{#subobject:{{#var:sobj}}| Is for weapon={{ucfirst:{{{mechanic weapon|}}}}}}}}}{{#if: {{{mechanic trait|}}}|{{#subobject:{{#var:sobj}}| Has trait parent={{{mechanic trait|}}}}}}}<!--
 
-->| special | special action = {{#subobject:{{#var:sobj}}| Has skill context=Special action}}<!--
 
-->| special | special action = {{#subobject:{{#var:sobj}}| Has skill context=Special action}}<!--
 
-->| trait = {{#subobject:{{#var:sobj}}| Has skill context=Trait}}<!--
 
-->| trait = {{#subobject:{{#var:sobj}}| Has skill context=Trait}}<!--
 
-->}}<!--
 
-->}}<!--
  
-->{{#if:{{{weapon-slot|}}}|{{#subobject:{{#var:sobj}}| Has skill slot number={{{weapon-slot}}}}}}}<!--
+
-->{{#if:{{{weapon slot|}}}|{{#subobject:{{#var:sobj}}| Has skill slot number={{{weapon slot}}}}}}}<!--
 
-->{{#if:{{{attunement|}}}|{{#arraymap:{{{attunement}}}|,|€€€|{{#subobject:{{#var:sobj}}| Is for attunement={{ucfirst:€€€}} Attunement}}}}}}<!--
 
-->{{#if:{{{attunement|}}}|{{#arraymap:{{{attunement}}}|,|€€€|{{#subobject:{{#var:sobj}}| Is for attunement={{ucfirst:€€€}} Attunement}}}}}}<!--
 
-->{{#if:{{{type|}}}|{{#arraymap:{{{type}}}|,|€€€|{{#switch:{{lc:€€€}}|tool belt|stolen skill={{#subobject:{{#var:sobj}}| Has skill type={{ucfirst:€€€}}}}|#default = {{#subobject:{{#var:sobj}}| Has skill type={{#replace:{{#arraymap:€€€|<nowiki> </nowiki>|£££|{{ucfirst:£££}}|^ ^}}|^|}}}}}}}}}}<!--
 
-->{{#if:{{{type|}}}|{{#arraymap:{{{type}}}|,|€€€|{{#switch:{{lc:€€€}}|tool belt|stolen skill={{#subobject:{{#var:sobj}}| Has skill type={{ucfirst:€€€}}}}|#default = {{#subobject:{{#var:sobj}}| Has skill type={{#replace:{{#arraymap:€€€|<nowiki> </nowiki>|£££|{{ucfirst:£££}}|^ ^}}|^|}}}}}}}}}}<!--
Строка 245: Строка 115:
 
     }}<!--
 
     }}<!--
 
-->}}<!--
 
-->}}<!--
-->{{#if: {{{uw-replaced-by|}}}
+
-->{{#if: {{{uw replaced by|}}}
 
  | {{#subobject:{{#var:sobj}}| Is usable underwater=Land only}}
 
  | {{#subobject:{{#var:sobj}}| Is usable underwater=Land only}}
  | {{#if: {{{uw-replaces|}}}
+
  | {{#if: {{{uw replaces|}}}
 
     | {{#subobject:{{#var:sobj}}| Is usable underwater=Underwater only}}
 
     | {{#subobject:{{#var:sobj}}| Is usable underwater=Underwater only}}
 
     | {{#switch: {{lc:{{{slot|}}}}}
 
     | {{#switch: {{lc:{{{slot|}}}}}
Строка 259: Строка 129:
 
}}<!--
 
}}<!--
 
-->{{#if:{{{id|}}}|{{#arraymap:{{{id}}}|,|€€€|{{#subobject:{{#var:sobj}}| Has game id=€€€}}}}}}<!--
 
-->{{#if:{{{id|}}}|{{#arraymap:{{{id}}}|,|€€€|{{#subobject:{{#var:sobj}}| Has game id=€€€}}}}}}<!--
 +
-->{{#if:{{{palette id|}}}|{{#arraymap:{{{palette id}}}|,|€€€|{{#subobject:{{#var:sobj}}| Has skill palette id=€€€}}}}}}<!--
 
-->{{#if:{{{description|}}}|{{#if:{{#pos: {{{description}}} |id="sic"}}<!--
 
-->{{#if:{{{description|}}}|{{#if:{{#pos: {{{description}}} |id="sic"}}<!--
 
   -->| {{#subobject:{{#var:sobj}}| Has game description={{#dplreplace:{{{description|}}}|\[\[Category:Text errors\]\]}}}}<!--
 
   -->| {{#subobject:{{#var:sobj}}| Has game description={{#dplreplace:{{{description|}}}|\[\[Category:Text errors\]\]}}}}<!--
 
   -->| {{#subobject:{{#var:sobj}}| Has game description={{{description|}}}}}<!--
 
   -->| {{#subobject:{{#var:sobj}}| Has game description={{{description|}}}}}<!--
 
-->}} }}<!--
 
-->}} }}<!--
-->{{#if:{{{variables|}}}| {{#subobject:{{#var:sobj}}| Has skill facts = {{{variables}}}}}}}<!--
+
-->{{#if:{{{facts|{{{variables|}}}}}}| {{#subobject:{{#var:sobj}}| Has skill facts = {{{facts|{{{variables|}}}}}}}}}}<!--
  
 
# properties set by templates called by Skill Infobox
 
# properties set by templates called by Skill Infobox
Строка 270: Строка 141:
 
-->{{#switch: {{lc:{{{status|}}}}}<!--
 
-->{{#switch: {{lc:{{{status|}}}}}<!--
 
-->| unimplemented = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Unimplemented}}<!--
 
-->| unimplemented = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Unimplemented}}<!--
-->| future = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Future}}<!--
+
-->| future = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Future}}<!--
-->| temporary | historical = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Historical}}<!--
+
-->| historical = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Historical}}<!--
-->| temporary item| discontinued = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Discontinued}}<!--
+
-->| temporary item | discontinued = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Discontinued}}<!--
-->| current | #default = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Current}}<!--
+
-->| current | temporary | #default = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Current}}<!--
 
-->}}<!--
 
-->}}<!--
  
Строка 284: Строка 155:
 
; name
 
; name
 
; initiative
 
; initiative
; initiative-wvw
+
; initiative wvw
; initiative-pvp
+
; initiative pvp
 
; activation
 
; 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
 +
; page cost
 +
; page cost wvw
 +
; page 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
 
; archetype
 
; archetype
 
; parent
 
; parent
Строка 314: Строка 188:
 
; sort type
 
; sort type
 
; sort
 
; sort
; weapon-slot
+
; weapon slot
; mechanic-slot
+
; mechanic slot
 +
; mechanic weapon
 +
; mechanic trait
 
; attunement
 
; attunement
 +
; activation type
 +
; movement type
 
; chain1
 
; chain1
 
; chain2
 
; chain2
 
; chain3
 
; chain3
 
; chain4
 
; chain4
; uw-replaced-by
+
; uw replaced by
; uw-replaces
+
; uw replaces
 
; id
 
; id
 +
; palette id
 
; description
 
; description
; variables
+
; facts
 
; status
 
; status
 
; trait
 
; trait
 
[[Category:Infobox subtemplates]]
 
[[Category:Infobox subtemplates]]
 
[[Category:Subobject templates]]</noinclude>
 
[[Category:Subobject templates]]</noinclude>

Текущая версия на 07:19, 8 марта 2023

To be used by the infobox for split skills.

Parameters[править]

split
profession
icon
name
initiative
initiative wvw
initiative pvp
activation
energy
energy wvw
energy pvp
upkeep
upkeep wvw
upkeep pvp
health cost
health cost wvw
health cost pvp
page cost
page cost wvw
page cost pvp
recharge
recharge wvw
recharge pvp
ground target
specialization
race
pet
pet family
archetype
parent
slot
mainhand
offhand
twohand
kit
type
sort type
sort
weapon slot
mechanic slot
mechanic weapon
mechanic trait
attunement
activation type
movement type
chain1
chain2
chain3
chain4
uw replaced by
uw replaces
id
palette id
description
facts
status
trait