Difference between revisions of "Template:Lowercase"

From RRU Knowledge Base
m
Line 1: Line 1:
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
<includeonly><span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span></includeonly><noinclude>
==Usage instructions==
==Documentation==
This template is to work around how MediaWiki forces titles to start with an uppercase letter. Lowercase titles may be desired in certain cases of brand names or code and file formats that use unusual capitalization.
This template makes the first letter in a page's title display as lowercase. Lowercase titles may be desired in certain cases of brand names or code and file formats that use unusual capitalization. This workaround is required because MediaWiki forces all page titles to start with an uppercase letter (with the exception of ß, as [[Wikipedia:Capital ẞ|uppercase ẞ]] did not become official German orthography until 2017). This template only affects the actual page name; any displayed namespace is unaffected.


To use this template, add the tag <code><nowiki>{{lowercase}}</nowiki></code> to the beginning of an article.
To use this template, add <code><nowiki>{{lowercase}}</nowiki></code> to the beginning of an article.


As can be seen from the title of this template page, this formatting only applies to the actual page name; the namespace is unaffected.
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 02:55, 2 December 2017

Documentation

This template makes the first letter in a page's title display as lowercase. Lowercase titles may be desired in certain cases of brand names or code and file formats that use unusual capitalization. This workaround is required because MediaWiki forces all page titles to start with an uppercase letter (with the exception of ß, as uppercase ẞ did not become official German orthography until 2017). This template only affects the actual page name; any displayed namespace is unaffected.

To use this template, add {{lowercase}} to the beginning of an article.