Template:Language
From Meta-Omics Data of Collection Objects
(Redirected from Template:language)
[edit] [ ] Template documentation
Template based on the #language
parser (help page). It returns a language name in the user's language, or in any other language specified by a second parameter.
Contents
Usage
{{language|1=|2=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | language code (most of the time, but not always ISO codes. See http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/ for details. | empty | optional |
parameter #2 (2) | language in which the language name should be returned (if different from the user's preferred language) | {{int:lang}}
|
optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
User:Rocket000/Languages/more for potentially missing languages)
Examples
|
|
Techical documentation
Needs Extension:CLDR to work and most importantly MediaWiki:Lang to be set. If MediaWiki:Lang is not defined with e.g. “en” it searches for a language “<lang>“ in Extension:CLDR causing the page to disappear and showing an internal error message to switch on debugging. List of MediaWiki:Lang pages in this Wiki are: