Classic WoW Wiki:Templates/World of Warcraft templates

Abilities (spells)
To display an ability with that has a page with a proper Infobox ability...



Usage:

Displays:


 * External links

Usage:

Displays:

Battle pet abilities
New with Mists of Pandaria, battle pet abilities are specific to the turn-based Pet Battle System.

To display a battle pet ability with that has a page with a proper Battlepetabilitybox...



Usage:

Displays:


 * External links

Usage:

Displays:

Follower abilities and traits
New with Warlords of Draenor, follower abilities and traits are specific to the garrison.


 * External links

Usage:

Displays:



Usage:

Displays:

Powers
A power is just any kind of ability or spell used by an minion, mob, NPC, or Hunter pet. Otherwise it functions just like  and requires the linked page to have Infobox ability used correctly on it.



Usage:

Displays:

Money
Multiple ways to do money exist, but only a few are practical, and here they are:



The  template also supports many, many other non-money, non-coin currencies. See the template documentation for details.

Battle pets
Most databases mix battle pets among the NPCs, but you can use this template for external links instead of Elinks-NPC.


 * External links

Usage:

Displays:

Battle pet family
Display the battle pet family icon and optionally family name link.



Usage:



Displays:


 * External links

Usage:

Displays:

Class
For showing the fancy class crest. Used mostly for class specific quest rewards or the like.

Currency
Similar to money, there are now many other types of currencies in WoW, where you exchange items as a currency for another item. For example:



Events
Some databases use a shared id for recurring in-game events like Hallow's End.


 * External links
 * Pirate's Day

Usage:

Displays:

Factions
Some databases use a shared id for reputation factions.


 * External links
 * Darkmoon Faire

Usage:

Displays:

Battle.net faction external links

 * Factions
 * faction name
 * Example:
 * Output:

Garrisons

 * Garrison_building_name
 * &rarr;
 * Mission_counter_name
 * &rarr;
 * Faction (" " is added to name in link unless  specified)
 * &rarr;
 * &rarr;
 * Garrison_ship_type
 * &rarr; DESTROYER undefined
 * &rarr; ALLIANCE DESTROYER undefined
 * &rarr; HORDE DESTROYER undefined

Items
To create an item link within an article, use the item template, passing it the name of the item's page on WoWWiki. If desired, you can also ask to add the item's icon to its output by adding   to the tooltip code.

Loot
A bit more complicated to use (you have to supply the quality), the loot doesn't work the wiki engine as hard, still supplies tooltips, and works better for items without pages yet (item pulls quality info from the tooltip on the page).


 * External links
 * Items of all sorts
 * ID
 * Example:
 * Output: Crooked Staff

Glyph
The glyph template is a derivative of loot that checks for "glyph of" and doesn't require a quality.

GM item

 * GM-item displays a banner noting this item is most likely for GMs only.

Guilds
This template will link to the Battle.net guild page at the official site.


 * External links

Usage:

Displays:

Mobs and NPCs
If you just want to link to a mob or NPC with a link that will show a tooltip on mouseover you can use one of two templates.


 * - does not require a faction as a parameter, but  (no value needed) will show the boss skull ([[File:Boss_15.png]]) before the mob link and   (no value needed) can be used to show the mob level (add a "+" after the level number to indicate Elite).
 * Example:
 * Output:


 * - requires faction as the first parameter. Also uses  (no value needed) can be used to show the mob level (add a "+" after the level number to indicate Elite).
 * Example:
 * Output:

DB mob and NPC external links

 * Mob or NPC
 * ID
 * Example:
 * Output: Thrall from Old Hillsbrad Foothills

Battle.net boss external links

 * Instance bosses
 * Instance name
 * Example:
 * Output:

Objects
The tooltip only works for this type of link, if the object page has a tooltip template used on it like a regular item. An  should be added for objects that have no corresponding page, but links should have the   removed when the page exists.


 * External links
 * Objects
 * ID
 * Example:
 * Output: Tear of Tilloa

Player characters
This template will link to the Battle.net character page at the official site.


 * External links

Usage:

Displays:

