Template:Language

From Wikisource
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]



(this part of the documentation is only available in some languages)

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[edit]

{{language|1=|2=}}

Parameters

Parameter name Description (this part of the documentation is only available in some languages) Default value required or optional?

parameter #1 (1) empty optional
parameter #2 (2) {{int:lang}} optional

Additional information[edit]

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:

⧼See also⧽

(this part of the documentation is only available in some languages)


Examples[edit]

  • {{language|ar}} → العربية
  • {{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}} → 英语