Template:Lowercase namespace
Jump to navigation
Jump to search
This documentation is transcluded from Template:Lowercase namespace/doc. (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 to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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}})