Template:Abilitytip/doc

From CotH-Wiki
Jump to navigationJump to search

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

Named parameters

Generic tooltip Ability-specific
|float=
tooltip's float location; for item pages, always use {{#ifeq:{{PAGENAME}}|Item Name|right|left}}.
|width=
tooltip width. Typically 18em.
|disambigpage=
name of WoWWiki page for this ability, if different from item name (used mainly for disambiguated pages).
|name=
ability name, as it appears in game.
|icon=
icon to display; omit Image: and file extension (.png); passed to {{icon}}.
|cast=
Cast time (provide a number, 0 for instant; also accepts Passive, Next Melee, Channel; use -1 to force just "Instant" and not "Instant cast").
|cost=
Numeric cost of this ability.
|costunit=
Textual unit of the ability's cost ("Mana", "Energy", "Rage" etc)
|range=
Numeric range of this ability (yards).
|reagents=
Reagents required to use the ability.
|desc=
ability description (may use spelllink to link to effect if desired). Use break tags to force multiple lines if required.

Demo

Template:Abilitytip Template:Abilitytip Template:Abilitytip