Help:Magic words

From CTWUG Wiki

Jump to: navigation, search

Magic words are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names. This page is about usage of standard magic words; for a technical reference, see Manual:Magic wordsnoinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

There are three general types of magic words:

Page-dependent magic words will affect or return data about the current page, even if the word is added through a transcluded template or included system message.

Behavior switches

A behavior switch controls the layout or behaviour of the page and can often be used to specify desired omissions and inclusions in the content.

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Word bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=3| Table of contents
nowiki/nowiki Hides the table of contents (TOC).
nowiki/nowiki Forces the table of content to appear at its normal position (above the first header).
nowiki

Contents

/nowiki

Places a table of contents at the word's current position (overriding nowiki/nowiki). If this is used multiple times, the table of contents will appear at the first word's position.
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=3| Editing
nowiki/nowiki Hides the section edit links beside headings.
nowiki/nowiki Adds a link (+ by default) beside the edit tab for adding a new section on a non-talk page (see Adding a section to the endnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude).

1.7+
nowiki__NONEWSECTIONLINK__/nowiki Removes the link beside the edit tab on pages in talk namespaces. 1.15+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=3| Categories
nowiki/nowiki Used on a category page, replaces thumbnails in the category view with normal links. 1.7+
nowiki/nowiki Used on a category page, hides the category from the lists of categories in its members and parent categories (there is an option in the user preferences to show them). 1.13+
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=3| Language conversion
nowiki__NOCONTENTCONVERT__/nowikibr /nowiki__NOCC__/nowiki On wikis with language variants, don't perform any content language conversion (character and phase) in article display; for example, only show Chinese (zh) instead of variants like zh_cn, zh_tw, zh_sg, or zh_hk.
nowiki__NOTITLECONVERT__/nowikibr /nowiki__NOTC__/nowiki On wikis with language variants, don't perform language conversion on the title (all other content is converted).
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=3| Other
nowiki__START__/nowiki No effect.
nowiki__END__/nowiki Explicitly marks the end of the article, to prevent MediaWiki from removing trailing whitespace. Removed in 19213noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

nowiki__INDEX__/nowiki Tell search engines to index the page (overrides $wgArticleRobotPoliciesnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude, but not robots.txt).

1.14+
nowiki__NOINDEX__/nowiki Tell search engines not to index the page (ie, do not list in search engines' results). 1.14+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

nowiki/nowiki On redirect pages, don't allow MediaWiki to automatically update the link when someone moves a page and checks Update any redirects that point to the original title. 1.13+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

Variables

Variables return information about the current page, wiki, or date. Their syntax is similar to templates. Variables marked as span style=background:#FED;[expensive]/span are tracked by the software, and the number that can be included on a page is limited.

If a template name conflicts with a variable, the variable will be used (so to transclude the template Template:PAGENAME you would need to write codettnowikiTemplate:/nowikiTemplate:PAGENAMEnowiki/nowiki/tt/code). In some cases, adding parameters will force the parser to treat a variable as a template; for example, codettnowikiTemplate:CURRENTDAYNAME/nowiki/tt/code transcludes Template:CURRENTDAYNAME.

onlyincludediv style=font-color:#535068; border:solid 1px #A8A8A8; padding:0.5em 1em 0.5em 0.7em; margin:0.5em 0em; background-color:#FFFFFF;font-size:85%;

Image:Tools.svg Tip for wiki admins: You can configure the number of expensive parser functions allowed on a page using the $wgExpensiveParserFunctionLimitnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude configuration setting.

/div/onlyinclude

Template

onlyincludediv class=LanguageLinks table width=100% tr valign=top style=background: #EEF3E2 td style=width: 25px; padding-left: 0.5em;Languages/td td style=width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;Languages:nbsp;/tdtd style=padding: 1px 1em 0; background: #F6F9ED; English includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude /td/tr/table/div/onlyinclude

Syntax

nowikiTemplate loop detected: Template:Languages/nowiki
  • PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use codenowikiTemplate loop detected: Template:Languages/nowiki/code and not codenowikiTemplate loop detected: Template:Languages/nowiki/code).

Usage

The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.

The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).

For example, on the Main Page you would include the text codenowikiTemplate loop detected: Template:Languages/nowiki/code, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. ttMain Page/jatt, ttMain Page/fr/tt, and ignores non-existant languages.

See Project:Language policy for further details about translating pages.

Supported languages

