Шаблон:Trait infobox/subobject — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 37: | Строка 37: | ||
-->{{#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={{ucfirst:{{{type}}}}}| 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}}}}}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
# properties set by templates called by Trait Infobox | # properties set by templates called by Trait Infobox | ||
− | --> | + | -->{{#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=Y | Has availability=Future}}<!-- | ||
-->| temporary | historical = {{#subobject:{{#var:sobj}}| Is historical=Y | Has availability=Historical}}<!-- | -->| temporary | 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 | + | -->| current | #default = {{#subobject:{{#var:sobj}}| Is historical=N | Has availability=Current}}<!-- |
− | --> | + | -->}}<!-- |
-->}}}}<!-- end arraymap --></includeonly><noinclude>To be used by the [[Template:Trait infobox|infobox]] for split traits. | -->}}}}<!-- end arraymap --></includeonly><noinclude>To be used by the [[Template:Trait infobox|infobox]] for split traits. |
Версия 00:22, 14 мая 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