Template:Uselang: Difference between revisions

From Project: Redcap
m (4 revisions: Importing some dependencies for Template:Languages)
 
m (1 revision imported: Updating the languages template to see if it fixes the language support)
 
(One intermediate revision by one other 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>
{{Documentation}}
{{ {{TNTN|Documentation}} |content=
 
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:}}]]
</noinclude>
</noinclude>

Latest revision as of 10:43, 18 June 2021

⧼Lang⧽ {{ Template:TNTN |content=

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

MediaWiki:Lang:

}} [[Category:Internationalization templates{{#translation:}}]]