The template creates a WoW styled tooltip for abilities; you provide the required information through a series of named parameters.
Named parameters
Edit
| 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); will be made lowercase
- |cooldown=
- Cooldown (provide a number with time unit: sec, min, hr, etc.)
- |range=
- Numeric range of this ability (yards).
- |reagents=
- Reagents required to use the ability.
- |requirements=
- Other requirements required to use the ability ("Requires ...").
- |tools=
- Tools 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.
|
Examples
Edit
{{Abilitytip
|name=Entangling Roots
|disambigpage={{#ifeq:{{FULLPAGENAME}}|Template:Abilitytip|Template:Abilitytip|Template:Abilitytip/doc}}
|width=18em
|icon=Spell_Nature_StrangleVines
|cast=1.5
|range=36
|cost=7% of base
|costunit=Mana
|desc=Roots the target in place and causes 20 Nature damage over 12 sec.<br/>
Damage caused may interrupt the effect. Only usable outdoors.
}}
{{Abilitytip
|name=Dodge
|disambigpage={{#ifeq:{{FULLPAGENAME}}|Template:Abilitytip|Template:Abilitytip|Template:Abilitytip/doc}}
|width=18em
|icon=Spell Nature Invisibilty
|cast=Passive
|desc=Gives a chance to dodge enemy melee attacks.
}}
{{Abilitytip
|name=Word of Glory
|disambigpage={{#ifeq:{{FULLPAGENAME}}|Template:Abilitytip|Template:Abilitytip|Template:Abilitytip/doc}}
|icon=Inv_helmet_96
|desc=Consumes all Holy Power to heal a friendly target for X per charge of Holy Power.
|cost=1
|cast=Instant
|cooldown=20 sec
|range=40 yards
}}
{{Abilitytip
|name=Shortblade Specialization
|disambigpage={{#ifeq:{{FULLPAGENAME}}|Template:Abilitytip|Template:Abilitytip|Template:Abilitytip/doc}}
|width=18em
|icon=inv_weapon_shortblade_05
|cast=Racial Passive
|requirements=Requires One-Handed Swords, Daggers
|desc=Expertise with Daggers and One-Handed Swords increased by 3.
}}