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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 23: Строка 23:
 
{{#ifeq:{{#var:showType  }}|true|! style="width:9em;" {{!}} Тип }} }}
 
{{#ifeq:{{#var:showType  }}|true|! style="width:9em;" {{!}} Тип }} }}
 
! style="width:2.5em; text-align:center;" | [[File:Ground_target_aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]]
 
! style="width:2.5em; text-align:center;" | [[File:Ground_target_aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]]
! style="width:2.5em;text-align:center;" | [[File:Activation.png|link=Activation time|Время активации]]
+
! style="width:2.5em; text-align:center;" | [[File:Activation.png|link=Activation time|Время активации]]
{{#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|20px|link=Initiative|Инициатива]]|{{#ifeq:{{#var:showPageCost}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Page cost.png|20px|link=|Page Cost|Требуется страниц]]}}}}}}
+
{{#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|20px|link=Initiative|Инициатива]]|{{#ifeq:{{#var:showPageCost}}|true|! style="width:2.5em; text-align:center;" {{!}} [[File:Page cost.png|20px|link=|Page Cost|Требуется страниц]]}}}}
 
! 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:showWeapon}}|true|-5.6|{{#ifeq:{{#var:showType}}|true|-5.6|{{#ifeq:{{#var:showPageCost}}|true|-5.6}}}}}}}}em;" | Описание
 
! style="width:{{#expr:61 {{#ifeq:{{#var:showWeapon}}|true|-5.6|{{#ifeq:{{#var:showType}}|true|-5.6|{{#ifeq:{{#var:showPageCost}}|true|-5.6}}}}}}}}em;" | Описание

Текущая версия на 10:19, 17 мая 2023

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 and displays the property Has initiative cost, disabled on default. Can be set to "true".
showPageCost
Optional. Shows page cost column and displays the property Has page 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}}
|}
# Умение Прицеливание на землю Время активации Время перезарядки Описание