Template:Tooltip/doc

The template creates a WoW styled tooltip for items; you can supply any number of the named parameters to display specific text in the tooltip.

Required Minimal Syntax
Begin all item-page tooltips with the following three lines: The template parameters displayed here are required to enable item pages interact with other consumers of tooltip data, and do not change from page to page.

Display modes
Passing |mode= to the template (and, by extension to the item page syntax, any item page) affects how the template renders the tooltip. There are several valid mode values:
 * home / away
 * Displays the tooltip as if on its item page (home) or not on its item page (away). If mode is omitted, the appropriate one of those is chosen by default.


 * link / imlink
 * Return an item link (link) or an item link with an image (imlink) instead of the tooltip.


 * arg (in combination with |arg=)
 * Returns the value of, evaluated in the tooltip's context.

"type" and "slot" values
List of values that appear in tooltips.
 * type
 * Arrow, Axe, Bow, Bullet, Cloth, Crossbow, Dagger, Fishing Pole, Fist Weapon, Gun, Idol, Leather, Libram, Mace, Mail, Plate, Polearm, Shield, Staff, Sword, Thrown, Totem, Wand.


 * slot
 * Back, Chest, Feet, Finger, Hands, Head, Held In Off-hand, Legs, Main Hand, Neck, Off Hand, One-Hand, Projectile, Ranged, Relic, Shirt, Shoulder, Tabard, Thrown, Trinket, Two-Hand, Waist, Wrist.