Template:Language/interface/doc

From Valve Developer Community
Jump to: navigation, search
Shortcut
intlang

Intlang — interface language. Optimized version of the {{uselang}} template. It is used only for its intended purpose: getting the interface language.

{{intlang}} → en


Note.pngNote:Allows you to change the displayed text if the language was not defined:

{{intlang|en=}}

Parameters

  • {{{default-none}}} - When language is English, don't return value.
  • {{{pref}}} - Add prefix before language abbreviation.