Difference between revisions of "Template:Lowercase title"

From Wiki
Jump to navigation Jump to search
(Created page with "<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude> Display the article title with the first letter lowercased. Useful for arti...")
 
m
Line 1: Line 1:
 
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
 
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
Display the article title with the first letter lowercased. Useful for articles like [[write18]] and [[first-setup.sh]], which really should shown in lower case. Works inside namespaces, too.
+
Display the article title with the first letter lowercased. Useful for articles like [[write18]] and [[First-setup]], which really should shown in lower case. Works inside namespaces, too.
  
 
If you need something more than just a lowercased initial, use <code><nowiki>{{DISPLAYTITLE:the ''desired'' title}}</nowiki></code> directly.
 
If you need something more than just a lowercased initial, use <code><nowiki>{{DISPLAYTITLE:the ''desired'' title}}</nowiki></code> directly.
 
</noinclude>
 
</noinclude>

Revision as of 19:14, 8 June 2020

Display the article title with the first letter lowercased. Useful for articles like write18 and First-setup, which really should shown in lower case. Works inside namespaces, too.

If you need something more than just a lowercased initial, use {{DISPLAYTITLE:the ''desired'' title}} directly.