Template:Abilities

From Warcraft Watch Secrets
Revision as of 21:44, 23 June 2025 by imported>Mordecay (Reverted edit(s) by Mordecay (talk) to last version by Kaydeethree)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Abilities is used as a standard way to identify abilities used by NPCs or players in lists.

Usage
{{abilities|<ability_name>|<description>}}
Optional parameters
id
The ability's id number, linking to wowhead
hid
The heroic mode version of the same ability
icon
Will display the ability's icon
range
If a set range
casttime
If a cast time exists
energy
Can be used to display resource requirements (energy/rage/mana/focus) used or if channeled
cd
If a cooldown exists
notes
For when an ability has no description or optional notes are required
min
When using the template within tables and you want to get rid of the spaces and hyphen.
type
Dungeonjournal icon, same parameters as Alert, for more than one use type2 and type3.

Pass expansion flags to link to specific classic versions of spells. Use |classic=, |tbc=, |wotlk=, |cata=, or |mop=.

Examples
{{abilities|Hurl Boulder|Hurls a massive boulder.}}
{{abilities|Flame Spray|A fiery attack to enemies in front of caster|icon=inv summerfest firespirit|id=64717}}
{{abilities|Charged Leap|notes=A jump attack that damages and stuns all nearby enemies.|id=64779|icon=spell nature lightningoverload|range=10-80|cd=20 sec}}
{{abilities|Explosive Barrage|Launches a barrage of explosive orbs at all enemies. Explosive orbs deal 3000 Arcane damage when they detonate.|id=69019|hid=70433|range=6|icon=spell nature wispsplode|notes=Instant. 6000 damage on Heroic. Cast by the exploding orbs summoned at players' positions.}}
Results
Hurl Boulder — Hurls a massive boulder.
File:Inv misc questionmark.png Flame Spray — A fiery attack to enemies in front of caster
File:Inv misc questionmark.png Charged Leap 10-80 yd range — A jump attack that damages and stuns all nearby enemies. (20 sec cooldown)
File:Inv misc questionmark.png Explosive Barrage (Heroic mode) 6 yd range — Launches a barrage of explosive orbs at all enemies. Explosive orbs deal 3000 Arcane damage when they detonate. Instant. 6000 damage on Heroic. Cast by the exploding orbs summoned at players' positions.
Caveats
If you use line breaks to format the layout of the source, then avoid putting a line break after the ability_name or description parameter. This will break the template and looks horrible:
Example
{{abilities
|Flame Spray
|A fiery attack to enemies in front of the caster
|icon=inv summerfest firespirit
|id=64717
}}
Result
File:Inv misc questionmark.png [https://www.wowhead.com/?spell=64717 Flame Spray

] — A fiery attack to enemies in front of the caster

The unnamed parameters should all be on one line with a vertical bar (|) or the closing braces (}}) at the end.
Alternatively, you can use explicit parameter assignment (1=, 2=, etc).
Example
{{abilities
|1=Flame Spray
|2=A fiery attack to enemies in front of the caster
|icon=inv summerfest firespirit
|id=64717
}}
Result
File:Inv misc questionmark.png Flame Spray — A fiery attack to enemies in front of the caster