Jump to content

Template:Uselang/doc: Difference between revisions

From wikiNonStop
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> <templatedata> { "description": "Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise \"en\" (default).", "format": "inline", "params": { "lang": { "label": "override language", "description": "If provided and not empty, the template returns this value instead of the user language", "ty..."
 
m 1 revision imported: Initial setup
 
(No difference)

Latest revision as of 13:47, 22 December 2024

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
override languagelang

If provided and not empty, the template returns this value instead of the user language

Lineoptional

MediaWiki:Lang: