Template:Lowercase namespace/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template uses {{DISPLAYTITLE}} to create a lower-case language-prefix.

  • Main_Page --> Main_Page (root name-space)
  • FR:Main_Page --> fr:Main_Page (real name-space)
  • Fi:Main_Page --> fi:Main_Page (virtual name-space)

For real name-spaces this template always works. For virtual name-spaces it compares the parameter to {{PAGENAME}} and only sets the display-title if they differ. This avoids lower-cased titles in the root name-space.

Usage

  • {{Lowercase namespace|Page_name}}

On pages without language-prefix and pages with real name-space the parameter is optional but recommended. ({{{1}}} defaults to {{PAGENAME}})

See also