Template:LanguageBar/doc

Từ Valve Developer Community
Bước tới điều hướng Bước tới tìm kiếm
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)
Edit-copy.png
Đây là trang tài liệu con chuỗi cho  Template:LanguageBar.
Nếu bạn đã tạo hoặc chỉnh sửa các nội dung của trang này, đừng quên làm mới nó.  

This template creates a language bar that's shown on the upper right corner of the page. The language of a page is determined by language prefixes (like Zh/, Ru/, etc) instead of interface language.

Note.pngGhi chú:English is the default language and English pages don't need language prefix.
Icon-Important.pngImportant:LanguageBar should be used only on main, Category, Help and Valve Developer Community namespaces. Other namespaces don't use prefixes (see also {{language}})


This template also applies Category:Translation. (see the category for more details)


Parameters and Examples

Parameter Description Example
No Parameters Check for various language translations for this page and create flags for them.
{{LanguageBar}}
{{{title}}} Allows you to change the title of a page.
{{LanguageBar|title=Example Title}}
{{{_}}} If title param is not used and not in Category namespace then SUBPAGENAME is automatically set as title which doesn't have underscores. Setting this parameter keeps the underscores.
{{LanguageBar|_=1}}


Note.pngGhi chú:If you encounter {{lang}}, {{langsp}}, {{language subpage}} on pages rewrite them to use LanguageBar. Internally they were edited to use LanguageBar only remaining step is just rewriting them on the used pages. See categories Category:TODO rewrite lang to LanguageBar and Category:TODO rewrite langsp to LanguageBar


See Also