Archive:WoWWiki:Templates
More actions
There are many, many templates in use in WoWWiki 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.
|
Article Management Tags
See Also: Category:Article Management Tags
Cleanup
Add to articles or sections that require editing attention. This will include them in Category:Articles to clean up. Now edited to add reasons to the bottom of the tag.
This template should now look something like this, when adding to a page:
{{cleanup|
* Reason 1 --~~~~
* Reason 2 --~~~~
* Reason 3 --~~~~
}}
or:
{{cleanup|* Reason 1 --~~~~ * Reason 2 --~~~~ * Reason 3 --~~~~}}
or, if you do not wish to give a reason (which you really should) then just leave it as normal:
{{cleanup}}
This should help editors to change what is wrong or add what is not there, without having to ask the user, who tagged the page for cleanup what they should do.
External Links
{{External links}}
Add to articles or sections that have a large number of links to external sources that could be changed to link to internal WoWWiki pages. This will include them in Category:Articles with external links. Note that some types of external links are desirable, such as citations to on-line articles or forum posts.
Merge
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
Add to articles that should be moved to another name, 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.
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. See the WoWWiki:Stub page for more info on how to deal with stubs.
Deletion templates
{{Delete}}, {{Speedydelete}}, {{Terminate}} etc are used as part of the article deletion process. See Delete, Terminate.
Talk pages
{{Analysis}}
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.
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
General Wiki Templates
See Also: Category:General Wiki Templates
Breadcrumbs
These templates are to be placed at the top of the page, normally, and indicate that the given page is a subpage of another.
- {{breadcrumb0}}
- This is mostly here for formatting consistency between the mother page and its children.
- Template:T1link
- This indicates that it is a first-generation child of the mother page. Mother page is the name of the mother page, and should not include the namespace, as that is already assumed.
- Template:T2link
- This indicates that it is a second-generation child. In this case, mother page includes the grandmother page's name up to (excluding) the last slash.
- Template:T3link
Breadcrumbright templates are used in the same manner, except the links appear on the right side of its containing block.
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-lightbulb}}
{{icon-shortcut}}
Category Helpers
- Use Template:T3link to easily categorize US servers. (timezone = Eastern, Central, Pacific, etc....) (server = article name minus Server:, helps alphabetize categories)
- Use Template:T3link to easily categorize EU servers. (language = English, French, German, etc....) (server = article name minus Server:, helps alphabetize categories)
- Use Template:T2link to easily categorize US guilds.
- Use Template:T2link to easily categorize EU guilds.
- Use Template:T2link 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 Template:T1link is no longer required as of the MediaWiki 1.7 upgrade. You can now use regular
#redirect [[:Category:destination category]]redirects.
Clear below break before starting
- You can use {{clr}} 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:
<br style="clear:both;" />
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.
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.
Tables of Contents
Have you seen how some pages have a nice floating TOC to the left or right? Its easy to add:
- Use {{tocleft}} at the top of the page for one on the left.
- Use {{tocright}} at the top of the page for one on the right.
Tabs
If you want to make a nice looking tab to clearly indicate what to click, like discussion , you can use the following:
- {{articletab}} – article
- {{categorytab}} – category
- {{discussiontab}} – discussion
- {{edittab}} – edit this page
- {{editpagetab}} – Template:Editpagetab for the full edit tab
- {{editplustab}} – edit + for adding sections in talk pages
- {{plustab}} – + for adding sections in talk pages
- {{filetab}} – Template:Filetab
- {{helptab}} – help
- {{historytab}} – history
- {{movetab}} – move
- {{projectpagetab}} – project page
- {{watchtab}} – watch
- {{specialpagetab}} – special page
- {{templatetab}} – template
- {{unwatchtab}} – unwatch
- {{userpagetab}} – user page
- {{viewsourcetab}} – view source
Template Links
Make example template code for templates with a link to them:
- Simple template (i.e. {{disambig}}), no parameters: Template:T1link
- Template with 1 parameter: Template:T2link
- Template with 2 parameters: Template:T3link
- Up to 3 parameters: {{t3link|<template_name>|<parameter1>|<parameter2>|<parameter3>}}
Also See
Add references to other articles using {{AlsoSee #}}. For example, to add two references to a page, use {{AlsoSee|[[Formulas: Health Regen]], [[Formulas:Mana Regen]]}}:
See Also: Formulas:Health Regen, Formulas:Mana Regen
For consistency, it's recommended that you add the Also See box to the very bottom of the article, or a specialized section of a larger article.
Infoline, Infobox, Bands
- You can put informative text here, which may be multi-line.
- It can even have more than one bullet!
Template:T1link results in a small box off to the right (look →):
Template:T1link results in a page-wide bar with text in it (see below ↓). It is purposefully not named "band-blue" as its color might change if the wiki color scheme changes; it is meant to be well-visible but not too obtrusive.
Template:Band-turquoise Template:Band-green Template:Band-blue Template:Band-red Template:Band-brownish Template:Band-purple Template:Band-black
There is also a {{band}} that you can use to specify your own colors (the band-color templates all use it). Please don't use it to create colored bands nearly the same as the above ones, though. To the graphically-aware visitors out there, it is annoying to have colors slightly change from page to page.
See page end for page-specific bars.
Example, Example/Begin, Example/End
Template:T1link 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 {{Example/Begin}} LOTS of text, probably multiline {{Example/End}}:
|
LOTS of text, probably multiline |
Page actions
- {{edit}} can be used to create a link for editing a page, e.g.
{{edit|WoWWiki:Templates}}creates [edit].
- Template:T1link 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. purge page cache, update subpages, refresh templates.
WoWBox
Template:T2link can be used to achieve a box that looks like the following:
|
|||||||||||||||||||||||||||||||||||
World of Warcraft Templates
See Also: Category:WoW Utility Templates
Money
Multiple ways to do money exist, but only a few are practical, and here they are:
Note that there's not much use to mention copper and gold together; that is akin to mentioning the amount of change when referring to a transaction of multiples $100 or €100. It's simply not worth mentioning.
When more than one denomination is being mentioned, the following are deprecated, as they require more effort put forth than is needed. They remain because there may always be articles that link to them. Other than that, sometimes only one denomination is necessary; for these times, the following are useful:
Racial traits
- {{draenei traits}}
- {{dwarf traits}}
- {{gnome traits}}
- {{human traits}}
- {{night elf traits}}
- {{blood elf traits}}
- {{forsaken traits}}
- {{orc traits}}
- {{tauren traits}}
- {{troll traits}}
Example: {{human traits}}:
Footers
See Also: Category:Navigation Templates
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.
| Go to Paladin Abilities |
| Go to Priest Spells |
| Template:StartingAClassFooter |
WoW Icons
See Also: Category:WoW Icon Templates
Examples:
Table rows
See also Category:WoW Table Templates.
Table row templates are designed to be used within tables, so that if we want to alter the table formatting this can easily be achieved by one or two template changes, without having to make lots of individual changes row by row. Only really worthwhile for larger tables with 10+ entries (or tables expected to grow to that sort of size later).
Where there's a Row1, Row2 etc these indicate different colour backgrounds and should be alternated between in order.
Rogue Table Row Templates
- {{RogueAbilityRow1|Name|Level|Type|ComboPts|Description}}
- {{RogueAbilityRow2|Name|Level|Type|ComboPts|Description}}
Hunter Table Row Templates
- {{HunterAbilityRow1|Ability|Rank|Category|Level|Mana|Range|Description}}
- {{HunterAbilityRow2|Ability|Rank|Category|Level|Mana|Range|Description}}
Extra Hunter Row Templates
- {{HunterAbilityRowA|Ability|Rank|Category|Level|Mana|Range|Description}}
- {{HunterAbilityRowB|Ability|Rank|Category|Level|Mana|Range|Description}}
Generic Table Templates
- {{GenericHeader|Col1|Col2|Col3|Col4|Col5|Col6}}
- {{GenericRow1|Col1|Col2|Col3|Col4|Col5|Col6}}
- {{GenericRow2|Col1|Col2|Col3|Col4|Col5|Col6}}
Article Types
See also Category:Article Type Templates.
Templates for labeling Articles with an article type (such as 'Character', 'Location', 'User Interface', 'Quest', 'Guild', etc.) are available: see WoWWiki:Article types.
Blizzard Forum Links
- Use {{blizzforumlink|URL|subject|date/time|author}} to get a link like:
- 3. Re: Ranged Slot Rant! ./flame devs!! | 2/6/2006 3:54:08 PM PST by Eyonix
- NOTE: Make sure to use
%3Dinstead of=in URL or this template won't work right.
Quality Colors
The following templates change the color of the links. In case there is concern, 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, use the following templates with this format:
- the template to be called dictates the color of the link as well as the link to which it goes
- the argument is the actual text displayed
Template Color Template:T1link Template:Artifact Template:T1link legendary Template:T1link epic Template:T1link Template:Zone Map Note Template:T1link uncommon Template:T1link common Template:T1link Template:Poor
To link to an item other than the page which tells about its quality, you can use the following format:
- the template name indicates the item's quality
- the argument is the name of a given item
Also, this template indicates in a tooltip what quality the item is. Why do each of these start with the same letter? Because it was considered that they should all be found near each other in any alpha-sorted list. Why pick L? Because it is short for link.
Template and argument (excluding the < and > characters) Result Template:T1link Template:Lartifact Template:T1link [Thunderfury] Template:T1link [Azuresong Mageblade] Template:T1link [Cruel Barb] Template:T1link [Archeus] Template:T1link [Linen cloth] Template:T1link Template:Lpoor
Simple color replacement templates: (though the colours are defined correctly, they may display incorrectly in some browsers)
I have edited all templates removing leading space and surrounding values by nowiki tag. This seems to improve browser compatibility as some of them seem to dislike that leading space. My IE got happy... --Drundia 11:27, 28 June 2006 (EDT)
Template Value Color {{qual-color-artifact}} Template:Qual-color-artifact Artifact {{qual-color-legendary}} Template:Qual-color-legendary Legendary {{qual-color-epic}} Template:Qual-color-epic Epic {{qual-color-rare}} Template:Qual-color-rare Rare {{qual-color-uncommon}} Template:Qual-color-uncommon Uncommon {{qual-color-common}} Template:Qual-color-common Common {{qual-color-poor}} Template:Qual-color-poor Poor
Should probably make templates that just color text passed as a parameter at some point.
Thottbot
The following are an attempt to more easily link to thottbot.com, seeing that many links are to that site. If someone deems it appropriate, they might change each template to link the whole name of the item instead of adding a link at the end. I prefer linking at the end so that you can wiki-link a part or the whole of the name of the item or whatnot. Also, the dark blue external-link color is very dark. Maybe you could change the external-link color somehow. I don't know how to do that generically. However, for NPCs, in general people will put in the full name of the character, and many characters' articles are in the database. -- D. F. Schmidt talk 02:15, 23 Aug 2005 (EDT)
- Items:
{{item|5664|Cruel Barb}} - Spells:
{{spell|13653|[[Enchant Weapon]], Lesser Beastslayer}} - Quests:
{{questlong|Neutral|54|Holy Bologna: What the Light Won't Tell You|7504}} - NPCs:
{{npc|102786|Finkle Einhorn}}
Allakhazam and Thottbot
So far there is only an item template for both Allakhazam and Thottbot links:
- Items:
{{item2|Cruel Barb|5191|5664}}
User-related templates
See List of user templates or Category:User templates.
| This user has a strong interest in articles on lore. |
Template:User herbalist Template:User shaman Template:User dwarf
Gear
{{sword|name=Krol Blade|icon=18|thott=8407}}
There's many more templates like this one. Please see Category:WoW Utility Templates for now.
Page-Specific Bars and Bands
{{bc}} produces:
|
This content will appear in the World of Warcraft: The Burning Crusade expansion |
Template:T1link produces:
|
This article contains information based on the test realms and may change dramatically before the patch is finalised. |
{{Novel}} produces:
|
This article contains information taken from Warcraft novels or short stories, that are not found in other sources of lore.
|
{{RPG}} produces:
|
This article or section contains information taken from the Warcraft RPG books that is not found in other sources of lore.
|
{{Manga}} produces:
| File:Sunwelltrilogy-logo-small.png | This article contains information taken from the Warcraft Manga, the Sunwell Trilogy, that is not found in other sources of lore.
|
{{TCG}} produces:
| File:TCGlogosmall.jpg | This article or section contains information taken from the World of Warcraft Trading Card Game and is not found in any other sources of lore.
|
{{Speculation}} produces:
This article or section describes unsubstantiated rumors or contains information which is speculative in nature, and should not be taken as an official source of lore.
|
{{Fanfic}} produces:
{{Guild}} produces:
{{PC}} produces:
{{Player}} produces:
{{Silly}} produces:
|
This is a silly article This article is silly and is not part of official World of Warcraft lore or history. |
See Also: WoWWiki:Boilerplates, Category:WoW Icons, Category:Templates








