Template:Uilang/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (clean up, replaced: See Also → See also, {{Uselangflags → {{ulf)
(Delete)
Tag: Replaced
 
Line 1: Line 1:
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.
{{Delete|reason=deprecated}}
== Usage ==
=== Parameters ===
*{{param|1}} - ''Optional:'' The content to append before the language code. See also examples to understand it better.
=== 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 also ==
*{{tl|link=doc}}
*{{tl|link=autolang}}
*{{tl|link=Uselangflags}}
*{{tl|link=suflang}}

Latest revision as of 11:08, 14 August 2024

Warning icon.png
This template has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.