Шаблон:Skill infobox/subobject — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 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= | + | -->| Has profession sort order={{{profession sort order|}}}<!-- |
− | + | -->| Has specialization sort order={{{specialization sort order|}}}<!-- | |
− | + | -->| Has skill context sort order={{{skill context sort order|}}}<!-- | |
− | + | -->| Has weapon type sort order={{{weapon type sort order|}}}<!-- | |
− | + | -->| Has attunement sort order={{{attunement sort order|}}}<!-- | |
− | + | -->| Has skill slot sort order={{{skill slot sort order|}}}<!-- | |
− | + | -->| Has skill type sort order={{{skill type sort order|}}}|+sep=,<!-- | |
− | + | -->| Has skill sort order={{{skill sort order|}}}<!-- | |
− | |||
− | |||
− | |||
− | -->| Has specialization sort order= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->| Has | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->| Has | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->| Has | ||
− | |||
− | |||
− | |||
− | |||
− | -->| Has skill | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->| Has | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->| 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:{{{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 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:{{{ | + | -->{{#if:{{{health cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{health cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{health cost|}}}|{{#if:{{{health cost wvw|}}}{{{health cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has health cost={{{health cost}}} }}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{page cost wvw|}}}|{{#if:{{#pos:@@@|wvw}}|{{#subobject:{{#var:sobj}}| Has page cost={{{page cost wvw}}} }}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{page cost pvp|}}}|{{#if:{{#pos:@@@|pvp}}|{{#subobject:{{#var:sobj}}| Has page cost={{{page cost pvp}}} }}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{page cost|}}}|{{#if:{{{page cost wvw|}}}{{{page cost pvp|}}}|<!-- already set -->|{{#subobject:{{#var:sobj}}| Has page cost={{{page 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<!-- | ||
Строка 243: | Строка 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 | + | -->| 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:£££}}|^ ^}}|^|}}}}}}}}}}<!-- | ||
Строка 262: | Строка 115: | ||
}}<!-- | }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#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|}}}}} | ||
Строка 276: | Строка 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\]\]}}}}<!-- | ||
Строка 287: | Строка 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= | + | -->| future = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Future}}<!-- |
− | --> | + | -->| 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}}<!-- |
-->}}<!-- | -->}}<!-- | ||
Строка 301: | Строка 155: | ||
; 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 |
+ | ; page cost | ||
+ | ; page cost wvw | ||
+ | ; page 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 | ||
Строка 331: | Строка 188: | ||
; 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 | ||
Строка 340: | Строка 199: | ||
; chain3 | ; chain3 | ||
; chain4 | ; chain4 | ||
− | ; uw | + | ; uw replaced by |
− | ; uw | + | ; uw replaces |
; id | ; id | ||
+ | ; palette id | ||
; description | ; description | ||
; facts | ; facts |
Текущая версия на 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