Template:Lowercase title/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(→Usage: on second thought, rem self-ref example) |
(tweaks) |
||
Line 25: | Line 25: | ||
==Technical== |
==Technical== |
||
This template wraps the [[Help:Magic words|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's transcluded on. (Previously, this template achieved this using JavaScript, but the DISPLAYTITLE method makes the change for all users, even those with JavaScript disabled). |
This template wraps the [[Help:Magic words|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's 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== |
==See also== |
||
* {{tl|Wrongtitle}} |
* {{tl|Wrongtitle}} – hatnote for providing a correct title prevented by technical reasons |
||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
||
[[Category:Wrong title templates |
[[Category:Wrong title templates]] |
||
[[bg:Шаблон:С малка буква]] |
[[bg:Шаблон:С малка буква]] |
Revision as of 21:33, 27 October 2007
This is a documentation subpage for Template:Lowercase title. 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. |
E (mathematical constant) | e (mathematical constant) |
Buried treasure | buried treasure |
Talk:Buried treasure | Talk:buried treasure |
- 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's 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
- {{Wrongtitle}} – hatnote for providing a correct title prevented by technical reasons