Шаблон:Weapon skill table header — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 18: | Строка 18: | ||
}}|- | }}|- | ||
! style="width:1.31em;" | # | ! style="width:1.31em;" | # | ||
− | ! style="width:{{#expr: 24.7 {{#ifeq:{{#var:showWeapon}}|true|-9|{{#ifeq:{{#var:showType}}|true|-9}}}} {{#ifeq:{{#var:showEnergy}}|true| | + | ! style="width:{{#expr: 24.7 {{#ifeq:{{#var:showWeapon}}|true|-9|{{#ifeq:{{#var:showType}}|true|-9}}}} {{#ifeq:{{#var:showEnergy}}|true|+0.8}} {{#ifeq:{{#var:showInitiative}}|true|-3.7}}}}em; | Умение |
{{#ifeq:{{#var:showWeapon}}|true|! style="width:9em;" {{!}} Оружие <!-- only one extra column allowed, set others to false --> {{#vardefine:showType|false}} | | {{#ifeq:{{#var:showWeapon}}|true|! style="width:9em;" {{!}} Оружие <!-- only one extra column allowed, set others to false --> {{#vardefine:showType|false}} | | ||
{{#ifeq:{{#var:showType }}|true|! style="width:9em;" {{!}} Тип }} }} | {{#ifeq:{{#var:showType }}|true|! style="width:9em;" {{!}} Тип }} }} | ||
Строка 25: | Строка 25: | ||
{{#ifeq:{{#var:showEnergy}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Energy.png|20px|link=Energy|Энергия]]{{#ifeq:{{#var:showInitiative}}|true|!}}}}{{#ifeq:{{#var:showInitiative}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Initiative.png|link=Initiative|Инициатива]]}} | {{#ifeq:{{#var:showEnergy}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Energy.png|20px|link=Energy|Энергия]]{{#ifeq:{{#var:showInitiative}}|true|!}}}}{{#ifeq:{{#var:showInitiative}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Initiative.png|link=Initiative|Инициатива]]}} | ||
! style="width:2.5em; text-align:center;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]] | ! style="width:2.5em; text-align:center;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]] | ||
− | ! style="width:{{#expr:61 {{#ifeq:{{#var:showEnergy}}|true|- | + | ! style="width:{{#expr:61 {{#ifeq:{{#var:showEnergy}}|true|-5.2}} {{#ifeq:{{#var:showInitiative}}|true|-0.7}}}}em;" | Описание |
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Description == | == Description == |
Версия 02:48, 16 июля 2020
Содержание
Description
Provides the standard header row for weapon skill tables. Rows in the table should use {{weapon skill table row}}. Only one of the following optional columns can be shown at the same time: Type or Weapon.
Usage
{{Weapon skill table header}} {{Weaopn skill table header|showType=<true/false>|showWeapon=<true/false>|showEnergy=<true/false>|showInitiative=<true/false>}}
Parameters
- showType
- Optional. Shows type column and displays the property Has skill type, disabled on default. Can be set to "true".
- showWeapon
- Optional. Shows weapon column and displays the property Is for weapon (e.g. for Symbol skills), disabled on default. Can be set to "true".
- showEnergy
- Optional. Shows energy column and displays the property Has energy cost, disabled on default. Can be set to "true".
- showInitiative
- Optional. Shows initiative column instead the recharge column and displays the property Has initiative cost, disabled on default. Can be set to "true".
- showUnderwater
- Optional. Shows underwater icon, used for bundles and transform skills and displays the property Is usable underwater, disabled on default. Can be set to "true".
Example
{| {{STDT|elementalist skills}} {{Weapon skill table header}} |}
# | Умение | Описание |
---|