Template:Lowercase title/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(Undid revision 140089420 by Blake3522 (talk)rv, my bad)
(update usage)
Line 4: Line 4:


==Usage==
==Usage==
This template will display the correct lowercase title as the title of the page in [[JavaScript]]-enabled browsers, and the following message in non-JavaScript browsers:
This template uses the magic word DISPLAYTITLE 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).
:''The correct title of this article is '''CORRECT_TITLE'''. The initial letter is shown capitalized due to [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter|technical restrictions]].''

===Optional format===
<code><nowiki>{{lowercase|uncapitalized title}}</nowiki></code>

produces (in a non-JavaScript enabled browser):

:''The correct title of this article is'' '''''uncapitalized title'''''. ''The initial letter is shown capitalized due to [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter|technical restrictions]].''


== See also ==
== See also ==

Revision as of 11:02, 16 July 2007

Template:Template doc page viewed directly Attention: Please do not Subst: this template.

Usage

This template uses the magic word DISPLAYTITLE 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).

See also