[Edit] [ ] Template documentation
. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
|| 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.
- Editing a Template causes all pages that use the Template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue.
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)