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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 31: Строка 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:{{{ammunition-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition-wvw}}} }}}}}}<!--
+
-->{{#if:{{{ammunition wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition wvw}}} }}}}}}<!--
-->{{#if:{{{ammunition-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition-pvp}}} }}}}}}<!--
+
-->{{#if:{{{ammunition pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition pvp}}} }}}}}}<!--
-->{{#if:{{{ammunition|}}}|{{#if:{{{ammunition-wvw|}}}{{{ammunition-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition}}} }}}}}}<!--
+
-->{{#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 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 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:{{{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 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 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|}}}|{{#if:{{{upkeep wvw|}}}{{{upkeep pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep}}} }}}}}}<!--
  
-->{{#if:{{{health cost-wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost-wvw}}} }}}}}}<!--
+
-->{{#if:{{{health cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost wvw}}} }}}}}}<!--
-->{{#if:{{{health cost-pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost-pvp}}} }}}}}}<!--
+
-->{{#if:{{{health cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost pvp}}} }}}}}}<!--
-->{{#if:{{{health cost|}}}|{{#if:{{{health cost-wvw|}}}{{{health cost-pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost}}} }}}}}}<!--
+
-->{{#if:{{{health cost|}}}|{{#if:{{{health cost wvw|}}}{{{health cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health 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:{{{activ-type|}}}|{{#switch:{{lc:{{{activ-type|}}}}}<!--
+
-->{{#if:{{{activation type|}}}|{{#switch:{{lc:{{{activation type|}}}}}<!--
 
-->| chain = {{#subobject:{{#var:sobj}}| Has skill activation type=Chain}}<!--
 
-->| chain = {{#subobject:{{#var:sobj}}| Has skill activation type=Chain}}<!--
 
-->| channeled<!--
 
-->| channeled<!--
Строка 92: Строка 92:
 
-->| 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:£££}}|^ ^}}|^|}}}}}}}}}}<!--
Строка 111: Строка 111:
 
     }}<!--
 
     }}<!--
 
-->}}<!--
 
-->}}<!--
-->{{#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|}}}}}
Строка 150: Строка 150:
 
; 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
 
; 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
Строка 180: Строка 180:
 
; sort type
 
; sort type
 
; sort
 
; sort
; weapon-slot
+
; weapon slot
; mechanic-slot
+
; mechanic slot
 +
; mechanic weapon
 +
; mechanic trait
 
; attunement
 
; attunement
; activ-type
+
; activation type
 
; movement type
 
; movement type
 
; chain1
 
; chain1
Строка 189: Строка 191:
 
; chain3
 
; chain3
 
; chain4
 
; chain4
; uw-replaced-by
+
; uw replaced by
; uw-replaces
+
; uw replaces
 
; id
 
; id
 
; description
 
; description

Версия 06:59, 3 декабря 2021

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
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
description
facts
status
trait