Template:Language/interface/doc: Difference between revisions
Jump to navigation
Jump to search
Note:Allows you to change the displayed text if the language was not defined:
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Intlang — interface language. It is to get the current user's interface language. | Intlang — interface language. It is to get the current user's interface language. | ||
{{Code|{{Tl|intlang}}}} → {{intlang}} | {{Code|{{Tl|intlang}}}} → '''{{intlang}}''' (see the difference when changing the language via flags on the top right) | ||
Revision as of 04:54, 28 April 2025
Intlang — interface language. It is to get the current user's interface language.
{{intlang}}
→ en (see the difference when changing the language via flags on the top right)

{{intlang|en=}}
→
Parameters
- {{{default-none}}} - When language is English, don't return value.
- {{{pref}}} - Add prefix before language abbreviation.