Template:Uilang

来自Valve Developer Community
跳转至: 导航搜索
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Uselang}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Curly brackets white.png模板文档
Icon-translate.png
Info.png
文档页面 Template:Uilang/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。

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

English (en)Català (ca)Čeština (cs)Deutsch (de)Esperanto (eo)Español (es)Eesti (et)Hrvatski (hr)Suomi (fi)Français (fr)Magyar (hu)Ελληνικά (el)Italiano (it)Nederlands (nl)Norsk (no)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Українська (uk)Svenska (sv)Türkçe (tr)日本語 (ja)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)한국어 (ko)ქართული (ka)עברית (he)
{{uilang|/}}

/zh-cn

Note.png注意:This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly. The template will return nothing if your language is in English.

See also