Wowpedia:Templates

''There are many, many templates in use in Wowpedia and these are only subset, hopefully representing the most commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it.''


 * The Template namespace always has all templates in the wiki, unsorted
 * Category:Templates should have all templates in the wiki, categorized.

Wiki templates provide a means to insert the same content over and over in different (or the same) pages. This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency. See Help:Template for further information on using and creating templates.

Templates are generally shown with the format required to use the template (i.e. Horde Icon). Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.

[]

Accuracy

 * accuracy displays a banner requesting a fact check

Better name / Conjecture

 * bettername displays a banner flagging the article as probably needing a new name

Citations needed

 * Source needed displays a well-visible banner and places the article in Category:Articles needing citations
 * fact inserts a small link in the text and places the article in Category:Articles needing citations

Cleanup
reasons

Add to articles or sections that require editing attention. This will include them in Category:Articles to clean up.

Please try and add reasons - this will help editors to change what is wrong or add what is not there without having to ask the user who tagged the page.

Construction

 * construction

Deletion templates
Delete, Speedydelete, Terminate etc. are used as part of the article deletion process. See delete, Terminate.

Disputed

 * Disputed

GM Item

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

Merge
target article

Add to articles that should be merged into one article. This will include them in Category:Merge candidates. Further elaboration on the articles' discussion pages would be helpful, such as suggesting which name both articles should be listed under.

Move
target article

Add to articles that should be moved to another name (Category:Move candidates), in accordance with the Naming Policy. While many moves can be made immediately, if moving will be an involved process (as with a category) or there is debate as to what the article should be called, it is best to receive some feedback first.

Outdated

 * Outdated or the shorthand, ood

Removed

 * Removedfromgame or Removedfrombeta, where appropriate

Split
Split

Add to articles that should have sections split off into separate articles. This will include them in Category:Split candidates. Be sure to clarify on the article's discussion page which sections you think should be moved to a new article, and why.

Stubs
When a page has little or no useful information, then it is a stub.


 * Current stub templates

Talk pages
(from Talkheader)

This template can be added to an article's talk page where discussion about the issue in general is overwhelming editorial concerns regarding the article in particular. See Wowpedia:Talk page guidelines for more info.

Wikify

 * Wikify

Icons
Note that all these icons appear to the left of the text left edge. Use them only in indented sections (e.g. after a ":").


 * icon-information


 * icon-exclamation


 * icon-lightbulb


 * icon-shortcut

Category helpers

 * Use realm type to easily categorize US servers. (timezone = Eastern, Central, Pacific, etc....) (server = article name minus Server:, helps alphabetize categories)


 * Use realm type to easily categorize EU servers. (language = English, French, German, etc....) (server = article name minus Server:, helps alphabetize categories)


 * Use name to easily categorize guilds.


 * Use article type at the top of category pages that shouldn't be used to tell people what category they should be using.


 * Use bigcat at the bottom of very large (nearly or over 200 articles) categories:


 * Note that is no longer required as of the MediaWiki 1.7 upgrade. You can now use regular   redirects.  Old/deprecated categories should never be redirected per the category policy.

Clear below break before starting

 * You can use clear instead of the HTML tag that clears space below things like images, pictures and tables, so stuff doesn't begin until the bottom of the image, picture or table box.
 * You can also use left or right to clear only left or right floats

Line spacing

 * spc adds a moderate space between two paragraphs, or between items in a bullet list. The spacing is about 75% of a regular line height.

Columns
To easily put content in columns, use col-begin, col-2/col-3/col-4/col-5/col-6/col-7, and col-end.


 * For example

First column

Second

Third


 * Yields

First column

Second

Third

Disambiguation

 * Use disambig, if a page has a chance of being confused with a page of a similar name but different content, a disambiguation page may be in order. See that page for more info on creating one and linking to it.
 * However, sometimes a disabiguation page is not appropriate, but a short note at the top may still be necessary. for can be useful for this situation.

Tables of Contents
Though discouraged (see Wowpedia:Manual of Style), you can float the table of contents of a page to the right with tocright

Tabs
If you want to make a nice looking tab to clearly indicate what to click, like, you can use the following:
 * articletab –
 * categorytab –
 * discussiontab –
 * edittab –
 * editplustab – for adding sections in talk pages
 * plustab – for adding sections in talk pages
 * helptab –
 * historytab –
 * movetab –
 * projectpagetab –
 * watchtab –
 * specialpagetab –
 * templatetab –
 * unwatchtab –
 * userpagetab –
 * viewsourcetab –

Template links
Make example template code for templates with a link to them:
 * Simple template (i.e. template)

Example, Example/Begin, Example/End
can be used for very small examples, but often you will want to pull in substantial pieces of other pages or templates, in which case you can use :

LOTS of text, probably multiline

Page actions

 * pagename can be used to create a link for editing a page, e.g.  creates.


 * your text creates a link that purges the cache of a page, i.e. forces a reload of all pulled-in templates. Sensible texts would be e.g.,  ,.

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



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:



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.

