Difference between revisions of "Template:Tooltip ability/doc"

From Wildermyth Wiki
Line 56: Line 56:
}}
}}


[[Category:Template]]
<includeonly>[[Category:Template]]</includeonly>

Revision as of 10:44, 29 December 2021

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