Difference between revisions of "Template:Lowercase"

From Bose Portable PA Encyclopedia
Jump to: navigation, search
m (New page: {{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}<noinclude> {{pp-template}} {{Documentation}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, T...)
 
(No difference)

Latest revision as of 00:26, 30 March 2008

Padlock-silver-medium.svg

This high-risk template has been protected from editing by new or unregistered users to prevent vandalism.
Please discuss changes on the talk page or request unprotection. You may use {{editprotected}} on the talk page to ask for an administrator to make an edit for you.

[edit] Documentation

Template:TOCright

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.
  • 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

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:細楷