faction

Usage:

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

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.
 * Faction for faction icons. (See below)
 * Alliance icons:
 * Alliance Icon Small or Alliance -- or
 * Alliance Icon --
 * Alliance -- /
 * Horde icons:
 * Horde Icon Small or Horde -- or
 * Horde Icon --
 * Horde -- /
 * Neutral icons:
 * Neutral Icon Small or Neutral -- or
 * Neutral Icon --
 * Neutral -- /


 * Blizzard:
 * Blizz

Wow Armory icons

 * SpecIcon can be used to display spec icons
 * Realm RoundIcon

Article types
Templates for labeling Articles with an article type (such as 'Character', 'Location', 'User Interface', 'Quest', 'Guild', etc.) are available: see Wowpedia:Article types.

Miscellaneous
See Patch 2.4. produces:

(If you've created a new page, use Stub/PTR instead)

Speculation produces:

Silly produces:

Guild produces:

GOG produces:

PC produces:

Player produces: undefined

Fanfic produces:

World of Warcraft
WoW produces:

Wow-section produces:

Wow-inline produces:

Bc-section (used for article sections relating to TBC)

Bc-inline (used for minor articles/article sections relating to TBC)

Wotlk-section (used for article sections relating to WotLK)

Wotlk-inline (used for minor articles/article sections relating to WotLK)

Cataclysm-section (used for article sections relating to Cataclysm)

Cata-inline (used for minor articles/article sections relating to Cataclysm)

C-inline (used for minor info/navboxes relating to Cataclysm)

Warcraft RTS Games
RTS produces:

Warcraft III produces:

WC3-section produces:

WC3-inline produces:

WC3FT-inline produces:

Warcraft II produces:

WC2-section produces:

WC2-inline produces:

Warcraft I produces:

WC1-section produces:

WC1-inline produces:

Publications
Novel produces:

Novel-section produces:

Novel-inline produces:

Graphic novel produces:

Comic-section produces:

Comic-inline produces:

RPG produces:

RPG-section produces:

RPG-inline produces:

TCGlore produces:

TCG produces: TCG undefined

Forum links

 * Use topicid to get a link like:
 * Assumes a base URL of http://forums.worldofwarcraft.com/thread.html.
 * Use archiveurl to link with a forum archiver:
 * Use topicid to get a link like:
 * Assumes a base URL of http://forums.wow-europe.com/thread.html.
 * Use topicid to get a link like:
 * Assumes a base URL of http://forums.wow-europe.com/thread.html.
 * Assumes a base URL of http://forums.wow-europe.com/thread.html.

Blizzard text colors

 * Use blizz or  for coloring official Blizzard text
 * Wikicode example:
 * Wikicode example:
 * i.e. All your CC trinkets will be nerfed against level 60 in 2.0.3, but that's how it was supposed to work.
 * For those using Monaco skin, use  for coloring official Blizzard links (in posts, announcements, press releases etc.).
 * Wikicode example:
 * i.e. Visit the official community site: http://www.worldofwarcraft.com/

Patch notes and hotfixes

 * Use patch to add patch note information to an article
 * Wikicode example:
 * i.e.
 * Use date to add hotfix information to an article
 * Wikicode example:
 * i.e.

Quality Colors
The following templates change the color of the links. In case there is such a concern, note that each link, when moused over, has the underline in the typical link color. For instance, if a link does not exist, the underline is red; if it does exist, the underline is blue.

NOTE: Color for Artifact items used to be red and is currently undecided by Blizzard as there are no items of this type in-game yet, however GetItemQualityColor API function currently returns 0.90196..., 0.8, 0.50196..., "|cffe6cc80" (shown in that color) for quality=6 (Artifact), which gives some idea. Legendary items are said to have "(Color Undecided)" according to Item Basics at www.wow-europe.com, but have been seen in-game.

For simple quality links for use in other templates, use the following format:
 * the template name indicates the item has a quality
 * the first argument is the quality of a given item
 * the second argument is the name of a given item's article

Simple color replacement templates deprecated using styling in MediaWiki:Common.css:

Reputation colors
The rep level template changes the color of text based on the reputation selected.

You can also color custom text as well. For example:  results in.

Colored text
You can also easily color inline text with text. This template comes preloaded with some common colors - "emote", "say", "yell", "whisper", and "blizz" but many other colors can be supplied as well.

For example:  results in

whisper

Item Links
To create an item link within an article, use the item template, passing it the name of the item's page on Wowpedia. If desired, you can also do a plain linking to also show the icon. To make a plain ability link, type  after the.

Ability Links
To create an ability link within an article, use the ability template, passing it the name of the ability's page on Wowpedia and desired text to show. If desired, you can also do a plain linking to also show the icon. To make a plain ability link, type  after the.

User-related templates
See List of user templates or Category:User templates.