Template:Lowercase/doc: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(moving talk to template talk page, fixing broken links)
(more concise)
 
Line 2: Line 2:
Simply add the tag <CODE><NOWIKI>{{Lowercase}}</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.
Simply add the tag <CODE><NOWIKI>{{Lowercase}}</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.


* '''Attention: Please do not [[wikipedia:WP:SUBST|Subst:]] this template.'''
* '''Attention: Please do not [[wikipedia:WP:SUBST|Subst:]] this template. MediaWiki's article-titling abilities may improve or change over time.'''
 
==Technical==
This template wraps the [[wikipedia: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 [[wikipedia:JavaScript|JavaScript]], but the DISPLAYTITLE method makes the change for all users, even those with JavaScript disabled in their browser).


<noinclude>[[Category:Basic formatting templates]]</noinclude>
<noinclude>[[Category:Basic formatting templates]]</noinclude>

Latest revision as of 20:12, 23 May 2013

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.

  • Attention: Please do not Subst: this template. MediaWiki's article-titling abilities may improve or change over time.