Шаблон:Slot skill table row — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>{{#ask:[[{{{1}}}]] | <includeonly>{{#ask:[[{{{1}}}]] | ||
− | | ?Has canonical name | + | | ?Has canonical name <!-- 2 --> |
− | | ?Has game icon | + | | ?Has game icon <!-- 3 --> |
− | | ?Has game description | + | | ?Has game description <!-- 4 --> |
− | | ?Is for profession | + | | ?Is for profession <!-- 5 --> |
− | | ?Has skill type | + | | ?Is for specialization <!-- 6 --> |
− | | ?Has | + | | ?Has skill context <!-- 7 --> |
− | | ?Has activation time | + | | ?Has skill type <!-- 8 --> |
− | | ?Has recharge time | + | | ?Has skill type sort order <!-- 9 --> |
− | | ? | + | | ?Has chain sequence position <!--10 --> |
− | | ?Has energy cost | + | | ?Is ground targeted <!--11 --> |
− | | ?Has upkeep cost | + | | ?Has activation time <!--12 --> |
− | | ?Has chain sequence | + | | ?Has recharge time <!--13 --> |
− | | ? | + | | ?Has initiative cost <!--14 --> |
+ | | ?Has energy cost <!--15 --> | ||
+ | | ?Has upkeep cost <!--16 --> | ||
+ | | ?Is usable underwater <!--17 --> | ||
+ | | ?Has chain sequence|+order=asc <!--18 --><!-- sorted alphabetically ! --> | ||
+ | | ?Has skill sort order <!--19 --> | ||
+ | | ?Has ammunition number <!--20 --> | ||
| link = none | | link = none | ||
| format = template | | format = template | ||
Строка 79: | Строка 85: | ||
;showType | ;showType | ||
: Optional. Shows type column and displays the property [[Property:Has skill type|Has skill type]], disabled on default. Can be set to "true". | : Optional. Shows type column and displays the property [[Property:Has skill type|Has skill type]], disabled on default. Can be set to "true". | ||
+ | ;wide type column | ||
+ | : Optional. Set to "true" to increase the width of the type column. Defaults to "false". | ||
;showEnergy | ;showEnergy | ||
: Optional. Shows energy column and displays the property [[Property:Has energy cost|Has energy cost]], disabled on default. Can be set to "true". | : Optional. Shows energy column and displays the property [[Property:Has energy cost|Has energy cost]], disabled on default. Can be set to "true". |
Версия 10:06, 5 января 2024
Содержание
Description
This template is intended for use in slot skill tables in conjunction with the {{slot skill table header}}. It returns the wiki code for a single table row, populated with the following skill data: skill, (type), underwater availability, hero point cost, activation time, (energy), recharge time, and description. It does not return the table opening or closing tags, so those must be provided on the calling page.
It uses {{slot skill table row format}} to process the results of the semantic query.
Caveat
This is a standardized template that specifically builds a slot skill table. For alternatives, see:
- {{Weapon skill table header}} and {{Weapon skill table row}} for weapon skills and auxiliary skill bars (prints slot#, activation, recharge, and description)
- {{Profession mechanic skill table header}} and {{Profession mechanic skill table row}} for profession mechanic skills (prints profession mechanic slot#, activation, recharge, and description)
- {{Environmental skill table header}} and {{Environmental skill table row}} for environmental skills as bundles or tonics (prints slot#, activation, recharge, and description)
Columns
- Basic
- Skill
- Has activation time
- Is usable underwater
- Has activation time
- Has recharge time
- Has game description
- Optional
- Skill
- Has skill type (set
showType=true
in the header) - Has activation time
- Is usable underwater
- Has activation time
- Has energy cost and Has upkeep cost (set
showEnergy=true
in the header) - Has recharge time
- Has game description
Usage
{{Slot skill table row|<skill name>}} {{Slot skill table row|<skill name>|class=<css class>}}
Parameters
- 1 (unnamed parameter)
- Required. Skill name.
- class
- Used to apply CSS classes to the row. Examples:
class=line
applies a border to the bottom of the row. - chain
- Optional. Added automatically, can be overridden with one of the following values:
none chain (no link) ambush (links to Ambush) burst (links to Burst) primal burst (links to Primal Burst) stealth (links to Stealth Attack) toolbelt (links to Tool belt) underwater (links to Underwater mode)
Template:slot skill table header parameters
- showType
- Optional. Shows type column and displays the property Has skill type, disabled on default. Can be set to "true".
- wide type column
- Optional. Set to "true" to increase the width of the type column. Defaults to "false".
- showEnergy
- Optional. Shows energy column and displays the property Has energy cost, disabled on default. Can be set to "true".
Example
{| {{STDT|guardian skills}} {{slot skill table header}} {{slot skill table row|Hallowed Ground}} {{slot skill table row|Purging Flames}} {{slot skill table row|Sanctuary}} {{slot skill table row|Wall of Reflection}} |}
Умение | Описание | ||||
---|---|---|---|---|---|
Hallowed Ground | 1 | 36 | Освящение. Освятить выбранную область, даруя устойчивость находящимся внутри союзникам. | ||
Purging Flames | ½ | 20 | Освящение. Создать кольцо огня. При каждом такте противники внутри кольца будут подожжены, а с союзников внутри кольца будут сниматься состояния. | ||
Sanctuary | 1 | 40 | Освящение. Создать защитное исцеляющее убежище для союзников. Непроницаемо для врагов и снарядов. | ||
Wall of Reflection | 20 | Освящение. Призвать барьер мистической силы, который отражает снаряды. |