Using this template on an article page creates a formatted information box in the upper right-hand corner of that page. It is also called by {{item}} and {{loot}} to display that information box as a tooltip. You can supply any number of the optional parameters to display specific text in the tooltip.
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:
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.
|icon=
icon to display. omit Image:/File: and extension (.png). Uses {{icon}}. Example: |icon=INV Ingot Titansteel red
basic attributes. Split with <br /> tags, not line breaks. Example: |attrib=+6 Stamina<br />+3 Intellect
|req=
profession specialization required to use the item. Example: |req=Gnomish Engineering
|sockets=
item's sockets. Split with <br /> tags, not line breaks. Example: |sockets={{socket|Blue}}<br />{{socket|Red}}
|sockbonus=
socket bonus for matching gem colors to socket colors. Example: |sockbonus=+9 Spell Power
|durability=
item's durability. Provide the maximum, not the fraction. Example: |durability=75
|locked=
lockpicking skill required to open or blank if item is just locked Example: |locked=300
|bag=
if a bag, number of slots. Example: |bag=16
|bagtype= (avoid in favour of |type=)
Full name of the bag type (i.e. "Soul Bag", "Enchanting Bag", ...). If this bag is a quiver, ammo pouch, or the bag type ends in " Bag", use |type= instead.
|classes=
classes the item is usable by. Split with commas. Example: |classes=Rogue, Mage, Priest
|rep=
faction name required to use this item. See also |rfaction=. Example: |rep=Honor Hold
|rfaction=
faction reputation level required to use this item. See also |rep=. Example: |rfaction=Exalted
|level=
character level required to use this item. Example: |level=80
set's WoWWiki page name, if different from the displayed set name.
|charges=
maximum number of times this item can be used. Example: |charges=10
|flavor=
item's flavor text, without quotes. Example: |flavor=Blade of the Highlord
|read=
display "<Right Click to Read>". Example: |read=1
|open=
display "<Right Click to Open>". Example: |open=1
|cooldown=
cooldown on the use effect of this item.
|cast=
cast time of the use effect of this item.
|vendor=
buy this item from a vendor. Use {{cost}}/{{costitem}} Example: |vendor={{cost|123|45|67}}
|sell=
sell this item to a vendor and get gold. Use {{cost}} Example: |sell={{cost|30|86|42}}
|id=
item id from DB to show Wowhead 3D model viewer button Example: |id=1234
|subdomain=
if using id= specify alternate subdomain for Wowhead 3D model viewer link Example: |subdomain=mop (for )
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:
mode=home / mode=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.
mode=link / mode=imlink
Return an item link (link) or an item link with an image (imlink) instead of the tooltip.
mode=arg (in combination with |arg=)
Returns the value of the arg parameter defined in the tooltip of that page, or "--" if it is not defined.