Template:Language/archives/Uselang: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) No edit summary |
||
| Line 52: | Line 52: | ||
== 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| | *{{param|<lang code>}} - ''Optional:'' Specify the lang code to 1 to show the flag of the language. Only used when {{param|noalllang}} is non-zero. (e.g.{{para|en|1}}) | ||
*{{param| | *{{param|noalllang}} - ''Optional:'' If it is zero or unused, it will show all the flags of the languages. | ||
=== Examples === | === Examples === | ||
{{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>}} → {{ {{PAGENAME}} }}<br> | {{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>}} → {{ {{PAGENAME}} }}<br> | ||
{{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>| | {{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|noalllang=1|en=1}}</nowiki>}} → {{ {{PAGENAME}} |noalllang=1|en=1}}<br> | ||
{{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>| | {{MdCode|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|noalllang=1|en=1|ca=1|de=1|zh-cn=1}}</nowiki>}} → {{ {{PAGENAME}} |noshowalllang=1|en=1|ca=1|de=1|zh-cn=1}} | ||
}} | }} | ||
Revision as of 03:08, 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.