The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Lowercase"
m (with the addition of parser functions, we dont need the ns= or 1= crap, we can now check if there is a namespace) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:{{#if:{{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 == |
||
− | === 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}}