Template:Uilang/doc: Difference between revisions
Jump to navigation
Jump to search
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
Note:This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly. The template will return nothing if your language is in English.
m (→See Also) |
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{Uselangflags → {{ulf) |
||
Line 4: | Line 4: | ||
*{{param|1}} - ''Optional:'' The content to append before the language code. See also examples to understand it better. | *{{param|1}} - ''Optional:'' The content to append before the language code. See also examples to understand it better. | ||
=== Examples === | === Examples === | ||
{{ | {{ulf|old-right-align=1|all-lang=1|noborder=1|transparent=1}}{{Code|select=1|<nowiki>{{uilang|/}}</nowiki>}} → {{uilang|/}} {{Note|This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly. '''The template will return nothing if your language is in English.'''}} | ||
== See | == See also == | ||
*{{tl|link=doc}} | *{{tl|link=doc}} | ||
*{{tl|link=autolang}} | *{{tl|link=autolang}} | ||
*{{tl|link=Uselangflags}} | *{{tl|link=Uselangflags}} | ||
*{{tl|link=suflang}} | *{{tl|link=suflang}} |
Revision as of 04:02, 12 January 2024
This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.
Usage
Parameters
- {{{1}}} - Optional: The content to append before the language code. See also examples to understand it better.
Examples
{{uilang|/}} →



See also
{{doc}}
{{autolang}}
{{Uselangflags}}
{{suflang}}