Шаблон:Skill infobox/subobject — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 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 | + | -->{{#if:{{{ammunition wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{ammunition | + | -->{{#if:{{{ammunition pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{ammunition|}}}|{{#if:{{{ammunition | + | -->{{#if:{{{ammunition|}}}|{{#if:{{{ammunition wvw|}}}{{{ammunition pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has ammunition number={{{ammunition}}} }}}}}}<!-- |
− | -->{{#if:{{{initiative | + | -->{{#if:{{{initiative wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{initiative | + | -->{{#if:{{{initiative pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has initiative cost={{{initiative pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{initiative|}}}|{{#if:{{{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 | + | -->{{#if:{{{energy wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{energy | + | -->{{#if:{{{energy pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{energy|}}}|{{#if:{{{energy | + | -->{{#if:{{{energy|}}}|{{#if:{{{energy wvw|}}}{{{energy pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has energy cost={{{energy}}} }}}}}}<!-- |
− | -->{{#if:{{{upkeep | + | -->{{#if:{{{upkeep wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{upkeep | + | -->{{#if:{{{upkeep pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{upkeep|}}}|{{#if:{{{upkeep | + | -->{{#if:{{{upkeep|}}}|{{#if:{{{upkeep wvw|}}}{{{upkeep pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has upkeep cost={{{upkeep}}} }}}}}}<!-- |
− | -->{{#if:{{{health cost | + | -->{{#if:{{{health cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{health cost | + | -->{{#if:{{{health cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{health cost|}}}|{{#if:{{{health cost | + | -->{{#if:{{{health cost|}}}|{{#if:{{{health cost wvw|}}}{{{health cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost}}} }}}}}}<!-- |
− | -->{{#if:{{{recharge | + | -->{{#if:{{{recharge wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{recharge | + | -->{{#if:{{{recharge pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{recharge|}}}|{{#if:{{{recharge | + | -->{{#if:{{{recharge|}}}|{{#if:{{{recharge wvw|}}}{{{recharge pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has recharge time={{{recharge}}} }}}}}}<!-- |
− | -->{{#if:{{{ground | + | -->{{#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 | + | -->{{#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:{{{ | + | -->{{#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 | + | -->| 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 | + | -->| 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 | + | -->{{#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 | + | -->{{#if: {{{uw replaced by|}}} |
| {{#subobject:{{#var:sobj}}| Is usable underwater=Land only}} | | {{#subobject:{{#var:sobj}}| Is usable underwater=Land only}} | ||
− | | {{#if: {{{uw | + | | {{#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 | + | ; initiative wvw |
− | ; initiative | + | ; initiative pvp |
; activation | ; activation | ||
; energy | ; energy | ||
− | ; energy | + | ; energy wvw |
− | ; energy | + | ; energy pvp |
; upkeep | ; upkeep | ||
− | ; upkeep | + | ; upkeep wvw |
− | ; upkeep | + | ; upkeep pvp |
; health cost | ; health cost | ||
− | ; health cost | + | ; health cost wvw |
− | ; health cost | + | ; health cost pvp |
; recharge | ; recharge | ||
− | ; recharge | + | ; recharge wvw |
− | ; recharge | + | ; recharge pvp |
− | ; ground | + | ; ground target |
; specialization | ; specialization | ||
; race | ; race | ||
; pet | ; pet | ||
− | ; pet | + | ; pet family |
; archetype | ; archetype | ||
; parent | ; parent | ||
Строка 180: | Строка 180: | ||
; sort type | ; sort type | ||
; sort | ; sort | ||
− | ; weapon | + | ; weapon slot |
− | ; mechanic | + | ; mechanic slot |
+ | ; mechanic weapon | ||
+ | ; mechanic trait | ||
; attunement | ; attunement | ||
− | ; | + | ; activation type |
; movement type | ; movement type | ||
; chain1 | ; chain1 | ||
Строка 189: | Строка 191: | ||
; chain3 | ; chain3 | ||
; chain4 | ; chain4 | ||
− | ; uw | + | ; uw replaced by |
− | ; uw | + | ; 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