| 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.
|Note: This Template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.|
Returns the language code of the user interface (defined by user preferences or selected by default on this wiki, or selected by an explicit "uselang=" query parameter specified when viewing the current page).
See Wikipedia:Meta:Template:Uselang for documentation.
- Template:LangSwitch (for translating the UI only, don't use in the content of translated pages)
- Template:Langcode (returns the language code of a translated page, instead of the language code of the user interface)