Template:Lowercase title/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (updated documentation) |
No edit summary |
||
Line 5: | Line 5: | ||
{{TOCright}} |
{{TOCright}} |
||
==Usage== |
==Usage== |
||
⚫ | |||
Simply add the tag <code><nowiki>{{lowercase title}}</nowiki></code> 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: |
Simply add the tag <code><nowiki>{{lowercase title}}</nowiki></code> 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: |
||
Line 16: | Line 17: | ||
| [[Talk:EBay]] || Talk:eBay |
| [[Talk:EBay]] || Talk:eBay |
||
|} |
|} |
||
⚫ | |||
==Technical== |
==Technical== |
||
Line 24: | Line 23: | ||
==See also== |
==See also== |
||
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]] |
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]] |
||
* {{WrongTitleExamples}} |
|||
* {{tl|wrongtitle}} – hatnote for providing a correct title prevented by technical reasons |
|||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
Revision as of 23:18, 12 April 2009
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
- 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 | Actual article name |
---|---|---|---|
{{Italic title}} | Title in italics | To Kill a Mockingbird | To Kill a Mockingbird |
{{Lowercase title}} | Lowercase first character | eBay | EBay |
{{Correct title|reason=bracket}} | < > [ ] { } | Benzo[a]pyrene | Benzo(a)pyrene |
{{Correct title|reason=#}} | # | Pilot #5 | Pilot No. 5 |
{{Correct title|reason=:}} | / : | DK: King of Swing | DK King of Swing |
{{DISPLAYTITLE}} | Various | _NSAKEY | NSAKEY |