Template:Skill table row
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
{{Skill table row|<skill name>}}
{{Skill table row|<skill name>|slot=y|chain= |pet= |class= }}
This template is intended for use in skill list tables. It returns the wiki code for a single table row, populated with formatted skill data; it does not return the table opening or closing tags, so those must be provided on the calling page.
Caveat[edit]
This is a generic template that can be used to build a skill table with an arbitrary set of columns. Unless a custom set of fields is necessary, most skill lists should follow one of 2 predefined formats by using these templates:
- {{Weapon skill table header}} / {{Weapon skill table row}} for weapon skills and auxiliary skill bars (prints slot#, type, activation time, recharge, and description)
- {{Slot skill table header}} / {{Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, activation time, recharge, and description)
- {{Profession mechanic skill table header}} / {{Profession mechanic skill table row}} for profession mechanic skills (prints profession mechanic slot#, weapon, type, recharge, and description)
- {{Environmental skill table header}} / {{Environmental skill table row}} for enviromental weapon skills (prints slot#, activation time, recharge, and description)
Parameters[edit]
- 1 (unnamed parameter)
- 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 (unless
slotorpetis used, see below). - slot
- Set to any value to dislay the value of the skill's
weapon slotparameter in the first cell of the row, before the skill name. - Warning: All calls to this template in the same table must either use or omit this parameter.
- pet
- Set to the name of a pet species to display it in the first cell of the row, formatted as a header cell.
- pet label
- If the "pet" parameter is set to "common", allows the addition of a label.
- chain
- Set to one of the following values to show an additional icon before the skill icon:
chain
(no link)
burst
(links to Burst)
stealth
(links to Stealth Attack)
toolbelt
(links to Tool belt)
- class
- Used to apply CSS classes to the row. Examples:
class=<profession>applies profession coloring to individual rows of a general tableclass=lineapplies a border to the bottom of the row
Example[edit]
{| {{STDT|warrior skills}}
! Skill
! [[File:Tango-activation-darker.png|link=Activation time]]
! [[File:Tango-recharge-darker.png|link=Recharge]]
! Description
{{skill table row|chain=burst|Arcing Slice}}
{{skill table row|Greatsword Swing}}
{{skill table row|chain=chain|Greatsword Slice}}
{{skill table row|chain=chain|Brutal Strike}}
{{skill table row|Hundred Blades}}
{{skill table row|Whirlwind Attack}}
{{skill table row|Bladetrail}}
{{skill table row|Rush}}
|}
| Skill | Description | ||
|---|---|---|---|
| ½ | 8 | Burst. Deliver a circular attack to foes around you, and gain fury. Deal more damage to foes with low health. | |
| Greatsword Swing | ½ | Chain. Slash your foe. | |
| ½ | Chain. Slice your foe. | ||
| ½ | Hit your foe with a final brutal strike. | ||
| Hundred Blades | 3½ | 8 | Repeatedly strike multiple foes. The last strike does extra damage. |
| Whirlwind Attack | 1 | 10 | Whirl in a target's direction, slashing foes along your path. |
| Bladetrail | ½ | 15 | Throw your greatsword at your foe so that it returns to you, immobilizing foes along the way. |
| Rush | 2 | 20 | Charge and strike your foe. |