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
update link (svn links now redirect to irrelevant pages)
m oops, remove invisible mistake
Line 1: Line 1:
<!--  -->{{TemplateBox
{{TemplateBox
|name = language
|name = language
|desc=Template based on the <code>#language</code> parser ([[mw:Help:Magic_words#Miscellaneous|help page]]). It returns a language name in the user's language, or in any other language specified by a second parameter.
|desc=Template based on the <code>#language</code> parser ([[mw:Help:Magic_words#Miscellaneous|help page]]). It returns a language name in the user's language, or in any other language specified by a second parameter.

Revision as of 03:19, 11 November 2016

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.

Usage

{{language |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1Language code (most of the time, but not always ISO codes. See https://phabricator.wikimedia.org/diffusion/ECLD/browse/master/CldrNames/CldrNamesEn.php for a listemptyoptional
2Language 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

  • {{language|ar}} → Arabic
  • {{language|ar|de}} → Arabisch
  • {{language|ar|en}} → Arabic
  • {{language|ar|fr}} → arabe
  • {{language|ar|he}} → ערבית
  • {{language|ar|zh-hans}} → 阿拉伯语
  • {{language|en}} → English
  • {{language|en|de}} → Englisch
  • {{language|en|en}} → English
  • {{language|en|fr}} → anglais
  • {{language|en|he}} → אנגלית
  • {{language|en|zh-hans}} → 英语

See also

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