Template:Lowercase title/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(add it interwiki per talk page)
mNo edit summary
Line 33: Line 33:


[[ar:قالب:حروف صغيرة]]
[[ar:قالب:حروف صغيرة]]
[[be-x-old:Шаблён:Загаловак з малой літары]]
[[bg:Шаблон:С малка буква]]
[[bg:Шаблон:С малка буква]]
[[bs:Šablon:Maloslovo]]
[[bs:Šablon:Maloslovo]]

Revision as of 13:01, 17 February 2009

Template:TOCright

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)[dubious ].

See also