Difference between revisions of "Template:Lowercase title"

From lensowiki
Jump to: navigation, search
(Created page with '<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude> {{f-GFDL|en.wikipedia.org/wiki|Wikipedia}} {{pp-template|small=yes}} {{docu…')
 
(rm pp template)
 
Line 1: Line 1:
 
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
 
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
 
{{f-GFDL|en.wikipedia.org/wiki|Wikipedia}}
 
{{f-GFDL|en.wikipedia.org/wiki|Wikipedia}}
{{pp-template|small=yes}}
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:12, 7 January 2010

This article is originally from the Wikipedia, which is released under the GFDL

[edit]

Documentation
This article is originally from the Wikipedia, which is released under the GFDL

Usage

  • Attention: Please do not subst this template.

Simply add the tag {{lowercase title}} at the top of a page (and optionally, at the top of its talk page). There are no parameters. The tag will only decapitalize the first letter of the page's name in the title at the top of the page. Examples:

Page name Will display
EBay, IPod, etc. eBay, iPod, etc.
Talk:EBay Talk:eBay

Technical

This template wraps the magic word DISPLAYTITLE so that it works automatically in any namespace (main, talk, template, etc.) to decapitalise the first letter of the name of a page it is transcluded on. (Previously, this template achieved this using JavaScript, but the DISPLAYTITLE method makes the change for all users, even those with JavaScript disabled in their browser).

See also