This shows you the name of each language's sub-page (using Main Page as an example). Other languages may be added easily as necessary. Please use the appropriate prefix, as used on Wikipedia when adding a new language. Please do not add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).

The link on the language names goes to the Wikipedia in that language. If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org! This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.

Page Name Language
Main Page English
Main Page/af Afrikaans
Main Page/ar Arabic
Main Page/az Azerbaijani
Main Page/bcc Southern Balochi
Main Page/bg Bulgarian
Main Page/br Breton
Main Page/ca Catalan
Main Page/cs Czech
Main Page/da Danish
Main Page/de German
Main Page/el Greek
Main Page/es Spanish
Main Page/fa Persian
Main Page/fi Finnish
Main Page/fr French
Main Page/gl Galician
Main Page/gu Gujarati
Main Page/he Hebrew
Main Page/hu Hungarian
Main Page/id Indonesian
Main Page/it Italian
Main Page/ja Japanese
Main Page/ko Korean
Main Page/ksh Kölsch
Main Page/ml Malayalam
Main Page/mr Marathi
Main Page/ms Malay
Main Page/nl Nederlands
Main Page/no Norwegian
Main Page/oc Occitan
Main Page/pl Polish
Main Page/pt Portugese
Main Page/ro Romanian
Main Page/ru Russian
Main Page/si Sinhalese
Main Page/sk Slovak
Main Page/sq Albanian
Main Page/sr Serbian
Main Page/sv Swedish
Main Page/ta Tamil
Main Page/th Thai
Main Page/tr Turkish
Main Page/uk Ukrainian
Main Page/vi Vietnamese
Main Page/yue Cantonese
Main Page/zh Chinese
Main Page/zh-hans Chinese (Simplified)
Main Page/zh-hant Chinese (Traditional)
Main Page/zh-tw Chinese (Taiwan)

Example

Here is how the language bar looks on the MediaWiki page: Template loop detected: Template:Languages

Date time

The following variables return the current date and time according to the user's timezone preferences, defaulting to the UTC timezone.

Due to MediaWiki and browser caching, these variables frequently show when the page was cached rather than the current time.

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Variable bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Year
ttnowiki2012/nowiki/tt 2012 Year
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Month
ttnowiki05/nowiki/tt 05 Month (zero-padded number)
ttnowikiMay/nowiki/tt May Month (name)
ttnowikiMay/nowiki/tt May Month (genitive form)
ttnowikiMay/nowiki/tt May Month (abbreviation) 1.5+
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Day
ttnowiki18/nowiki/tt 18 Day of the month (unpadded number)
ttnowiki18/nowiki/tt 18 Day of the month (zero-padded number) 1.6+
ttnowiki5/nowiki/tt 5 Day of the week (unpadded number)
ttnowikiFriday/nowiki/tt Friday Day of the week (name)
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Time
ttnowiki18:07/nowiki/tt 18:07 Time (24-hour HH:mm format)
ttnowiki18/nowiki/tt 18 Hour (24-hour zero-padded number)
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Other
ttnowiki20/nowiki/tt 20 Week (number)
ttnowiki20120518180725/nowiki/tt 20120518180725 YYYYMMDDHHmmss timestamp 1.7+

The following variables do the same as the above, but using the site's local timezone instead of user preferences and UTC:

  • ttnowiki2012/nowiki/tt
  • ttnowiki05/nowiki/tt
  • ttnowikiMay/nowiki/tt
  • ttnowikiMay/nowiki/tt
  • ttnowikiMay/nowiki/tt
  • ttnowiki18/nowiki/tt
  • ttnowiki18/nowiki/tt
  • ttnowiki5/nowiki/tt
  • ttnowikiFriday/nowiki/tt
  • ttnowiki20:07/nowiki/tt
  • ttnowiki20/nowiki/tt
  • ttnowiki20/nowiki/tt
  • ttnowiki20120518200725/nowiki/tt
For more thorough time formatting, you may want to install Extension:ParserFunctions to use the #time: parser function

Technical metadata

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

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Variable bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Site
ttnowikiCTWUG Wiki/nowiki/tt CTWUG Wiki The wiki's site name ($wgSitenamenoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude).

ttnowikihttp://wiki.ctwug.za.net/nowiki/tt http://wiki.ctwug.za.net domain URL ($wgServernoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude)

ttnowikiwiki.ctwug.za.net/nowiki/tt wiki.ctwug.za.net domain name ($wgServerNamenoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude)

