Шаблон:Slot skill table header — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | < | + | <includeonly><!-- |
− | < | + | |
− | {{#vardefine:showType|{{{showType|true}}}}} | + | Please note that the column widths of the following templates match and should only be consistently changed together: |
− | |- | + | 1. Template:Weapon skill table header |
− | ! style="width:12.5em;" | Умение | + | 2. Template:Profession mechanic skill table header |
− | {{#ifeq:{{#var:showType}}|true|! style="width:6.5em;" {{!}} Тип}} | + | 3. Template:Slot skill table header |
+ | 4. Template:Trait table header | ||
+ | 5. Template:Mastery table | ||
+ | |||
+ | -->{{#if: <!-- hide whitespace --> | ||
+ | |||
+ | {{#vardefine:showType |{{{showType |true}}}}} | ||
+ | {{#vardefine:showEnergy|{{{showEnergy|false}}}}} | ||
+ | |||
+ | }}|- | ||
+ | ! style="width:12.5em;" | Умение | ||
+ | {{#ifeq:{{#var:showType}}|true|! style="width:6.5em;" {{!}} Тип }} | ||
! style="width:2.5px; text-align:center;" | [[File:Ground_target_aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] | ! style="width:2.5px; text-align:center;" | [[File:Ground_target_aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] | ||
− | ! style="width:2.5px; text-align:center;" | [[File:Underwater.png|link=Underwater mode#Подводные умения|Подводный режим]] | + | ! style="width:2.5px; text-align:center;" | [[File:Underwater.png|link=Underwater mode#Подводные умения|Подводный режим]] |
− | ! style="width:2.5px; text-align:center;" | [[File:Hero point.png|20px|link=Hero point| | + | ! style="width:2.5px; text-align:center;" | [[File:Hero point.png|20px|link=Hero point|Очки героя]] |
− | ! style="width:2.5px; text-align:center;" | [[File:Activation.png|link=Activation time|Время активации]] | + | ! style="width:2.5px; text-align:center;" | [[File:Activation.png|link=Activation time|Время активации]] |
− | {{#ifeq:{{#var: | + | {{#ifeq:{{#var:showEnergy}}|true|! style="width:2.5px; text-align:center;" {{!}} [[File:Energy.png|20px|link=Energy|Энергия/Поддержка]]}} |
− | ! style="width:2.5px; text-align:center;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]] | + | ! style="width:2.5px; text-align:center;" | [[File:Tango-recharge-darker.png|link=Recharge|Время перезарядки]] |
! style="width:{{#ifeq:{{#var:showType}}|true|45.4|54.7}}%;" | Описание | ! style="width:{{#ifeq:{{#var:showType}}|true|45.4|54.7}}%;" | Описание | ||
− | <noinclude>|} | + | </includeonly><noinclude> |
+ | == Description == | ||
+ | Provides the standard header row for slot skill tables. Rows in the table should use {{tl|slot skill table row}}. | ||
− | + | == Usage == | |
+ | <pre>{{Slot skill table header}} | ||
+ | {{Slot skill table header|showType=<true/false>|showEnergy=<true/false>}}</pre> | ||
+ | === Parameters === | ||
+ | ;showType | ||
+ | : Optional. Shows type column and displays the Property [[Property:Has skill type|Has skill type]], disabled on default. Can be set to "true". | ||
+ | ;showEnergy | ||
+ | : Optional. Shows energy column and displays the Property [[Property:Has energy cost|Has energy cost]], disabled on default. Can be set to "true". | ||
− | Example | + | === Example === |
− | + | <pre>{| {{STDT|elementalist skills}} | |
− | {{ | + | {{Slot skill table header}} |
− | |}</ | + | |}</pre> |
+ | {| {{STDT|elementalist skills}} | ||
+ | {{Slot skill table header}} | ||
+ | |} | ||
[[Category:Skill formatting templates]] | [[Category:Skill formatting templates]] | ||
− | |||
</noinclude> | </noinclude> |
Версия 07:09, 29 октября 2019
Содержание
Description
Provides the standard header row for slot skill tables. Rows in the table should use {{slot skill table row}}.
Usage
{{Slot skill table header}} {{Slot skill table header|showType=<true/false>|showEnergy=<true/false>}}
Parameters
- showType
- Optional. Shows type column and displays the Property Has skill type, 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".
Example
{| {{STDT|elementalist skills}} {{Slot skill table header}} |}
Умение | Описание |
---|