Difference between revisions of "Template:Lowercase/doc"

From Geohashing
imported>Tjtrumpet2323
m
m (See also: two w:s)
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
|-
 
|-
 
| [[wikipedia:EBay|EBay]], [[wikipedia:IPod|IPod]], etc. || eBay, iPod, etc.
 
| [[wikipedia:EBay|EBay]], [[wikipedia:IPod|IPod]], etc. || eBay, iPod, etc.
 +
|-
 +
| [[Xkcd]] || xkcd
 
|-
 
|-
 
|}
 
|}
 
==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==
 
==See also==
  
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]]
+
* [[wikipedia:wikipedia:naming conventions (technical restrictions)#Lower case first letter]]
* {{tl|Wrongtitle}} – hatnote for providing a correct title prevented by technical reasons
+
* [[wikipedia:wikipedia:template:lowercase]]

Latest revision as of 11:47, 19 July 2021

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. Examples:

Page name Will display
EBay, IPod, etc. eBay, iPod, etc.
Xkcd xkcd

See also