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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 21: Строка 21:
 
| link = none
 
| link = none
 
| format = template
 
| format = template
| introtemplate = Trait skill table header{{!}}1={{{class|}}}{{!}}id={{{id|}}}{{!}}showTrait={{{showTrait|false}}}{{!}}showSubheader={{{showSubheader|false}}}{{!}}showGamemode={{{showGamemode|{{#switch: {{{1|}}}|all=false|#default=true}}}}}
+
| introtemplate = Trait skill table header{{!}}1={{{class|}}}{{!}}id={{{id|}}}{{!}}showTrait={{{showTrait|false}}}{{!}}showSubheader={{{showSubheader|false}}}{{!}}showGamemode={{{showGamemode|{{#switch: {{{1|}}}|all pve=false|#default=true}}}}}
 
| template = Trait skill table result format
 
| template = Trait skill table result format
 
| outrotemplate= Table footer
 
| outrotemplate= Table footer
Строка 37: Строка 37:
 
=== Parameters ===
 
=== Parameters ===
 
; 1 ''(unnamed parameter)''
 
; 1 ''(unnamed parameter)''
: Name of the trait page. Defaults to PAGENAME. Set to "all" for a list of current trait skills and to "historical" for a list of historical trait skills. Set to "current" for non-historical trait skills used by this trait.
+
: Name of the trait page. Defaults to PAGENAME. Set to "all" for a list of current trait skills ("all pve" for the pve version only) and to "historical" for a list of historical trait skills. Set to "current" for non-historical trait skills used by this trait.
 
;showTrait
 
;showTrait
 
: Optional. Shows trait column and displays the property [[Property:Has trait parent|Has trait parent]]. Can be set to "true".
 
: Optional. Shows trait column and displays the property [[Property:Has trait parent|Has trait parent]]. Can be set to "true".

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

Description[править]

This template displays the trait skill(s) of a certain skill. Furthermore, it can be also used to display all trait skills. Format using {{Trait skill table header}} and {{Trait skill table result format}}.

Usage[править]

{{Trait skill table}}
{{Trait skill table|<trait>}}
{{Trait skill table|all|showTrait=true|showSubheader=true}}

Parameters[править]

1 (unnamed parameter)
Name of the trait page. Defaults to PAGENAME. Set to "all" for a list of current trait skills ("all pve" for the pve version only) and to "historical" for a list of historical trait skills. Set to "current" for non-historical trait skills used by this trait.
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".
class
Table header css class.
id
Table id.

Example[править]

{{Trait skill table|Chill of Death}}

Умение Время активации Время перезарядки Описание
Spinal Shivers.png
 Lesser Spinal Shivers
(PvE)
20 Заморозить вашу цель и снять с нее до трех благ, нанося дополнительный урон, зависящий от количества снятых благ.
Spinal Shivers.png
 Lesser Spinal Shivers
(WvW, PvP)
20 Заморозить вашу цель и снять с нее до трех благ, нанося дополнительный урон, зависящий от количества снятых благ.