Jump to content

Template:Uselang/doc

From wikiNonStop
Revision as of 16:26, 24 November 2022 by en>Tacsipacsi (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: