Template:Lowercase/doc: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (cat.d)
m (reply to gumby)
Line 1: Line 1:
PLEASE SET $wgAllowDisplayTitle EQUAL TO TRUE  
PLEASE SET $wgAllowDisplayTitle EQUAL TO TRUE  
I'm going to make some individual articles for functions, but they look ugly :P ~Gumby
I'm going to make some individual articles for functions, but they look ugly :P ~Gumby
:Please don't make individual articles for functions. Redirects are better. Example: [[ai2_allpassive]]
:Apart from that, lowercase article names don't look like an emergency. We'll let you know in time.
::[[User:Geyser|geyser]] 02:59, 12 March 2008 (CET)





Revision as of 01:59, 12 March 2008

PLEASE SET $wgAllowDisplayTitle EQUAL TO TRUE I'm going to make some individual articles for functions, but they look ugly :P ~Gumby

Please don't make individual articles for functions. Redirects are better. Example: ai2_allpassive
Apart from that, lowercase article names don't look like an emergency. We'll let you know in time.
geyser 02:59, 12 March 2008 (CET)



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:


  • Attention: Please do not Subst: this template.

Technical

This template wraps the 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