User:Dr ishmael/weapon skill table row
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
{{Weapon skill table row|<skill name>}} {{Weapon skill table row|<skill name>|chain= |class= }}
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# (before the skill name), type, recharge time, and description. It does not return the table opening or closing tags, so those must be provided on the calling page.
It requires the presence of a DPL statement (like that included in {{skill list dpl}}) that populates a set of variables with the relevant skill data.
Caveat[edit]
This is a standardized template that specifically builds a weapon skill table. For alternatives, see:
- {{Skill table row}} for custom tables (can set which data prints in what order)
- {{Slot skill table header}} / {{Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, recharge, and description)
Parameters[edit]
- 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 (unless
slot
orpet
is used, see below).
- 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 skill) toolbelt (links to Tool belt) underwater (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 tableclass=line
applies a border to the bottom of the row
Example[edit]
{{skill list dpl|Mace}} {| class="guardian skills table" {{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 | Description | |||
---|---|---|---|---|---|
1 | True Strike | ½ | Chain. Smash your foe. | ||
Pure Strike | ½ | Chain. Bash your foe. | |||
Faithful Strike | ¾ | Hit your foe with a final strike and heal nearby allies. | |||
2 | Symbol of Faith | Symbol | ¾ | 8 | Symbol. Smash the ground to heal allies and create a mystic symbol that damages foes and regenerates allies. |
3 | Protector's Strike | 3 | ¾15 | Protect allies from the next incoming attack against them, and lash out when attacked, granting boons to nearby allies and fully charging the passive burning effect. |