Template:Abilities/doc
From CotH-Wiki
Jump to navigationJump to search- 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
- image
- Will display the ability's icon
- range
- If a set range
- 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
- Examples
{{abilities|Hurl Boulder|Hurls a massive boulder.}}
{{abilities|Flame Spray|A fiery attack to enemies in front of caster|image=inv summerfest firespirit|id=64717}}
{{abilities|Charged Leap|notes=A jump attack that damages and stuns all nearby enemies.|id=64779|image=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|image=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.
- 32px Flame Spray  A fiery attack to enemies in front of caster
- 32px Charged Leap 10-80 yd range  A jump attack that damages and stuns all nearby enemies. (20 sec cooldown)
- 32px 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.
- Example
{{abilities|Flame Spray |A fiery attack to enemies in front of the caster |image=inv summerfest firespirit |id=64717 }}
- Result
- 32px [http://www.wowhead.com/?spell=64717 Flame Spray
]  A fiery attack to enemies in front of the caster
- Which looks horrible.
- Use explicit parameter assignment (
1=
,2=
, etc), or put the unnamed parameters all on one line and end with at least a vertical bar (|
).