ttnowiki‎/nowiki/ttbr /ttnowiki‎/nowiki/tt ‎br /‎ Outputs a unicode-directional mark that matches the wiki's default language's direction (codeamp;lrm;/code on left-to-right wikis, codeamp;rlm;/code on right-to-left wikis), useful in text with multi-directional text. 1.7+
ttnowiki/w/nowiki/tt /w relative script path ($wgScriptPathnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude)

ttnowikiTemplate:STYLEPATH/nowiki/tt Template:STYLEPATH relative style path ($wgStylePathnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude)

1.16+
ttnowiki1.13.2/nowiki/tt 1.13.2 The wiki's MediaWiki version. 1.7+
ttnowikien/nowiki/ttbr /ttnowikien/nowiki/tt enbr /en The wiki's default interface language ($wgLanguageCodenoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude)

1.7+
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Latest revision to current page
ttnowiki2193/nowiki/tt 2193 Unique revision ID 1.5+
ttnowiki2/nowiki/tt 2 Day edit was made (unpadded number) 1.8+
ttnowiki02/nowiki/tt 02 Day edit was made (zero-padded number) 1.8+
ttnowiki10/nowiki/tt 10 Month edit was made (unpadded number) 1.8+
ttnowiki2009/nowiki/tt 2009 Year edit was made 1.8+
ttnowiki20091002232821/nowiki/tt 20091002232821 Timestamp as of time of edit 1.8+
ttnowikiTemplate:REVISIONUSER/nowiki/tt Template:REVISIONUSER The username of the user who made the most recent edit to the page 1.15+
ttnowiki0/nowiki/tt 29,521 [expensive] Returns the byte size of the specified page. 1.13+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki[[:Template:PROTECTIONLEVEL:/nowikiactionnowiki]]/nowiki/tt protection level Outputs the protection level (e.g. 'autoconfirm', 'sysop') for a given action (e.g. 'edit', 'move') on the current page or an empty string if not protected. 1.15+
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Affects page content
ttnowiki/nowiki/tt Format the current page's title header. The value must be equivalent to the default title: only capitalization changes and replacing spaces with underscores. It can be disabled or enabled by $wgAllowDisplayTitlenoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude; disabled by default before 1.10+, enabled by default thereafter.

1.7+
ttnowiki/nowiki/ttbr /ttnowiki/nowiki/ttbr /ttnowiki/nowiki/tt Used for categorizing pages, sets a default category sort key. For example if you put ttnowiki/nowiki/tt at the end of John Smith, the page would be sorted under S by default in categories. 1.10+

Statistics

Numbers returned by these variables normally contain separators (commas or spaces, depending on the local language), but can return raw numbers with the :R flag (for example, codettnowiki1,049/nowiki/tt/code rarr; 1,049 and codettnowiki1049/nowiki/tt/code rarr; 1049). Use |R for magic words that require a parameter like PAGESINCATEGORY (for example codettnowiki38/nowiki/tt/code and codettnowiki38/nowiki/tt/code).

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Variable bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=4| Entire wiki
ttnowiki1,049/nowiki/tt 1,049 Number of wiki pages. 1.7+
ttnowiki192/nowiki/tt 192 Number of pages in main namespace without Main Page.
ttnowiki544/nowiki/tt 544 Number of uploaded files. 1.5+
ttnowiki6,500/nowiki/tt 6,500 Number of page edits. 1.10+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowikiTemplate:NUMBEROFVIEWS/nowiki/tt Template:NUMBEROFVIEWS Number of page views. Usually useless on a wiki using caching. 1.14+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki425/nowiki/tt 425 Number of registered users. 1.7+
ttnowiki6/nowiki/tt 6 Number of users in the sysop groupnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

1.7+
ttnowikiTemplate:NUMBEROFACTIVEUSERS/nowiki/tt Template:NUMBEROFACTIVEUSERS Number of active users, based on the criteria used in Special:Statistics. 1.15+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki0/nowiki/ttbr /ttnowiki38/nowiki/tt 38br /38 [expensive] Number of pages in the given category (replace Help with the relevant category name). 1.13+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki[[:Template:NUMBERINGROUP:/nowikigroupnamenowiki]]/nowiki/ttbr /ttnowiki[[:Template:NUMINGROUP:/nowikigroupnamenowiki]]/nowiki/tt Template:NUMBERINGROUP:bureaucratbr /Template:NUMINGROUP:bureaucratbr /smallnowiki(Template:NUMBERINGROUP:bureaucrat used here)/nowiki/small Number of users in a specific groupnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

