Classic WoW Wiki:Templates/General wiki templates

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 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:
 * Wikitext:
 * Output: Simple template (i.e. template)

Make example template code for templates (un-italicized parameters) with a link to them:
 * Wikitext: )
 * Output: Simple template with 1 parameter (i.e. )

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

Key-presses
The  template gives a nice 3D-looking keyboard key example.

Example:
 * produces

To illustrate keystroke combinations, just use extra parameters:
 * produces
 * produces

Other examples:
 * produces
 * produces
 * produces
 * produces
 * produces
 * produces


 * produces
 * produces
 * produces
 * produces

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.,  ,.