Template:Pet abilitytip/doc

From Warcraft Watch Secrets
Revision as of 13:24, 30 July 2021 by imported>Surafbrov
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The template creates a WoW styled tooltip for pet abilities; you provide the required information through a series of named parameters.

Named parameters

Generic tooltip Ability-specific
|float=
tooltip's float location; left or right (default)
|width=
tooltip width. Typically 18em.
|disambigpage=
Wowpedia page for this ability. Not required if this template is used directly on that page.
|compact=
Pass a non-empty value to reduce the size of the tooltip.
|name=
Ability name, as it appears in game.
|icon=
Icon to display; omit File: and file extension (.png); passed to {{icon}}.
|type=
Type of the ability.
|passive=
If the ability is passive. Put 1 if its passive.
|rounds=
Number of Round Ability.
|cooldown=
Number of Turn Cooldown.
|hit=
Chance in % for the ability to hit.
|desc=
Ability description. Use <br /> tags to force multiple lines if required.
|nodmg=
Specified if the ability does not cause damage.

Boilerplate

{{Pet abilitytip
|name=
|icon=
|type=
|rounds=
|cooldown=
|hit=
|desc=
|nodmg=
}}

Demo