Template:Tooltip/doc
{{tooltip}} is deprecated. Use {{itemtip}} instead!
Old documentation
Using this template on an article page creates a formatted information box in the upper right-hand corner of that page. You can supply any number of the optional parameters to display specific text in the tooltip.
Tooltips for other purposes can be created using the templates {{abilitytip}}, {{effecttip}}, {{settip}}, {{achievementtip}}, and {{proftip}}.
Required Minimum Syntax
The following parameters are required for every tooltip template, and the entire block should always be the first thing on an article page. However, without any further parameters, only an empty box will display:
<onlyinclude>{{{{{tpl|tooltip}}}
|arg={{{arg|}}}
}}</onlyinclude>
{{Item}} and {{Loot}}
For {{item}} and {{loot}} to work, the following minimum parameters are required:
<onlyinclude>{{{{{tpl|tooltip}}}
|arg={{{arg|}}}
|name=<item_name>
|quality=<quality_value>
|bind=<bind_value>
}}</onlyinclude>
{{DE}}
To automatically show a tooltip of disenchanting results when mousing over the Item Level number on the article page, the following are required:
<onlyinclude>{{{{{tpl|tooltip}}}
|arg={{{arg|}}}
|name=<item_name>
|quality=<quality_value>
|slot=<slot_value>
|ilvl=<item_ilvl>
}}</onlyinclude>
Named parameters
This is the full list of named parameters listed in order that they appear in the displayed/in-game tooltip. Parameters that apply color to text in the finished tooltip have the same color here.
|
|
"type" and "slot" values
List of values that appear in tooltips.
- type
- Arrow, Axe, Bag, Bow, Bullet, Cloth, Crossbow, Dagger, Enchanting Bag, Engineering Bag, Fishing Pole, Fist Weapon, Gem Bag, Gun, Herb Bag, Idol, Leather, Leatherworking Bag, Libram, Mace, Mail, Mining Bag, Plate, Polearm, Shield, Sigil, Soul Bag, 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.