Template:Languages/Lang/doc

From translatewiki.net
This is the documentation subpage for the parent Template:Languages/Lang page.

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages.

Usage:
This template should not be used anywhere except in the Languages template.
Syntax:
  • {{Languages/Lang|language-code|Page name}}
Parameters:

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.
Example:
This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.