Magic words

# Overview
This is an organized index of Magic words used in MediaWiki.  "XYZ" indicates user input, which is used in the example.

# Table of contents

## Other

# XML-style tags
nowiki: ..., disables expansion/interpretation of templates, link syntax, formatting syntax, etc.:''']''' gives ''']'''
noinclude: ..., specifies text to appear or function calls to apply  only on the transcluded page, not on the transcluding page. E.g. categorizing of a template itself (and not the transcluding page) would use this tag.
includeonly: ..., specifies text to appear or function calls to apply only on the transcluding page, not on the transcluded page (which usually is a template). E.g. a template which categorizes pages where it's applied, but not the template itself, into a certain category.
-nlyinclude: ..., specifies text to appear or function calls to apply only on the transcluding page, not on the transcluded page. This tag is distinguished from the  tag in that text or code on the transcluded page not enveloped by the tag will not be transcluded, whether or not the  tag is in use.
pre: ..., ditto, also for multiple lines; it is rendered with a new paragraph at the start and end: a''']''' gives a
math: ..., e.g. \sqrt{a^2+b^2} gives \sqrt{a^2+b^2}; see Help:Displaying a formula
hiero: ..., e.g. A1 gives: A1
categorytree: ... provides a dynamic view of the category structure specified as a tree.

## Time
The time in UTC.  Note that if the page was displayed by the same user and has not changed (has not been edited) since the last time it was displayed, it is possible that the page may be cached (by the user's browser) and the displayed time or date may not change.  Also, if a heavily used page, rather than freshly rendered by the software each time it is generated, is instead being retrieved from a caching system (such as the main page on Wikipedia) the date or time may not change from the last time the page was originally retrieved by the caching hardware or software.

## Local time
The time depending on the local timezone of the wiki (not depending on the timezone in the user's preference settings). (All words  )

## Statistics
Statistics variables give thousands separators unless ":R" for "raw" is added (actually, these versions are parser functions).

## Page names and related info

# Parser functions
Not working at the position of the page where the tag is located but on the page header, and throughout the page, respectively (see below):
- DISPLAYTITLE: allow the page header to be different from the page name.
- DEFAULTSORT: Sets a default category sort key for the page.

## Formatting
With regard to #language and Template:Tim, see also:
- List of Wikipedias/local names - shows both names for all languages, without automatic comparison
- List of Wikipedias/local names/diff - values of #language for which {{n local}} contains a different name.
- List of Wikipedias/local names/diff 1 - for languages where the two names are different, shows both; due to the Template:Peisl the end of the table is messed up

# Image modifiers
These are image modifiers used in ] links. Some are mutually exclusive, and then the last specified wins.

## Size
The last unrecognized modifier is used as caption for framed images or together with thumbnails. It's also used as description alt=text.

## Position
The positions are mutually exclusive; the last specified wins. Template:- can stop floating. For inline images only modifier px (see above) is supported.

# Miscellany

# Notes and references
-  Function pad in includes/CoreParserFunctions.php puts, oddly, the $string itself as a condition for the padding. To be reported as bug.
-  "Technology report", en-Wikipedia Signpost, January 2007

# Template modifiers