Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Language/doc: Difference between revisions

Template page
mNo edit summary
No edit summary
Line 3: Line 3:
|1d=language code
|1d=language code
|1stat=required
|1stat=required
|2=2
|2d=language code of the output language (provide this parameter only, if the output shall be in a fixed language instead of the user's preferred language)
|1stat=optional-
|name=Language
|name=Language
|desc=This template will return the localized name of a language given the language code.
|desc=This template will return the localized name of a language given the language code.

Revision as of 21:53, 19 March 2009

This template will return the localized name of a language given the language code.

Usage

{{Language |2= }}

Examples:

  • {{language|ar}} → Arabic
  • {{language|is}} → Icelandic
  • {{language|zh-hant}} → Traditional Chinese

Template parameters

ParameterDescriptionDefaultStatus
1language codeemptyoptional
2language code of the output language (provide this parameter only, if the output shall be in a fixed language instead of the user's preferred language)emptyoptional

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

Localization

English

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.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.