Template talk:lowercase title

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Go to Special:Whatlinkshere/Template:Lowercase for a list of the pages that have lowercase initial letters.


Setting visibility to hidden[edit]

{{editprotected}}

Some editors might prefer to include a blank line between top-of-page templates and the first line of actual text in order to improve readability in the edit box; for example:

{{lowercase}}

'''eBay Inc.''' is an [[United States|American]] [[Internet]] company...

In the case of {{Lowercase}}, doing so would result in extra whitespace appearing at the top of the article. Following some experimentation, I believe that this may be fixed by enclosing the transcluded content in a <span style="visibility:hidden"> tag. Thus, I propose that the source of the template be changed from:

{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

to:

<span style="visibility:hidden">{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

Thanks! Melissa 4.0 (talk) 18:58, 9 January 2009 (UTC)

Just noticed that this problem has already been raised in /Archive 1#extra space, referring to this revision of an article. Issue was circumvented by removing the blank line from the article. However, the problem also appears (uncorrected) in chgrp, lsattr, and probably several others. Performing the fix I suggested above would eliminate the issue from all pages. Melissa 4.0 (talk) 19:15, 9 January 2009 (UTC)
Done. If you don't see the change, purge the article. Pagrashtak 16:08, 15 January 2009 (UTC)


lowercase title(?)[edit]

Strange, the article writes >>Simply add the tag {{lowercase title}} at the top of a page<<

but the eBay example only has: >>{{pp-move-indef}}{{lowercase}}<<

, i.e. no " title" part.

Should the article be shortened by title? —Preceding unsigned comment added by 80.80.22.6 (talk) 17:40, 11 April 2010 (UTC)

{{lowercase}} redirects to {{lowercase title}}, so there is no difference between the two. -- intgr [talk] 18:04, 11 April 2010 (UTC)

(Off-topic branch)[edit]

How do I install this template on my wiki? Etherfox (talk) 19:15, 9 May 2010 (UTC)

   "Off-topic" probably is a sufficient reason for this question having gone unanswered. AFAIK the answer is trivial, and the question can be seen as raising the further question "How can a server-owner who needs to solicit the answer to that 1st question use their own wiki in a way that is worthy of the effort of giving free advice?"
   (I don't intend to go any further off-topic; this response is motivated by a desire to keep as clear as possible the distinction between those who know their priorities keeping them straight, versus not giving a damn about you.)
--Jerzyt 03:14, 7 September 2014 (UTC)

Editprotected request involving this template[edit]

This message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)(background check) 20:46, 28 December 2010 (UTC)

Incompatibility with Template:Italic title[edit]

Note that if both this template and the italic title template are used on one page, such as at Www.tism.wanker.com, the title is italicised but does not begin with a lowercase letter. I suspect it will take a fair bit of time and effort to figure out why this occurs; does anyone know why and how to correct it? GiftigerWunsch [TALK] 16:55, 1 January 2011 (UTC)

I'm not sure, but it seems as though it depends which one is further down the page. Putting {{lowercase}} below {{italic title}} makes it lower case, but vice versa makes it italic, overriding the lower case one. I've changed that page by using DISPLAYTITLE, but would be great if someone could fix it? If not, we could create a template at Template:Lowercase italic title instead? Mhiji (talk) 19:06, 1 January 2011 (UTC)
Is it really worth it? Given how rarely you need both together, can't we just use an explicit DISPLAYTITLE: in those rare cases? (But if someone want to make a template, go ahead.)--Kotniski (talk) 10:57, 2 January 2011 (UTC)
Ah, I see the templates just used DISPLAYTITLE, I figured it would be a bit more complicated that that but I should have guessed otherwise; I've done something rather more complicated on my own user pages anyway. I agree with Kotniski, it's unlikely to come up very often and it's a simple enough exercise to use DISPLAYTITLE when it does. GiftigerWunsch [TALK] 11:32, 2 January 2011 (UTC)
Good point. Mhiji (talk) 01:18, 3 January 2011 (UTC)
246 pages need to be fixed. — Dispenser 03:38, 1 April 2011 (UTC)
   According to the wonderful tool the link provides, it's down to 45. I feel gratitude at being able to understand what i had to do about the Rdr that was labelled NCr and reads now, on the heading at the top of its own page (it's easy for other pages' mentions of it to be individually coded nCr -- or piped nCr, if that seems somehow helpful). In consideration of that, i'm going to fix some of the 45. (Unless i mention the subject here again, my gratitude is insufficient to motivate me to more than half of them.) I also imagine it needs to be done periodically to cover new instances ... ah, yes: all but 2 are from July.
--Jerzyt 05:02 (& fmt fix @ 05:08), 27 July 2014 (UTC)
   I've worked, i think, on 22 instances (based on the list i just assembled by picking titles out from my recent contribs) tho i'm not sure all 22 were of which probably only nCr came from other than the list, and the list which is down to zero. I imagine more will show up. I'm going to go thru all i can identify, partly to clean up early ones where i now realize i didn't need to rely on {{DISPLAYNAME}} directly. I'm also going to review them all, and list in this section the one or a few where the best i could do was to force the single remaining error message to the end of the article page.
--Jerzyt 03:34 & 17:20, 6 August 2014 (UTC)
   Hmmm... could there be some "handmade" infobox-style templates that explain some pages where Italic title = no didn't seem effective?
--Jerzyt 17:20, 6 August 2014 (UTC)

Broken on xx (album)?[edit]

Why doesn't this template work on xx (album)? The title it stylized as "Xx (album)". +mt 20:44, 2 March 2011 (UTC)

It's exactly the same issue as above: Template:Infobox album makes title italic and MediaWiki looks at the last DISPLAYTITLE used on the page. Remove "lowercase" template and insert explicit {{DISPLAYTITLE:''xx (album)''}} somewhere after "Template:Infobox album". — AlexSm 21:29, 2 March 2011 (UTC)
Excellent, thanks! +mt 21:43, 2 March 2011 (UTC)

How it works?[edit]

How this thing works? There is an issue with the Turkish one. When the address is "İPhone" it works (title becomes "iPhone"). But when the address is "IPhone" then the title doesn't become "iPhone". (The Turkish letters: İi Iı. The English letters: Ii) tr:IPhone, tr:Şablon:küçük harf --Kirov Airship (talk) 13:02, 14 March 2011 (UTC)

The template seems to work fine on most pages, the issue seems to be with the letter "i": for example, try to create a page tr:iii with latin "i" and the title in URL will become "%C4%B0ii"; someone (maybe you) filed a bug today at mediazilla:28040; this could be somehow related to mediazilla:4430. — AlexSm 14:28, 14 March 2011 (UTC)
That is normal because the uppercase of i is İ (in Turkish alphabet). Why you is it as %C4%B0 is because (I think) your browser does not know the corresponding letter of %C4%B0 (which is İ). I see it as İ on Firefox 4.0b13pre. But the product name iPhone is not a Turkish word and MediaWiki needs to handle it as English word. --Kirov Airship (talk) 15:13, 14 March 2011 (UTC)
Yes, some browsers can display pretty URLs (although the "proper" one is still with "%C4%B0"). Anyway, there is nothing wrong with the "Lowercase title" template, the issue is with magic word DISPLAYTITLE itself and "i" / "İ" letters. I'm not sure the devs will be able to fix this, since DISPLAYTITLE should only produce a title that links to exactly the same page and tr:iPhone and tr:IPhone are different pages. — AlexSm 15:37, 14 March 2011 (UTC)

Non-latin Alphabets[edit]

Can the documentation be updated in some way to show that the lowercase template also works/is needed for lowercase in other alphabets such as Greek (I figure that Hebrew and Arabic have no lower case, does Cyrllic also need the template)?

Edit request on 30 May 2012[edit]

I think it is unnecessary for the template page to be with a lowercase title, so it would be better if the actual template markup was placed in "includeonly" tags. Radoslav Georgiev (talk) 08:38, 30 May 2012 (UTC)

Actually it seems highly appropriate to me that the template should have a lowercase name, as this demonstrates the function of the template. — Martin (MSGJ · talk) 17:26, 30 May 2012 (UTC)

Template doesn't work for titles with Italics[edit]

See xALBUMx as an example. This template does not work for this article title. There's an interference with whatever makes album titles to have Italic titles and thus cancels out the effects for making the first letter of the title of the article lowercase. • GunMetal Angel 16:14, 4 June 2012 (UTC)

Same issue as above e.g. in section #Broken on xx (album)?. I updated the template documentation. — AlexSm 16:44, 4 June 2012 (UTC)

I tried {{DISPLAYTITLE:''net''}} in net (magazine) but it still doesn't lowercase the first letter. So the example is still wrong. JMP EAX (talk) 19:15, 29 August 2014 (UTC)

Shouldn't protected templates be protected for admins and template editors?[edit]

-Fimatic (talk | contribs) 00:41, 20 November 2014 (UTC)

Using syntax to make the SECOND word in a title lowercase[edit]

I have been trying to use the {{DISPLAYNAME}} syntax to make the second word in this article: https://en.wikipedia.org/wiki/Disconnected_Youth lowercase. The article title should be "Disconnected youth" ... and the {{lowercase title}} syntax only makes the first letter of the first word lowercase. Thank you for your help/advice/bug fix. Lusty Mercantilist (talk) 17:00, 6 January 2015 (UTC)

portability[edit]

“Simply add the tag at the beginning of a page” works only on en.wikipedia – apparently, these are translated in other versions. So, how do I find out the de.wikipedia name for this template? annoyed mirabilos (talk) 18:36, 12 February 2015 (UTC)

Edit request on 6 May 2015[edit]

A protected redirect, Template:Lowercase, needs redirect category (rcat) templates added. Please modify it as follows:

  • from this...
#REDIRECT [[Template:Lowercase title]]
  • to this...
#REDIRECT [[Template:Lowercase title]]

{{Redr|from move|from template shortcut}}
  • WHEN YOU COPY & PASTE, PLEASE LEAVE THE SKIPPED LINE BLANK FOR READABILITY.

Template Redr is an alias for the {{This is a redirect}} template, which is used to sort redirects into one or more categories. No protection rcat is needed, and if {{pp-protected}} and/or {{pp-move}} suffice, the This is a redirect template will detect the protection level(s) and categorize the redirect automatically. (The categories will also be automatically removed when and if protection is lifted.) Thank you in advance! – Paine  18:10, 6 May 2015 (UTC)

Yes check.svg Done --Redrose64 (talk) 23:31, 6 May 2015 (UTC)
Thank you! and Best of everything to you and yours! – Paine 

Protected edit request on 6 August 2015[edit]

Nest the span tags within includeonly tags so that the template page displays "Template:Lowercase title" instead of "Template:lowercase title". GeoffreyT2000 (talk) 23:46, 6 August 2015 (UTC)

Red information icon with gradient background.svg Not done: It's a good demonstration of what the template actually does. --Redrose64 (talk) 08:01, 7 August 2015 (UTC)