Difference between revisions of "Template:Lowercase"

From The iPhone Wiki
Jump to: navigation, search
(fix)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{{ns|{{{1|}}}}}}{{lcfirst:{{PAGENAME}}}}}}<noinclude>
+
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}<noinclude>
 
Lowercases the title of a page.
 
Lowercases the title of a page.
 
== Usage ==
 
== Usage ==
(Top of page)
 
 
<nowiki>{{lowercase}}</nowiki>
 
<nowiki>{{lowercase}}</nowiki>
(text)
 
(bottom of page)
 
Simple, right? For pages with a title that is not a namespace (ex Tutorial:), we need to do:
 
<nowiki>{{lowercase|ns=Tutorial:}}</nowiki>
 
 
== Examples ==
 
=== Ex 1 ===
 
Page Name: IPod
 
<nowiki>{{lowercase}}</nowiki>
 
Result: iPod
 
=== Ex 2 ===
 
Page Name: Help:Contents
 
<nowiki>{{lowecase}}</nowiki>
 
Result: Help:Contents
 

Latest revision as of 23:31, 14 August 2013

Lowercases the title of a page.

Usage

{{lowercase}}