Template:Languages/Lang

From translatewiki.net
Jump to navigation Jump to search

Test Template Info-Icon - Version (2).svg

The documentation of this template is included from its /doc subpage (Edit)

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.