Template:Lowercase title/doc: Difference between revisions

m
updated documentation
m (moved Template:Lowercase/doc to Template:Lowercase title/doc: more specific and logical name, will help avoid confusion about what this template does)
m (updated documentation)
Line 6:
==Usage==
 
Simply add the tag <CODEcode><NOWIKInowiki>{{Lowercaselowercase title}}</NOWIKInowiki></CODEcode> 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:
 
{| CLASS="wikitable"
Line 17:
|}
 
* '''Attention: Please do not [[WP:SUBST|Subst:subst]] this template.'''
 
==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).
 
==See also==
 
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]]
* {{tl|Wrongtitlewrongtitle}} – hatnote for providing a correct title prevented by technical reasons
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->