Template:Language/doc: Difference between revisions
More actions
←Created page with '{{User:Slomox/test |1=1 |2=language code |1stat=required |name=Language |desc=This template will return the localized name of a language given the language code. |...' |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{TemplateBox | ||
|1=1 | |1=1 | ||
| | |1d=language code | ||
|1stat=required | |1stat=required | ||
|name=Language | |name=Language | ||
Revision as of 00:14, 1 February 2009
This template will return the localized name of a language given the language code.
Usage
{{Language |1= }}
Examples:
- {{language|ar}} → Arabic
- {{language|is}} → Icelandic
- {{language|zh-hant}} → Traditional Chinese
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | language code | empty | required | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
See also
- Template:Mwl - returns the local name of the language
- svn:/trunk/phase3/languages/Names.php
Localization
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Language/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.