1.14+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki[[:Template:PAGESINNS:/nowikiindexnowiki]]/nowiki/ttbr /ttnowiki[[:Template:PAGESINNAMESPACE:/nowikiindexnowiki]]/nowiki/tt not enabled Number of pages in the given namespace (replace 2 with the relevant namespace index). E.g. ttnowiki[[:Template:PAGESINNAMESPACE:/nowiki14nowiki]]/nowiki/tt equals the number of categories. Disabled by default, enable with $wgAllowSlowParserFunctionsnoinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

1.7+

Page names

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Variable bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
ttnowikiHelp:Magic words/nowiki/tt Help:Magic words Namespace and page title. 1.6+
ttnowikiMagic words/nowiki/tt Magic words Page title.
ttnowikiMagic words/nowiki/tt Magic words Page title excluding the current subpage and namespace (Title/foo on Title/foo/bar).

For more complex splitting, use nowiki{{/nowiki#titleparts: nowiki}}/nowiki from ParserFunctions extension.

1.7+
ttnowikiMagic words/nowiki/tt Magic words The subpage title (foo on Title/foo). 1.6+
ttnowikiHelp:Magic words/nowiki/tt Help:Magic words The namespace and title of the associated content page. 1.7+
ttnowikiHelp talk:Magic words/nowiki/tt Help talk:Magic words The namespace and title of the associated talk page. 1.7+

The ttnowikiMagic words/nowiki/tt and ttnowikiMagic words/nowiki/tt magic words only work in namespaces that have subpages enabled. See Manual:$wgNamespacesWithSubpagesnoinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude for information on enabling subpages.

The following are URL-encoded equivalents:

  • ttnowikiHelp:Magic_words/nowiki/tt
  • ttnowikiMagic_words/nowiki/tt
  • ttnowikiMagic_words/nowiki/tt
  • ttnowikiMagic_words/nowiki/tt
  • ttnowikiHelp:Magic_words/nowiki/tt
  • ttnowikiHelp_talk:Magic_words/nowiki/tt

As of 1.15+noinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude, these can all take a parameter, allowing specification of the page to be operated on, instead of just the current page:

Namespaces

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Variable bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
ttnowikiHelp/nowiki/tt Help Namespace (name)
ttnowikiHelp/nowiki/ttbr /ttnowikiHelp/nowiki/tt Helpbr /Help Name of the associated content namespace 1.7+
ttnowikiHelp talk/nowiki/tt Help talk Name of the associated talk namespace 1.7+

The following are URL-encoded equivalents:

  • ttnowikiHelp/nowiki/tt
  • ttnowikiHelp/nowiki/tt
  • ttnowikiHelp_talk/nowiki/tt

As of 1.15+noinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude, these can all take a parameter, specifying the property should be returned for a given title instead of the current page:

Parser functions

Parser functions are very similar to variables, but take one or more parameters (technically, any magic word that takes a parameter is a parser function), and the name is sometimes prefixed with a hash to distinguish them from templates.

This page only describes parser functions that are integral to the MediaWiki software. Other parser functions may be added by MediaWiki extensions such as the ParserFunctions extensionnoinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude. For those see Help:Extension:ParserFunctions.

URL data

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Parser function bgcolor=#A7C1F2 noinclude/noinclude| Input → Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Versions
ttnowiki//nowiki%27%27page_name%27%27nowiki/nowiki/ttbr /ttnowiki/w/index.php?title=/nowiki%27%27page_name%27%27nowiki&/nowikiquery stringnowiki/nowiki/tt nowiki/MediaWiki/nowiki → /MediaWikibr /nowiki/w/index.php?title=MediaWiki&printable=yes/nowiki → /w/index.php?title=MediaWiki&printable=yes The relative path to the title.
ttnowikihttp://wiki.ctwug.za.net//nowiki%27%27page_name%27%27nowiki/nowiki/ttbr /ttnowikihttp://wiki.ctwug.za.net/w/index.php?title=/nowiki%27%27page_name%27%27nowiki&/nowikiquery_stringnowiki/nowiki/ttbr /ttnowikihttp://wiki.ctwug.za.net/w/index.php?title=/nowiki%27%27interwiki:remote_page_name%27%27nowiki&/nowikiquery_stringnowiki/nowiki/tt nowikihttp://wiki.ctwug.za.net/Category:Top_level/nowiki → http://wiki.ctwug.za.net/Category:Top_levelbr /

nowikihttp://wiki.ctwug.za.net/w/index.php?title=Category:Top_level&action=edit/nowiki → http://wiki.ctwug.za.net/w/index.php?title=Category:Top_level&action=edit

The absolute path to the title. This will also resolve Interwiki prefixes. 1.5+
ttnowiki/nowiki/ttbr /ttnowiki/nowiki/tt nowiki/nowiki → br /nowiki/nowiki → The absolute URL to a media file. 1.12+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki%2Fnowiki%27%27string%27%27nowiki/nowiki/tt nowikix+y+z+%C3%A1+%C3%A9/nowiki → x+y+z+%C3%A1+%C3%A9 The input encoded for use in URLs. 1.7+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowiki.2Fnowiki.27.27string.27.27nowiki/nowiki/tt nowikix_y_z_.C3.A1_.C3.A9/nowiki → x_y_z_.C3.A1_.C3.A9 The input encoded for use in URL section anchors (after the '#' symbol in a URL). 1.8+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

Namespaces

ttnowikiTemplate:Ns:/nowiki/tt returns the localized name for the namespace with that index. ttnowikiTemplate:Nse:/nowiki/tt is the URL-encoded equivalent. It does the same, but it replaces spaces with underscores, making it usable in external links.

noinclude/noinclude
bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=2 width=50% | Content namespaces bgcolor=#8DA7D6 color=black noinclude/noinclude colspan=2 width=%50% | Talk namespaces
bgcolor=#A7C1F2 noinclude/noinclude| Usage bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Usage bgcolor=#A7C1F2 noinclude/noinclude| Output
ttnowikiMedia/nowiki/tt or ttnowikiMedia/nowiki/tt Media ttnowikiSpecial/nowiki/tt or ttnowikiSpecial/nowiki/tt Special
ttnowiki/nowiki/tt ttnowikiTalk/nowiki/tt or ttnowikiTalk/nowiki/tt Talk
ttnowikiUser/nowiki/tt or ttnowikiUser/nowiki/tt User ttnowikiUser_talk/nowiki/tt or ttnowikiUser_talk/nowiki/tt User_talk
ttnowikiCTWUG_Wiki/nowiki/tt or ttnowikiCTWUG_Wiki/nowiki/tt CTWUG_Wiki ttnowikiCTWUG_Wiki_talk/nowiki/tt or ttnowikiCTWUG_Wiki_talk/nowiki/tt CTWUG_Wiki_talk
ttnowikiImage/nowiki/tt or ttnowikiTemplate:Ns:File/nowiki/tt or ttnowikiImage/nowiki/tt Image ttnowikiImage_talk/nowiki/tt or ttnowikiTemplate:Ns:File talk/nowiki/tt or ttnowikiImage_talk/nowiki/tt Image_talk
ttnowikiMediaWiki/nowiki/tt or ttnowikiMediaWiki/nowiki/tt MediaWiki ttnowikiMediaWiki_talk/nowiki/tt or ttnowikiMediaWiki_talk/nowiki/tt MediaWiki_talk
ttnowikiTemplate/nowiki/tt or ttnowikiTemplate/nowiki/tt Template ttnowikiTemplate_talk/nowiki/tt or ttnowikiTemplate_talk/nowiki/tt Template_talk
ttnowikiHelp/nowiki/tt or ttnowikiHelp/nowiki/tt Help ttnowikiHelp_talk/nowiki/tt or ttnowikiHelp_talk/nowiki/tt Help_talk
ttnowikiCategory/nowiki/tt or ttnowikiCategory/nowiki/tt Category ttnowikiCategory_talk/nowiki/tt or ttnowikiCategory_talk/nowiki/tt Category_talk

Formatting

!--Well gosh, with the source of the examples hidden, who can tell what you are inputting without looking here in the source?--

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Usage bgcolor=#A7C1F2 noinclude/noinclude| Input → Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Version
ttnowiki/nowikistringnowiki/nowiki/tt ttnowikidata center/nowiki/tt → data center The lowercase input. 1.5+
ttnowiki/nowikistringnowiki/nowiki/tt ttnowikidATA CENTER/nowiki/tt → dATA CENTER The input with the uvery first/u character lowercase. 1.5+
ttnowiki/NOWIKISTRINGNOWIKI/nowiki/tt ttnowikiTEXT TRANSFORM/nowiki/tt → TEXT TRANSFORM The uppercase input. 1.5+
ttnowiki/nowikistringnowiki/nowiki/tt ttnowikiText transform/nowiki/tt → Text transform The input with the uvery first/u character uppercase. 1.5+
ttnowiki/nowikiunformattednbsp;numnowiki/nowiki/ttbr /ttnowiki/nowikiformattednbsp;numnowiki/nowiki/tt ttnowiki-987,654,321.654321/nowiki/tt → -987,654,321.654321 br / ttnowiki-987654321.654321/nowiki/tt → -987654321.654321 /nowikiR/tt parameter can be used to unformat a number, for use in mathematical situations. 1.7+br /1.13+

codenowiki{{#dateformat:/nowikidatenowiki}} {{#formatdate:/nowikidatenowiki}} {{#dateformat:/nowikidate|noinclude/noincludeformatnowiki}} {{#formatdate:/nowikidate|noinclude/noincludeformatnowiki}}/nowiki/code

ttnowiki{{#dateformat:11 seP 2001|ymd}}/nowiki/ttbr/ → {{#dateformat:11 seP 2001|ymd}} (your pref), 2001 SeP 11 (default)br/ ttnowiki{{#formatdate:sep 11,2001|dmy}}/nowiki/ttbr/ → {{#formatdate:sep 11,2001|dmy}} (your pref), 11 Sep 2001 (default)br/ ttnowiki{{#dateformat:1941-12-07|mdy}}/nowiki/ttbr/ → {{#dateformat:1941-12-07|mdy}} (your pref), December 7, 1941 (default)br/ ttnowiki{{#formatdate:2001 sep 11|ISO 8601}}/nowiki/ttbr/ → {{#formatdate:2001 sep 11|ISO 8601}} (your pref), 2001-09-11 (default)br/ ttnowiki{{#dateformat:11 septEmber|mdy}}/nowiki/ttbr/ → {{#dateformat:11 septEmber|mdy}} (your pref), SeptEmber 11 (default)br/


Note: In the example above, your pref refers to your date preference on the current MediaWiki wiki only.

Formats an unlinked date based on user Date format preference, and adds metadata tagging it as a formatted date. For logged-out users and those who have not set a date format in their preferences, dates can be given a default: ttmdy/tt, ttdmy/tt, ttymd/tt, ttISOnbsp;8601/tt (all case sensitive). If only the month and day are given, only ttmdy/tt and ttdmy/tt are valid. If a format is not specified or is invalid, the input format is used as a default. If the supplied date is not recognized as a valid date (specifically, if it contains any metadata such as from a nested use of these or a similar template), it is rendered unchanged, and no (additional) metadata is generated.br/smallspan style=position: relative; top: -2px;Image:Attention niels epting.svg/span Warning: noinclude

Usage

Method 1

The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like.

nowikiTemplate loop detected: Template:Warning/nowiki Don't do that!

Template loop detected: Template:Warning Don't do that!

Method 2

The following includes the text passed to the template, and uses a table to stop the text flowing round the icon.

nowikiTemplate loop detected: Template:Warning/nowiki 

Template loop detected: Template:Warning

Template

onlyincludediv class=LanguageLinks table width=100% tr valign=top style=background: #EEF3E2 td style=width: 25px; padding-left: 0.5em;Languages/td td style=width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;Languages:nbsp;/tdtd style=padding: 1px 1em 0; background: #F6F9ED; English includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude /td/tr/table/div/onlyinclude

Syntax

nowikiTemplate loop detected: Template:Languages/nowiki
  • PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use codenowikiTemplate loop detected: Template:Languages/nowiki/code and not codenowikiTemplate loop detected: Template:Languages/nowiki/code).

Usage

The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.

The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).

For example, on the Main Page you would include the text codenowikiTemplate loop detected: Template:Languages/nowiki/code, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. ttMain Page/jatt, ttMain Page/fr/tt, and ignores non-existant languages.

See Project:Language policy for further details about translating pages.

Supported languages

This shows you the name of each language's sub-page (using Main Page as an example). Other languages may be added easily as necessary. Please use the appropriate prefix, as used on Wikipedia when adding a new language. Please do not add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).

The link on the language names goes to the Wikipedia in that language. If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org! This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.

Page Name Language
Main Page English
Main Page/af Afrikaans
Main Page/ar Arabic
Main Page/az Azerbaijani
Main Page/bcc Southern Balochi
Main Page/bg Bulgarian
Main Page/br Breton
Main Page/ca Catalan
Main Page/cs Czech
Main Page/da Danish
Main Page/de German
Main Page/el Greek
Main Page/es Spanish
Main Page/fa Persian
Main Page/fi Finnish
Main Page/fr French
Main Page/gl Galician
Main Page/gu Gujarati
Main Page/he Hebrew
Main Page/hu Hungarian
Main Page/id Indonesian
Main Page/it Italian
Main Page/ja Japanese
Main Page/ko Korean
Main Page/ksh Kölsch
Main Page/ml Malayalam
Main Page/mr Marathi
Main Page/ms Malay
Main Page/nl Nederlands
Main Page/no Norwegian
Main Page/oc Occitan
Main Page/pl Polish
Main Page/pt Portugese
Main Page/ro Romanian
Main Page/ru Russian
Main Page/si Sinhalese
Main Page/sk Slovak
Main Page/sq Albanian
Main Page/sr Serbian
Main Page/sv Swedish
Main Page/ta Tamil
Main Page/th Thai
Main Page/tr Turkish
Main Page/uk Ukrainian
Main Page/vi Vietnamese
Main Page/yue Cantonese
Main Page/zh Chinese
Main Page/zh-hans Chinese (Simplified)
Main Page/zh-hant Chinese (Traditional)
Main Page/zh-tw Chinese (Taiwan)

Example

Here is how the language bar looks on the MediaWiki page: Template loop detected: Template:Languages /noincludeAlthough the ISO 8601 standard requires that dates be in the Gregorian calendar, the ISO parameter in this function will still format dates that fall outside the usual Gregorian range (e.g. dates prior to 1583). Also, the magic word cannot properly convert between negative years (used with ISO 8601) and years BC or years BCE (used in general writing)./small

1.15+
ttnowikixyz/nowiki/ttbr /ttnowikixyz/nowiki/tt ttnowiki00xyz/nowiki/tt → 00xyzbr / ttnowiki__xyz/nowiki/tt → __xyz Inserts a string of padding characters (character chosen in third parameter; default '0') of a specified length (second parameter) next to a chosen base character or variable (first parameter). The final digits or characters in the base replace the final characters in the padding; i.e. nowiki044/nowiki produces 044.br /bug (fixed in r45734): multibyte characters are interpreted as two characters, which can skew width. These also cannot be used as padding characters. 1.8+
ttnowikixyz/nowiki/ttbr /ttnowikixyz/nowiki/tt ttnowikixyz00/nowiki/tt → xyz00br / ttnowikixyz__/nowiki/tt → xyz__ Identical to padleft, but adds padding characters to the right side.
ttnowiki/nowikiarenowiki/nowiki/tt ttnowikiis/nowiki/tt → isbr / ttnowikiare/nowiki/tt → are Outputs the correct given pluralization form (parameters except first) depending on the count (first parameter). Plural transformations are used for languages like Russian based on count mod 10.
ttnowiki/nowikinounnowiki/nowiki/tt Outputs

the correct inflected form of the given word described by the inflection code after the colon (language-dependent). Grammar transformations are used for inflected languages like Polish. See also Manual:$wgGrammarFormsnoinclude


This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude.

1.7+

Miscellaneous

noinclude/noinclude
bgcolor=#A7C1F2 noinclude/noinclude| Usage bgcolor=#A7C1F2 noinclude/noinclude| Output bgcolor=#A7C1F2 noinclude/noinclude| Description bgcolor=#A7C1F2 noinclude/noinclude| Version
ttnowiki</nowikimessage namenowiki>/nowiki ttnowiki</nowikieditnowiki>/nowiki/tt rarr; Edit br /small(depends on user language, try: fr bull;ja)/small Internationalizes (translates) the given interface (MediaWiki namespace) message into the user language. Note that this can damage/confuse cache consistency, see bug 14404.
ttnowiki/nowikilanguage codenowiki/nowiki/ttbr /ttnowikiالعربية/nowiki/ttbr /ttnowikiไทย/nowiki/tt language codebr /العربيةbr /ไทย The native name for the given language code, in accordance with ISO 639. 1.7+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowikiNo such special page/nowikibr /nowikiSpecial:UserLogin/nowiki/tt No such special pagebr /Special:UserLogin The localized name for the given canonical Special: page. 1.9+noinclude

This template links to a page on from the Help pages. The template has two parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Demo of interwiki link:

nowiki Template loop detected: Template:Mediawiki/nowiki gives either nowikiHelp:Calculation or Help:Calculation/nowiki, rendered as Help:Calculation or Help:Calculation, respectively. /noinclude

ttnowikiUnknown extension tag "/nowikitagnamenowiki"/nowiki/ttbr /ttnowikiUnknown extension tag "/nowikitagnamebrnowiki"/nowiki/tt (depends on parser tag) Alias for XML-style parser or extension tags, but parsing wiki code. Attribute values can be passed as parameter values ('codenowikitagname attribute=value/nowiki/code' rarr; 'codettnowikiUnknown extension tag "tagname"/nowiki/tt/code'), and inner content as an unnamed parameter ('codenowikitagnamecontent/tagname/nowiki/code' rarr; 'codettnowikiUnknown extension tag "tagname"/nowiki/tt/code').

Warning : 'codettnowikiUnknown extension tag "tagname"/nowiki/tt/code' will be interpreted like 'codenowikitagname attribute2=value2attribute1=value1/tagname/nowiki/code'. You must write 'codettnowikiUnknown extension tag "tagname"/nowiki/tt/code' to pass an empty content.

1.12+
ttnowiki[[:Template:Gender:/nowikiusernamebr /nowiki]]/nowiki/tt (depends on the named user's gender) A switch for the gender set in Special:Preferences 1.15+
ttnowiki[[:Template:Groupconvert:/nowikigroupnamenowiki]]/nowiki/tt (only works on wikis with language variants) Allow to enable group conversion rules which defined on nowiki[[/nowikiMediaWiki:Groupconversiontable-groupname/variantcodenowiki]]/nowiki. 1.15+

Template

onlyincludediv class=LanguageLinks table width=100% tr valign=top style=background: #EEF3E2 td style=width: 25px; padding-left: 0.5em;Languages/td td style=width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;Languages:nbsp;/tdtd style=padding: 1px 1em 0; background: #F6F9ED; English includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude includeonlyspan/span/includeonlynoinclude

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template. /noinclude /td/tr/table/div/onlyinclude

Syntax

nowikiTemplate loop detected: Template:Languages/nowiki
  • PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use codenowikiTemplate loop detected: Template:Languages/nowiki/code and not codenowikiTemplate loop detected: Template:Languages/nowiki/code).

Usage

The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.

The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).

For example, on the Main Page you would include the text codenowikiTemplate loop detected: Template:Languages/nowiki/code, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. ttMain Page/jatt, ttMain Page/fr/tt, and ignores non-existant languages.

See Project:Language policy for further details about translating pages.

Supported languages

This shows you the name of each language's sub-page (using Main Page as an example). Other languages may be added easily as necessary. Please use the appropriate prefix, as used on Wikipedia when adding a new language. Please do not add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).

The link on the language names goes to the Wikipedia in that language. If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org! This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.

Page Name Language
Main Page English
Main Page/af Afrikaans
Main Page/ar Arabic
Main Page/az Azerbaijani
Main Page/bcc Southern Balochi
Main Page/bg Bulgarian
Main Page/br Breton
Main Page/ca Catalan
Main Page/cs Czech
Main Page/da Danish
Main Page/de German
Main Page/el Greek
Main Page/es Spanish
Main Page/fa Persian
Main Page/fi Finnish
Main Page/fr French
Main Page/gl Galician
Main Page/gu Gujarati
Main Page/he Hebrew
Main Page/hu Hungarian
Main Page/id Indonesian
Main Page/it Italian
Main Page/ja Japanese
Main Page/ko Korean
Main Page/ksh Kölsch
Main Page/ml Malayalam
Main Page/mr Marathi
Main Page/ms Malay
Main Page/nl Nederlands
Main Page/no Norwegian
Main Page/oc Occitan
Main Page/pl Polish
Main Page/pt Portugese
Main Page/ro Romanian
Main Page/ru Russian
Main Page/si Sinhalese
Main Page/sk Slovak
Main Page/sq Albanian
Main Page/sr Serbian
Main Page/sv Swedish
Main Page/ta Tamil
Main Page/th Thai
Main Page/tr Turkish
Main Page/uk Ukrainian
Main Page/vi Vietnamese
Main Page/yue Cantonese
Main Page/zh Chinese
Main Page/zh-hans Chinese (Simplified)
Main Page/zh-hant Chinese (Traditional)
Main Page/zh-tw Chinese (Taiwan)

Example

Here is how the language bar looks on the MediaWiki page: Template loop detected: Template:Languages

Personal tools