Template:Uselang/doc: Difference between revisions
Appearance
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
This is a documentation subpage for Template:Uselang. It contains usage information, categories and other content that is not part of the original Template page. |
Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default).
Parameter | Description | Type | Status | |
---|---|---|---|---|
override language | lang | If provided and not empty, the template returns this value instead of the user language | Line | optional |
MediaWiki:Lang: