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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 15: Строка 15:
 
| format = template
 
| format = template
 
| template = slot skill table row format
 
| template = slot skill table row format
| default = {{#if:{{{1|}}}|{{slot skill table row format|{{{1}}}|{{{1}}}|{{{1}}}.png|userparam={{{chain|}}}}}}}
+
| default = {{#if:{{{1|}}}|{{slot skill table row format|{{{1}}}|{{{1}}}|File:{{{1}}}.png|userparam={{{chain|}}}}}}}
 
| userparam = {{{chain|}}}
 
| userparam = {{{chain|}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Версия 20:09, 23 августа 2017

Description

{{Slot skill table row|<skill name>}}
{{Slot skill table row|<skill name>|chain= |class= }}

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: type, underwater availability, skill point cost, 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:

Parameters

unnamed parameter 1 <skill name> 
Full name of the skill article, including disambiguation suffixes. The skill icon and name will appear in the first cell of the row.
chain 
Set to one of the following values to show an additional icon before the skill icon:
chain Redirect Arrow.png (no link)
burst Chain Arrow Toolbelt.png (links to Burst)
stealth Chain Arrow Toolbelt.png (links to Stealth Attack)
toolbelt Chain Arrow Toolbelt.png (links to Tool belt)
underwater Underwater.png (links to Underwater mode)
class 
Used to apply CSS classes to the row. Examples:
  • class=<profession> applies profession coloring to individual rows of a general table
  • class=line applies a border to the bottom of the row

Example

{| class="guardian skills table"
{{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.png Hallowed Ground Прицеливание на землю Недоступно под водой 1 36 Освящение. Освятить выбранную область, даруя устойчивость находящимся внутри союзникам.
Purging Flames.png Purging Flames Прицеливание на землю 0.5½ 20 Освящение. Создать кольцо огня. При каждом такте противники внутри кольца будут подожжены, а с союзников внутри кольца будут сниматься состояния.
Sanctuary.png Sanctuary Прицеливание на землю 1 40 Освящение. Создать защитное исцеляющее убежище для союзников. Непроницаемо для врагов и снарядов.
Wall of Reflection.png Wall of Reflection Прицеливание на землю Недоступно под водой 20 Освящение. Призвать барьер мистической силы, который отражает снаряды.