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:
 
==Usage==
This template will displayuses the correctmagic lowercaseword titleDISPLAYTITLE asto decapitalise the titlefirst letter of the name of a page init's [[JavaScript]]-enabledtranscluded browserson. (Previously, andthis template achieved this using JavaScript, but the followingDISPLAYTITLE method makes the change for all users, even messagethose inwith non-JavaScript browsers: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 ==

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