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) |
(fix) |
||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:{{#if:{{NAMESPACE|{{ |
+ | {{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{{ns|{{{1|}}}}}}{{lcfirst:{{PAGENAME}}}}}}<noinclude> |
Lowercases the title of a page. |
Lowercases the title of a page. |
||
== Usage == |
== Usage == |
Revision as of 23:09, 17 July 2011
Lowercases the title of a page.
Contents
Usage
(Top of page) {{lowercase}} (text) (bottom of page)
Simple, right? For pages with a title that is not a namespace (ex Tutorial:), we need to do:
{{lowercase|ns=Tutorial:}}
Examples
Ex 1
Page Name: IPod
{{lowercase}}
Result: iPod
Ex 2
Page Name: Help:Contents
{{lowecase}}
Result: Help:Contents