Template:Uselangflags
Từ Valve Developer Community
Bước tới điều hướng
Bước tới tìm kiếm
The Template:Uselangflags/doc/vi 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.
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.
Usage
This template is used to switch the uselang parameter (the language of the UI) quickly to support multiple languages on one page. Mostly useful for previews of templates in Template namespace.
Parameters
- {{{<lang code>}}} - Optional: Specify the lang code to 1 to show the flag of the language. Only work without {{{all-lang}}}. (e.g.
|en=1
) (hover over flags in the example section to see the lang codes) - {{{all-lang}}} - Optional: Show all the flags of the languages.
- {{{no-right-align}}} - Optional: Make the template to be non-right-align style if it's non-zero.
- {{{category-en}}} - Optional: Add the page into the Category:English.
- {{{title}}}, {{{1}}} - Optional: The title of the page.
Examples
{{Uselangflags|all-lang=1|no-right-align=1}} →{{Uselangflags|en=1|no-right-align=1}} →
{{Uselangflags|en=1|ca=1|de=1|zh=1|no-right-align=1}} →