Template:Tooltip-wc3

From Warcraft Wiki
Jump to navigation Jump to search


The template creates a Warcraft III 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:

{{tooltip-wc3
|mode={{{mode|}}}
|arg={{{arg|}}}

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.

Named parameters

|icon=
icon to display; omit Image: and file extension (.png); passed to {{icon}}.
|stack=
stack size for stackable items; passed to {{icon}}.
|name=
item name, as it appears in game.
|disambigpage=
name of Wowpedia page for this item, if different from item name (used mainly for disambiguated items).
|level=
item level
|class=
item classification (ex. Charged, Permanent, Powerup, etc.)
|req=
item requirements
|hotkey=
item purchase hotkey
|stock=
item's maximum stock.
|stockstart=
delay before item becomes available.
|stockreplenish=
delay before current stock increases.
|unique=
unique items
|artifact=
artifact items
|duration=
duration this item persists for (time-limited items).
|charges=
maximum number of times this item can be used, numeric.
|history =
item's history text
|desc=
item's description text
|cooldown=
cooldown on the use effect of this item.
|cgroup=
cooldown group. Items in the same group share the same cooldown.
(ex. If you use a Stone Token you must wait 20 seconds to use an Ice Shard.)
|cast=
cast time of the use effect of this item.
|sell=
price for which this item is sold, use numeric values