Jump to content

Template:LgL

From Meta, a Wikimedia project coordination wiki

{{{lang}}}

Template documentation

Usage

[edit]

Displays full language name from its short code, in current page language - uses UI language as fallback.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Language code1 lang

Short language code (usually 2 or 3 letters) which represents the language to display the full name.

Example
en
Stringrequired
{{#language:{{{1|{{{lang}}}}}}|{{PAGELANGUAGE}}}}

Example

[edit]

{{lgT|en}} will display “English” in a page in English, and “anglais” in page in French.

See also

[edit]