Help:Magic words

A "magic word" is a symbol recognized by the MediaWiki software and which triggers the software to do something other than display that symbol.

Some of the most commonly used examples are listed below.

Behavior switches

 * Examples:


 * hides the table of contents on a page.
 * places the table of contents exactly where this is entered. It overrides the NOTOC switch.

It is important to note that it is two underscores on either side, and that it must be all capitals. Most of the behavior switches that Wikia uses are standard (find them here). Due to extensions, however, there are a few extra, such as, which disables the rich text editor.

Variables

 * produces the current day of the week.
 * shows the number of articles on your wiki.
 * produces the name of the wiki.

Technical metadata
Revision variables return data about the latest edit to the current page, even if viewing an older version of the page.