Difference between revisions of "Template:Lowercase title/doc"

From lensowiki
Jump to: navigation, search
(Created page with '{{f-GFDL|en.wikipedia.org/wiki|Wikipedia}} {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{TOCright}} ==Usage== * '''Att…')
 
Line 6: Line 6:
 
{{TOCright}}
 
{{TOCright}}
 
==Usage==
 
==Usage==
* '''Attention: Please do not [[WP:SUBST|subst]] this template.'''
+
* '''Attention: Please do not [[w:WP:SUBST|subst]] this template.'''
  
 
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 20: Line 20:
  
 
==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 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).
+
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 is transcluded on. (Previously, this template achieved this using [[w:JavaScript|JavaScript]], but the DISPLAYTITLE method makes the change for all users, even those with JavaScript disabled in their browser).
  
 
==See also==
 
==See also==
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]]
+
* [[w:Wikipedia:Naming conventions (technical restrictions)#Lower case first letter|]]
* {{WrongTitleExamples}}
+
* [[w:Template:WrongTitleExamples|Template:WrongTitleExamples]]
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 21:14, 7 January 2010

This article is originally from the Wikipedia, which is released under the GFDL

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