Template:Weapon skill table row

From Guild Wars 2 Wiki
Jump to: navigation, search

Description[edit]

This template is intended for use in weapon skill tables in conjunction with the {{weapon skill table header}}. It returns the wiki code for a single table row, populated with the following skill data: slot#, skill, (type), (weapon), 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 {{weapon skill table row format}} to process the results of the semantic query.

Caveat[edit]

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

Columns[edit]

Basic
  1. Has skill slot number
  2. Skill
  3. Has activation time
  4. Has recharge time or Has initiative cost (set showInitiative=true in the header)
  5. Has game description
Optional
  1. Has skill slot number
  2. Skill
  3. Is for weapon (set showWeapon=true in the header)
  4. Has skill type (set showType=true in the header)
  5. Has activation time
  6. Has energy cost (set showEnergy=true in the header)
  7. Has recharge time or Has initiative cost (set showInitiative=true in the header)
  8. Has game description

Usage[edit]

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

Parameters[edit]

1 (unnamed parameter)
Required. Skill name.
chain
Optional. Set to one of the following values to show an additional icon before the skill icon:
chain Redirect Arrow.png (no link)
ambush Chain Arrow Toolbelt.png (links to Ambush)
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=line applies a border to the bottom of the row

Template:Weapon 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".
showWeapon
Optional. Shows weapon column and displays the Property Is for weapon (e.g. for Symbol skills), 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".
showInitiative
Optional. Shows initiative column instead the recharge column and displays the Property Has initiative cost, disabled on default. Can be set to "true".

Example[edit]

{| {{STDT|guardian skills}}
{{weapon skill table header}}
{{weapon skill table row|True Strike}}
{{weapon skill table row|chain=chain|Pure Strike}}
{{weapon skill table row|chain=chain|Faithful Strike}}
{{weapon skill table row|Symbol of Faith}}
{{weapon skill table row|Protector's Strike}}
|}
# Skill Activation.png Tango-recharge-darker.png Description
1
True Strike.png
 True Strike
0.5½ Smash your foe.
1 True Strike, Pure Strike, Faithful Strike chainRedirect Arrow.png
Pure Strike.png
 Pure Strike
0.5½ Bash your foe.
1 True Strike, Pure Strike, Faithful Strike chainRedirect Arrow.png
Faithful Strike.png
 Faithful Strike
0.75¾ Hit your foe with a final strike and heal nearby allies.
2
Symbol of Faith.png
 Symbol of Faith
10.25¼ 8 Symbol. Smash a mystic symbol onto the ground that damages foes and regenerates allies.
3
Protector's Strike.png
 Protector's Strike
30.75¾ 15 Surround yourself and nearby allies with a shield. Damage foes that strike protected allies, and then apply boons in a radius. If an attack is not blocked, fully charge your Justice virtue.