თარგი:lowercase

თავისუფალი ქართულენოვანი ენციკლოპედია ვიკიპედიიდან
გადასვლა: ნავიგაცია, ძიება
[ხილვა] [რედაქტირება] [ისტორია] [განახლება
დოკუმენტაცია დოკუმენტაცია



სექციების სია

გამოყენება

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.
E (mathematical constant) e (mathematical constant)
Buried treasure buried treasure
Talk:Buried treasure Talk:buried treasure
  • Attention: Please do not Subst: this template.

Rationale

One intended paradigm of the Wikipedia interface is that you should always be able to copy-paste the title header of a page and immediately obtain a suitable bluelink by enclosing it in double brackets. This was not working with proper nouns such as "eBay" and common nouns such as "buried treasure", both requiring to edit the copy-pasted text afterwards in order to obtain [[eBay]] and [[buried treasure]]. A software change was implemented in July 2007[1] to allow any article whose headword starts with a lowercase letter to have its title header reflect it. This change prevents any other use or abuse (such as displaying "two" for article "one").

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