Template:Lowercase/doc: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (cat.d)
(more concise)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
PLEASE SET $wgAllowDisplayTitle EQUAL TO TRUE
I'm going to make some individual articles for functions, but they look ugly :P ~Gumby
<!--
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
==Usage==
==Usage==
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. Examples:
* '''Attention: Please do not [[wikipedia:WP:SUBST|Subst:]] this template. MediaWiki's article-titling abilities may improve or change over time.'''
 
 
 
* '''Attention: Please do not [[WP:SUBST|Subst:]] this template.'''
 
==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==
 
* [[Wikipedia:Naming conventions (technical restrictions)#Lower case first letter]]
* {{tl|Wrongtitle}} – hatnote for providing a correct title prevented by technical reasons
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wrong title templates]]
 
[[bg:Шаблон:С малка буква]]
[[eo:Ŝablono:Minusklo]]
[[es:Plantilla:Título minúscula]]
[[fr:Template:Minuscule]]
[[ia:Patrono:Minuscula]]
[[he:תבנית:שם שגוי]]
[[hsb:Předłoha:Minuskla]]
[[hu:Sablon:Rosszcím]]
[[ja:Template:小文字]]
[[ka:თარგი:lowercase]]
[[nl:Sjabloon:Kleine letter]]
[[no:Mal:Liten forbokstav]]
[[pl:Szablon:małą literą]]
[[ro:Format:iniţialămică]]
[[ru:Шаблон:Заголовок со строчной буквы]]
[[sq:Stampa:Shkronja të vogël]]
[[sl:Predloga:Mala začetnica]]
[[sv:Mall:Liten begynnelsebokstav]]
[[tr:Şablon:küçük harf]]
[[vi:Tiêu bản:lowercase]]
[[zh-yue:Template:細楷]]


</includeonly><noinclude>[[Category:Basic formatting]]</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.