Template:lowercase title

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
Kevin (Talk | contribs)
(New page: <span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude> {{pp-template|small=yes}} {{documentation}} </noinclude>)

Latest revision as of 14:54, 20 October 2009

[edit] [purge] 50px Template documentation

Contents

Usage

  • Attention: Please do not subst this template.

Simply add the tag {{lowercase title}} 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.
Talk:EBay Talk:eBay

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

Template Involves Correct name Technical name
{{Bracketed}} < > [ ] { } Benzo[a]pyrene Benzo(a)pyrene
{{Lowercase title}} Lowercase first character eBay EBay
{{Namespace conflict}} / : DK: King of Swing DK King of Swing
{{Pound}} # Pilot #5 Pilot no. 5
{{DISPLAYTITLE}} Various
simple:Template:Lowercase

ar:قالب:حروف صغيرة be-x-old:Шаблён:Загаловак з малой літары bg:Шаблон:С малка буква bs:Šablon:Maloslovo eo:Ŝablono:Minusklo es:Plantilla:Título minúscula fr:Template:Minuscule he:תבנית:שם שגוי hr:Predložak:Malim slovom hsb:Předłoha:Minuskla hu:Sablon:Kisbetűscím ia:Patrono:Minuscula is:Snið:Lágstafur it:Template:titolo minuscolo ja:Template:小文字 ka:თარგი:lowercase ko:틀:소문자 mk:Шаблон:мала буква nl:Sjabloon:Kleine letter no:Mal:Liten forbokstav pl:Szablon:małą literą pt:predefinição:minúscula ro:Format:iniţialămică ru:Шаблон:Заголовок со строчной буквы sl:Predloga:Mala začetnica sq:Stampa:Shkronja të vogël sv:Mall:Liten begynnelsebokstav th:แม่แบบ:ตัวพิมพ์เล็ก tr:Şablon:küçük harf vi:Tiêu bản:lowercase zh:Template:lowercase zh-yue:Template:細楷

Personal tools