Template:Uselang: Difference between revisions

From Campaigns
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if: {{{lang|}}} | {{{lang|}}} | {{#ifeq: {{int:Lang}} | <Lang> | default | {{int:Lang}} }} }}<noinclude>
{{#if: {{{lang|}}} | {{{lang|}}} | {{#ifeq: {{int:Lang}} | <Lang> | default | {{int:Lang}} }} }}<noinclude>
{{ {{TNTN|Documentation}} |content=
{{Documentation|content=


Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default).
Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default).
MediaWiki:Lang:
{{languages|MediaWiki:Lang}}
}}
}}
[[Category:Internationalization templates{{#translation:}}]]
[[Category:Internationalization templates]]
</noinclude>
</noinclude>

Latest revision as of 11:15, 24 November 2021

⧼Lang⧽

Template documentation

Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default).