Шаблон:Trait infobox/subobject — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#arraymap:{{{split}}}|,|@@@|{{#if:{{#pos:@@@|pve}}|<!-- ignore if pve part of the currently selected game mode split-->|<!-- # set name and game m…») |
Blood (обсуждение | вклад) |
||
Строка 14: | Строка 14: | ||
-->| Is in trait line={{#var:traitline}}<!-- | -->| Is in trait line={{#var:traitline}}<!-- | ||
-->| Is for profession={{ucfirst:{{#var:profession}}}}<!-- | -->| Is for profession={{ucfirst:{{#var:profession}}}}<!-- | ||
+ | -->| Has profession sort order={{#var:profession_number}}<!-- | ||
+ | -->| Is for specialization={{#var:specialization}}<!-- | ||
+ | -->| Has specialization sort order={{#var:specialization_number}}<!-- | ||
-->| Has trait position number={{#if:{{{position|}}}|{{{position}}}|0}}<!-- | -->| Has trait position number={{#if:{{{position|}}}|{{{position}}}|0}}<!-- | ||
-->}}<!-- end subobject | -->}}<!-- end subobject | ||
Строка 33: | Строка 36: | ||
-->{{#if:{{{tier|}}}|{{#subobject:{{#var:sobj}}| Has trait tier={{ucfirst:{{{tier}}}}}| Has trait tier number={{#switch:{{lc:{{{tier}}}}}|proficiency=0|adept=1|master=2|grandmaster=3}}}}}}<!-- | -->{{#if:{{{tier|}}}|{{#subobject:{{#var:sobj}}| Has trait tier={{ucfirst:{{{tier}}}}}| Has trait tier number={{#switch:{{lc:{{{tier}}}}}|proficiency=0|adept=1|master=2|grandmaster=3}}}}}}<!-- | ||
− | -->{{#if:{{{type|}}}|{{#subobject:{{#var:sobj}}| Has trait type number={{#switch:{{lc:{{{type}}}}}|minor=1|major=2}}}}}}<!-- | + | -->{{#if:{{{type|}}}|{{#subobject:{{#var:sobj}}| Has trait type={{ucfirst:{{{type}}}}}| Has trait type number={{#switch:{{lc:{{{type}}}}}|minor=1|major=2}}}}}}<!-- |
-->{{#if:{{{type|}}}|{{#if:{{{tier|}}}|{{#if:{{{line|}}}|<!-- | -->{{#if:{{{type|}}}|{{#if:{{{tier|}}}|{{#if:{{{line|}}}|<!-- | ||
-->{{#switch: {{lc:{{{line|}}}}} | -->{{#switch: {{lc:{{{line|}}}}} | ||
Строка 79: | Строка 82: | ||
; line | ; line | ||
; status | ; status | ||
− | [[Category:Infobox subtemplates]]</noinclude> | + | [[Category:Infobox subtemplates]] |
+ | [[Category:Subobject templates]] | ||
+ | </noinclude> |
Версия 11:57, 7 марта 2020
To be used by the infobox for split traits.
Parameters
- split
- icon
- name
- position
- recharge-wvw
- recharge-pvp
- id
- description
- tier
- type
- line
- status