Template:Tooltip ability/doc

From Wildermyth Wiki
< Template:Tooltip ability
Revision as of 15:50, 21 September 2021 by FeralKitty (talk | contribs) (Created page with "<includeonly>: ''This documentation is transcluded from Template:Tooltip ability/doc''</includeonly><!-- --><noinclude><div class="messagebox" style="padding-left:1ex;">''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Tooltip ability.

Usage

This template displays a tooltip for an ability.

The tooltip uses the following parameters:

action
Optional action point for the ability. One of single action, single action, ends turn, or swift action. Omit for passive abilities.
ability
Name of the ability
description
Description of the ability
damage
Numeric damage of the ability
formula
(Human-readable) formula for the damage calculation

Example

{{Tooltip ability
| action = single action
| ability = Shooting Star
| description = [[Hero]] shoots a burst of star-energy at a nearby foe with their celestial arm.
| damage = ''x'' magic damage, 1 pierce
| formula = (1 to 5) + 1/2([[Bonus Damage]] + [[Potency]])
}}
single action

Shooting Star

x magic damage, 1 pierce

Hero shoots a burst of star-energy at a nearby foe with their celestial arm.

(1 to 5) + 1/2(Bonus Damage + Potency)

Example (passive ability)

{{Tooltip ability
| ability = Broadswipes
| description = [[Hero]]'s melee attacks deal ''x'' damage to all other foes within range.
| damage = ''x'' damage
| formula = [[Bonus Damage]] + [[Potency]]
}}

Broadswipes

x damage

Hero's melee attacks deal x damage to all other foes within range.

Bonus Damage + Potency