Quests
There are two ways to link to quest articles. There is the normal way, because sometimes you just need to mention the quest, which makes use of the template quest, that automatically drops the "Quest:" from the name (used for cleaner code):


 * as opposed to

The second way is more detailed, and is usually used in bulleted lists.



Usage:

Displays:


 * External links

Usage:

Displays:

Quest change
If you see a small part of a quest article, a section of a quest article, or a small part or section of an article involved with a quest that you want to mark as significantly changed you can use the following templates (inline and section).

Questch-inline

Displays:

Questch-section

Displays:

Level cap money calc
Calculates how XP for quests will be converted to money for level capped chars.

Usage: XP

Displays:

Displays:

Footers
These templates take one parameter "class" which should be replaced by the class name; "Mage", "Warrior" etc. This is used to create links back to class-specific pages.


 * class

External links to Battle.net

 * Instances
 * Instance name or page
 * Example:
 * Output:

Battle.net doesn't have pages for zones in the regular Game Guide, so these links will just search battle.net for the zone name.
 * Zones
 * Zone name or page
 * Example:
 * Output:

However, if you specify the expansion for Mists of Pandaria zones, the link will point to the zone specific page.


 * Example:
 * Output:

Realms and servers

 * Internal links
 * realmname
 * Example:
 * Output:
 * Output:
 * Output:

Specializations

 * Class
 * &rarr;

Simple specialization link templates:

Talents
NOTE: The notion of talent trees was replaced by specializations in Cataclysm.
 * Class
 * &rarr;

WoW icons

 * race is a shortcut for the ten playable races in the form of.
 * class is a shortcut for the ten playable classes in the form of.
 * Race for all gender/race icons (both in large and small sizes: ).
 * Class for all class icons (both in large and small sizes: ).
 * Profession for all profession icons (only small size ).
 * Deprecated Faction for faction icons (GIF). (See below)
 * Faction for faction icons (PNG). (See below)
 * Faction for faction icons (PNG). (See below)
 * Alliance icons:
 * Alliance or deprecated Alliance Icon Small --  or
 * Alliance Icon --
 * Deprecated Alliance -- /
 * Alliance -- /  /
 * Alliance -- /  /
 * Horde icons:
 * Horde or deprecated Horde Icon Small or --  or
 * Horde Icon --
 * Deprecated Horde -- /
 * Horde -- /  /
 * Horde -- /  /
 * Neutral icons:
 * Neutral or deprecated Neutral Icon Small -- or
 * Neutral Icon --
 * Neutral -- /
 * Neutral -- /  /
 * Neutral -- /  /
 * Other icons:
 * Boss or deprecated Boss Icon Small -- or
 * Deprecated Boss -- /
 * Boss -- /  /
 * Both -- /  /
 * Boss -- /  /
 * Both -- /  /
 * Combat or deprecated Combat Icon Small -- or
 * Deprecated Combat -- /
 * Combat -- /  /
 * Combat -- /  /


 * Blizzard:
 * Blizz


 * Garrison
 * Building for garrison building icons.
 * Alchemy Lab: &rarr;
 * Mission counter for mission counter icons.
 * Danger Zones: &rarr;
 * Ship_type for all garrison ship type icons.
 * Destroyer: &rarr;
 * Alliance Destroyer: &rarr;
 * Horde Destroyer: &rarr;

Wow Armory icons

 * Spec Name can be used to display spec icons
 * Realm RoundIcon
 * Item and other icons: in-game icon name
 * up to
 * up to
 * up to

Zones
To display a subzones navigation box for a zone...

Usage:

Displays:


 * External links

Usage:

Displays:

NOTE: The template above can be used for subzones by supplying the subzone id as the id, but Wowhead/Thottbot don't really support subzones anymore and WoWDB seems to have some, but reports them as "This zone is not available in game." Predecessor to WoWDB, DB.MMO-Champion.com is obsolete and only supported subzones from Cataclysm and earlier.

Subzones
Unfortunately most databases have been inconsistent and spotty with their support of subzones by id, but MMO4EVER seems to do a good job up through Cataclysm subzones, but you have to supply the zone id also which is a bit extra work.


 * External links

Usage:

Displays: