Difference between revisions of "Template:Lowercase"

From The iPhone Wiki
Jump to: navigation, search
(fix)
m
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 ==
 
== Examples ==
=== Ex 1 ===
+
=== Ex. 1 ===
 
Page Name: IPod
 
Page Name: IPod
 
<nowiki>{{lowercase}}</nowiki>
 
<nowiki>{{lowercase}}</nowiki>
 
Result: iPod
 
Result: iPod
=== Ex 2 ===
+
=== Ex. 2 ===
 
Page Name: Help:Contents
 
Page Name: Help:Contents
 
<nowiki>{{lowecase}}</nowiki>
 
<nowiki>{{lowecase}}</nowiki>
Result: Help:Contents
+
Result: Help:contents

Revision as of 23:31, 14 August 2013

Lowercases the title of a page.

Usage

{{lowercase}}

Examples

Ex. 1

Page Name: IPod

{{lowercase}}

Result: iPod

Ex. 2

Page Name: Help:Contents

{{lowecase}}

Result: Help:contents