The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Lowercase"
(fix) |
m |
||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:| |
+ | {{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: |
+ | Result: Help:contents |
Revision as of 23:31, 14 August 2013
Lowercases the title of a page.
Contents
Usage
{{lowercase}}
Examples
Ex. 1
Page Name: IPod
{{lowercase}}
Result: iPod
Ex. 2
Page Name: Help:Contents
{{lowecase}}
Result: Help:contents