From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation


If you explicitly specify the language code in the kl (or lang) parameter, its letter case is not significant and the link with the correct language prefix for that language is generated directly to that language, using {{LangPrefix}}, even if there's still no such translation (a red link may appear in that case).

Otherwise the language to use will be determined from the current page using {{Langcode}}: a single existence test will be (costly) made to find a relevant page in that language, or otherwise it will default to the (unprefixed) English version of the key description page (no additional test is made to find another fallback language). No costly test occurs for linking to the English page, which is assumed to exist (a red link may appear in that case too).

See also