Notes:
Renders the text of a creature ability, with an icon based on the element.
Syntax:
{{Ability|name|damage|element|scene=}}
Parameter | Required | Usage |
---|---|---|
name |
⍻ | The name to display for the ability. No need to include name= if it the first parameter.If no name is assigned, it will default to: Element Damage .
|
damage |
✗ | The damage dealt by this ability. It can be a range value (e.g. 100-200). No need to include damage= if it is the second parameter.This can also be used to add details to other types of abilities, such as status conditions. |
element |
✗ | The element of the damage. If unspecified, physical will be assumed. For other abilities, such as status conditions, you can use other values to display their icons. See Template:Icon for possible values. |
scene |
✗ | The scene demonstrating the ability. Using Template:Scene. |
parentheses |
✗ | Whether to show parentheses or not around the damage value. By default yes. Define as no or false to disable. Not really meant for direct use, but for child templates.
|
Example:
The name must always be the first parameter.damage
and type
can be defined in order or named explicitly.
If type is not specified, it will default to physical.
Input | Output |
---|---|
{{Ability|Melee|100-200}} |
Physical damage is inferred. See Template:Melee for an alias. |
{{Ability|Ice Strike|damage=100-200|element=ice}} |
|
{{Ability|damage=100-200|element=energy}} |
A generic name is generated. Might not work well with other elements. |
{{Ability|[[Mana Drain]]|100-200|manadrain}} |
![]() Links may be used as part of the name. Note that the icon is also a link. |
{{Ability|Paralyzes|by 20 speed levels|slowed}} |
The damage parameter might be used for details about other types of abilities. |
{{Ability|Invisibility|5 seconds|invisible}} |
![]() |
{{Ability|Makes you drunk|element=drunk}} |
Or it may be omitted. |
{{Ability|Poisons you|up to 21hp per turn|poisoned}} |
Notice the tooltip and links take you to the status condition instead |
{{Ability |Great Fireball |damage=60-140 |element=fire |scene= {{Scene |spell=great_explosion |effect=Fireball Effect |effect_on_target=Fireball Effect |caster=Dragon |missile=Fire Missile |missile_direction=south-east |missile_distance=3/3 |edge_size=0 }} }}(Expanded for readability) |
This template has a couple aliases: