Template:Slot skill table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

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[edit]

This is a standardized template that specifically builds a slot skill table. For alternatives, see:

Columns[edit]

Basic
  1. Skill
  2. Has activation time
  3. Is usable underwater
  4. Has activation time
  5. Has recharge time
  6. Has game description
Optional
  1. Skill
  2. Has skill type (set showType=true in the header)
  3. Has activation time
  4. Is usable underwater
  5. Has activation time
  6. Has energy cost and Has upkeep cost (set showEnergy=true in the header)
  7. Has recharge time
  8. Has game description

Usage[edit]

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

Parameters[edit]

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 Redirect Arrow.png (no link)
ambush Chain Arrow Toolbelt.png (links to Ambush)
burst Chain Arrow Toolbelt.png (links to Burst)
primal burst Chain Arrow Toolbelt.png (links to Primal 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)

Template:slot skill table header parameters[edit]

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[edit]

{| {{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}}
|}
Skill Underwater skills Activation.png Tango-recharge-darker.png Description
Hallowed Ground.png Hallowed Ground Not available underwater 1 36 Consecration. Consecrate the target area, granting stability to allies inside.
Purging Flames.png Purging Flames 0.5½ 20 Consecration. Create a ring of fire. With each pulse, burn foes while removing conditions from allies inside the area of effect.
Sanctuary.png Sanctuary 1 40 Consecration. Form a protective healing shelter for allies. Block foes and their missiles from entering.
Wall of Reflection.png Wall of Reflection Not available underwater 20 Consecration. Summon a barrier of mystic power that reflects projectiles.