Template:Uselang

From OpenStreetMap Wiki
Jump to: navigation, search
en
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation
Dialog-warning-orange.svg 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. [statistics]

Usage

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.


See also

  • {{Langcode}}, returns the language code of a translated page, instead of the language code of the user interface.
  • {{LangSwitch}}, for translating the content of translated pages, don't use for translating the UI.
  • {{Int}}, for translating the UI.