Template:Language/archives/Uselang: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) No edit summary |
1416006136 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#if:{{{noshowalllang|}}} | <includeonly><onlyinclude>{{#if:{{{noshowalllang|}}} | ||
|{{#if:{{{en|}}}|[[File:En.png|link={{fullurl:{{FULLPAGENAME}}|uselang=en}}|English]]}} | |{{#if:{{{en|}}}|[[File:En.png|link={{fullurl:{{FULLPAGENAME}}|uselang=en}}|English]]}} | ||
{{#if:{{{ca|}}}|[[File:Ca.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ca}}|Català]]}} | {{#if:{{{ca|}}}|[[File:Ca.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ca}}|Català]]}} | ||
| Line 48: | Line 48: | ||
[[File:Ko.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ko}}|한국어]] | [[File:Ko.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ko}}|한국어]] | ||
[[File:Ka.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ka}}|ქართული ენა]] | [[File:Ka.png|link={{fullurl:{{FULLPAGENAME}}|uselang=ka}}|ქართული ენა]] | ||
[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]}} | [[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]}}</onlyinclude></includeonly> | ||
{{documentation|content=This template is used to switch the uselang parameter quickly to support multiple languages on one page without {{tl2|doc}} template. | {{documentation|content=This template is used to switch the uselang parameter quickly to support multiple languages on one page without {{tl2|doc}} template. | ||
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
*{{param|<lang code>}} - ''Optional:'' Specify the lang code to 1 to show the flag of the language. Only used when {{param|noshowalllang}} is non-zero. | *{{param|<lang code>}} - ''Optional:'' Specify the lang code to 1 to show the flag of the language. Only used when {{param|noshowalllang}} is non-zero. (e.g.{{para|en|1}}) | ||
*{{param|noshowalllang}} - ''Optional:'' If it is zero or unused, it will show all the flags of the languages. | *{{param|noshowalllang}} - ''Optional:'' If it is zero or unused, it will show all the flags of the languages. | ||
=== Examples === | |||
{{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>}} → {{ {{PAGENAME}} }} | |||
}} | }} | ||
Revision as of 02:05, 2 January 2023
The above documentation is transcluded from Template:Language/archives/Uselang/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.