Template:Uselangflags
Contents
Usage
This template is used to switch the uselang
parameter (the language of the UI) quickly to support multiple languages on one page without {{doc}} template (its purpose is like {{lang}}). Should use with {{autolang}}.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
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
) - {{{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}}
→ ![English (en) English (en)](/w/images/3/37/Flag-en.png)
{{Uselangflags|en=1|ca=1|de=1|zh=1|no-right-align=1}}
→ See also
The above documentation is transcluded from Template:Uselangflags/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.