Template:Lowercase/doc

From The Sonic Eats Rings Museum
< Template:Lowercase
Revision as of 11:49, 7 November 2008 by SoNick (talk | contribs) (New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{TOCright}} ==Usage== Simply add the tag <CODE><NOWIKI>{{Lowercase}}</NOWIKI></COD...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Lowercase (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Simply add the tag {{Lowercase}} 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
  • Attention: Please do not Subst: this template.

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