*** Welcome to piglix ***

Help:Parser function


In general, there are three types of magic words:

The software generally interprets magic words in the following way.

{{Magic}} words compared to {{template}}:

Note: The magic words above can also take a parameter, in order to parse values on a page other than the current page. A colon (:) is used to pass the parameter, rather than a pipe (|) that is used in templates, like {{MAGICWORD:value}}. For example, returns on any page. See for more details of parser functions.

To output numbers without comma separators (for example, as "123456789" rather than "123,456,789"), append the parameter |R.

{{formatnum:unformatted_number}}
{{formatnum:formatted_num |R}}

{{padleft:xyz|length|padstr}}
{{padright:xyz|length|padstr}}

{{#time:d F Y|date|langcode}}

If, in these conditional functions, empty unnamed parameters are to be parsed as empty rather than as text (i.e. as empty rather than as the text "{{{1}}}", "{{{2}}}", etc.), they will require trailing pipes (i.e. {{{1|}}}, {{{2|}}}, etc., rather than {{{1}}}, {{{2}}}, etc.).


...
Wikipedia

...