Template:Lowercase title/doc

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
Kevin (Talk | contribs)
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{TOCright}} ==Usage== * '''Attention: Please do not subst this templat...)

Latest revision as of 14:48, 20 October 2009

Contents

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

Template Involves Correct name Technical name
{{Bracketed}} < > [ ] { } Benzo[a]pyrene Benzo(a)pyrene
{{Lowercase title}} Lowercase first character eBay EBay
{{Namespace conflict}} / : DK: King of Swing DK King of Swing
{{Pound}} # Pilot #5 Pilot no. 5
{{DISPLAYTITLE}} Various


Personal tools