Jump to content

Template:Languages/Lang/all/doc

From Meta, a Wikimedia project coordination wiki

Usage

[edit]
This sub-template doesn't display properly when not included. Please see Template:Languages or Template:Languages light for complete versions.

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:

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

The language will be displayed without testing if its subpage exist (if it does not exist, a red link will appear; this parameter is only needed to test the full lists of languages, in the documentation page of the template transcluding this template). See for example Template:Languages light/doc.

This template should not be used anywhere except in the Languages template.

See also

[edit]