Difference between revisions of "Template:Tooltip ability/doc"
From Wildermyth Wiki
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;">''...") |
|||
Line 55: | Line 55: | ||
| formula = [[Bonus Damage]] + [[Potency]] | | formula = [[Bonus Damage]] + [[Potency]] | ||
}} | }} | ||
[[Category:Template]] |
Revision as of 10:06, 29 December 2021
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. |