Template:Language/archives/Uilang: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(do some documentation)
Line 26: Line 26:
|תצוגה מקדימה צפייה עריכה מחיקה יצירה שיחה דף תוכן חיפוש דפים מיוחדים={{{1|}}}he
|תצוגה מקדימה צפייה עריכה מחיקה יצירה שיחה דף תוכן חיפוש דפים מיוחדים={{{1|}}}he
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
{{documentation|content=This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.
== Usage ==
=== Parameters ===
*{{param|1}} - ''Optional:'' The content to append before the language code. See also examples to understand it better.
=== Examples ===
{{uselang|right-align=1|noborder=1|transparent=1}}{{MdCode|<nowiki>{{uilang|/}}</nowiki>}} → {{uilang|/}} {{Note|This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly.}}
}}

Revision as of 07:46, 4 January 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:Language/archives/Uilang/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.

Usage

Parameters

  • {{{1}}} - Optional: The content to append before the language code. See also examples to understand it better.

Examples

Template:Uselang{{uilang|/}}
Note.pngNote:This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly.