Difference between revisions of "Template:Lowercase"

From RRU Knowledge Base
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
<includeonly><span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span></includeonly><noinclude>{{lowercase}}
==Usage==
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 ẞ]] was not added to Unicode until 2008 and did not become official German orthography until 2017). This template only affects the actual page name; any displayed namespace is unaffected.
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.
 
==Usage instructions==
To use this template, simply add <code><nowiki>{{lowercase}}</nowiki></code> to an article, preferably at the very beginning.


To use this template, add the tag <code><nowiki>{{lowercase}}</nowiki></code> to the beginning of an article.
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 07:38, 3 December 2017

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 ẞ was not added to Unicode until 2008 and did not become official German orthography until 2017). This template only affects the actual page name; any displayed namespace is unaffected.

Usage instructions

To use this template, simply add {{lowercase}} to an article, preferably at the very beginning.