Шаблон:Trait skill table header — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 17: Строка 17:
 
}}{{increment|table id}}<!-- table id for the css class--><nowiki/>
 
}}{{increment|table id}}<!-- table id for the css class--><nowiki/>
 
{| {{STDT|skills {{lc:{{#if: {{{1|}}}|{{{1|}}}|{{#var_final:header css class{{#var:table id}}}}}}}}}} id="{{{id|}}}"
 
{| {{STDT|skills {{lc:{{#if: {{{1|}}}|{{{1|}}}|{{#var_final:header css class{{#var:table id}}}}}}}}}} id="{{{id|}}}"
! style="width:{{#expr: 28 {{#ifeq: {{#var:showTrait}}|true|-9|}}}}em; | Умение
+
! style="width:{{#expr: 30.6 {{#ifeq: {{#var:showTrait}}|true|-9|}}}}em; | Умение
 
{{#ifeq:{{#var:showTrait}}|true|! style="width:8em;" {{!}} Черта}}
 
{{#ifeq:{{#var:showTrait}}|true|! style="width:8em;" {{!}} Черта}}
! style="width: 3.5em;text-align:right;" | [[File:Activation.png|link=Activation time|Время активации]]
+
! style="width:2.5em; text-align:center;" | [[File:Activation.png|link=Activation time|Время активации]]
! style="width: 3.5em;text-align:right;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]]
+
! style="width:2.5em; text-align:center;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]]
 
! style="width:61em;" | Описание
 
! style="width:61em;" | Описание
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Текущая версия на 22:21, 5 августа 2020

Description[править]

Provides the header for the template {{Trait skill table}}.

Usage[править]

{{Trait skill table header}}

Parameters[править]

1 (unnamed parameter)
Table header css class.
id
Table id.
showTrait
Optional. Shows trait column and displays the property Has trait parent. Can be set to "true".
showSubheader
Optional. Shows the profession or specialization subheader row. Can be set to "true".
showGamemode
Optional. Shows the game mode and displays the property Is for game mode. Can be set to "false".

Example[править]

{{Trait skill table header|Elementalist}}
|-
|}

Умение Время активации Время перезарядки Описание