Template:Lowercase title/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
Line 37: Line 37:
[[es:Plantilla:Título minúscula]]
[[es:Plantilla:Título minúscula]]
[[fr:Template:Minuscule]]
[[fr:Template:Minuscule]]
[[ia:Patrono:Minuscula]]
[[he:תבנית:שם שגוי]]
[[he:תבנית:שם שגוי]]
[[hsb:Předłoha:Minuskla]]
[[hsb:Předłoha:Minuskla]]
[[hu:Sablon:Rosszcím]]
[[ia:Patrono:Minuscula]]
[[is:Snið:Lágstafur]]
[[is:Snið:Lágstafur]]
[[ja:Template:小文字]]
[[ka:თარგი:lowercase]]
[[ka:თარგი:lowercase]]
[[hu:Sablon:Rosszcím]]
[[ko::소문자]]
[[mk:Шаблон:мала буква]]
[[mk:Шаблон:мала буква]]
[[ja:Template:小文字]]
[[nl:Sjabloon:Kleine letter]]
[[nl:Sjabloon:Kleine letter]]
[[no:Mal:Liten forbokstav]]
[[no:Mal:Liten forbokstav]]
Line 51: Line 52:
[[ro:Format:iniţialămică]]
[[ro:Format:iniţialămică]]
[[ru:Шаблон:Заголовок со строчной буквы]]
[[ru:Шаблон:Заголовок со строчной буквы]]
[[sq:Stampa:Shkronja të vogël]]
[[sl:Predloga:Mala začetnica]]
[[sl:Predloga:Mala začetnica]]
[[sq:Stampa:Shkronja të vogël]]
[[sv:Mall:Liten begynnelsebokstav]]
[[sv:Mall:Liten begynnelsebokstav]]
[[th:แม่แบบ:ตัวพิมพ์เล็ก]]
[[th:แม่แบบ:ตัวพิมพ์เล็ก]]
Line 59: Line 60:
[[zh:Template:lowercase]]
[[zh:Template:lowercase]]
[[zh-yue:Template:細楷]]
[[zh-yue:Template:細楷]]

</includeonly>
</includeonly>

Revision as of 12:34, 19 October 2008

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.
Talk:EBay Talk:eBay
  • 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