Template:Uselang/doc

From OpenStreetMap Wiki
Jump to: navigation, search
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

  • 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)