Template talk:DISPLAYTITLE
This is the talk page for discussing improvements to the DISPLAYTITLE template. |
|
This template does not require a rating on Wikipedia's content assessment scale. |
Caret
[edit]Atop the article 2^43112609 − 1, I put {{DISPLAYTITLE:2<sup>43112609</sup> − 1}}. It doesn't work. It doesn't have any problem with subscripts at E8 (mathematics). What's going on? Michael Hardy (talk) 19:24, 26 November 2011 (UTC)
- The solution seems to have been found (the ^ character needed to be handled).--Kotniski (talk) 11:00, 27 November 2011 (UTC)
Categories
[edit]Why does this template change the title on the corresponding page but not the title in the lists within the categories? E.g. at Category:Algebraic_groups you find E8 (mathematics) not E8 (mathematics). — Preceding unsigned comment added by Cb22hh (talk • contribs) 19:21, 29 May 2012 (UTC)
- That is handled separately by {{DEFAULTSORT:whatever}} Modest Genius talk 20:28, 8 July 2012 (UTC)
- I don't think so. DEFAULTSORT specifies the ordering within the category. It does not change the link text.--Cb22hh (talk) 10:52, 10 July 2012 (UTC)
Has this issue been documented? — Preceding unsigned comment added by 72.22.12.35 (talk) 21:07, 16 June 2016 (UTC)
Language
[edit]Would it be possible to include a |language=
parameter, to be rendered as an HTML "lang" attribute? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:46, 30 December 2012 (UTC)
Preview page with this template
[edit]The edit page for this /doc offers to "Preview page with this template". It's undocumented. Tell me how it works, and I'll document it. How would it work? CpiralCpiral 02:03, 22 March 2013 (UTC) — CpiralCpiral 02:53, 27 March 2013 (UTC)
The facts seem to be 1)The page must already use the template 2)The template must have graphics not just text, and 3) It's offered on all template editing, even on /doc where it's useless, and even on template code where it's not graphical. If so, it should be an opt-in widget, being misleading more than half of the time? For example it should not be offered here at DISPLAYTITLE where "Page title" is triply confusing.
Because "with this template" does mean two different things (has this template / using this code), it can be taken wrongly by the uninitiated, curious about a particular template.
"Preview page with this template" could say one of:
- For a page having this template, preview with this version.
- Preview with this version.
- Sandbox a page.
More importantly, I'm hoping the line "Page title" might present itself, when filled in, for example:
"Page title that uses {{Writer-stub}}:P. D. Ouspensky
".— CpiralCpiral 00:09, 28 March 2013 (UTC)
New doc
[edit]I added documentation because we shouldn't say everything that needs to be said all at Wikipedia:DISPLAYTITLE#Changing_the_displayed_title where the redirect WP:DISPLAYTITLE goes.
BTW, I'm not sure the redirect will change, but I'm pretty sure Page name will get to change its own content that WP:DISPLAYTITLE points to. See Wikipedia_talk:Page_name/Major_surgery#Changing_the_title. It's different than the doc here. — CpiralCpiral 01:28, 29 March 2013 (UTC)
Can't Get This to Work ...
[edit]I tried to change the title of http://en.wikipedia.org/wiki/Cloudy_olive_oil to "unfiltered olive oil", which is the common name for this kind of oil, using Displaytitle. But it is still displaying as Cloudy olive oil, and going to http://en.wikipedia.org/wiki/Unfiltered_olive_oil gets you nowhere. How can this be fixed? Mikalra (talk) 15:34, 23 August 2013 (UTC)
@Mikalra, if you wish to change the name of an article, you can move it. Colathewikian (talk) 02:29, 25 November 2020 (UTC)
Article talk pages?
[edit]This help request has been answered. If you need more help, you can , contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse. |
Is it intended for DISPLAYTITLE to be used on article talk pages? (e.g. Talk:The Smurfs 3) While I've seen plenty of articles about albums, books, and films use DISPLAYTITLE, I haven't seen it on their corresponding talk pages. Thanks! GoingBatty (talk) 20:54, 10 October 2013 (UTC)
- I don't think it's worth the effort to either add or remove it from a talk page (unless it's on a talk page but not on the article itself, in which case it clearly should be removed). It's likely not intended for talk pages, but I doubt it hurts. Huon (talk) 22:06, 24 February 2014 (UTC)
Unexpected warning message for DISPLAYTITLE
[edit]This help request has been answered. If you need more help, you can , contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse. |
Can somebody tell me why I am now getting a red warning at the bottom of Bambi Kino? As far as I know, I'm using this template exactly as intended, to suppress italics that were an automatic effect of adding "Infobox album" to an article that is about the band, not about their self-titled album. Lwarrenwiki (talk) 13:21, 26 July 2014 (UTC)
- And it's not just that page. Looks to me like the template has recently been broken. Other pages using DISPLAYTITLE are now changed in the same way, showing a red warning at the bottom that is totally unnecessary and intrusive. See Scott Miller (pop musician), for example. Lwarrenwiki (talk) 16:14, 26 July 2014 (UTC)
- The template has not been edited in over a year. To me this looks like a too-smart change to the Mediawiki software itself, not the template, akin to the warnings for references without a reflist or things like that. It can be circumvented by setting the infobox parameter to
Italic title=no
, which I'll do for the Bambi Kino page. Whether this feature is more helpful than harmful is another question best discussed elsewhere - say, at WP:Village pump (technical). Huon (talk) 17:17, 26 July 2014 (UTC)
- The template has not been edited in over a year. To me this looks like a too-smart change to the Mediawiki software itself, not the template, akin to the warnings for references without a reflist or things like that. It can be circumvented by setting the infobox parameter to
Template warning message
[edit]For some reason, the template is now showing a warning message: "Warning: Display title "<i>obZen</i>" overrides earlier display title "<i>ObZen</i>"." (see an example here). Best guess is that this is a conflict between this template and Template:Infobox album, which forces the title to be italicised. Can someone offer a solution on how I should use Template:DISPLAYTITLE to properly show the title without the warning message? Or, can someone offer a solution to Template:Infobox album to fix this conflict? (This sort of behind-the-scenes stuff is beyond my understanding currently.) MrMoustacheMM (talk) 20:45, 19 August 2014 (UTC)
- The documentation for
Template:Infobox musical artistTemplate:Infobox album gives the solution at the very top:
This infobox should italicize the article title automatically. If this is not required, add |Italic title=no to the list of parameters. If this is required but the title is not being italicized, try |Italic title=force . |
- If you're using DISPLAYTITLE on the page, you can suppress the infobox. Huon (talk) 21:03, 19 August 2014 (UTC)
- Huon, you are right. Annoyingly, Template:Infobox album takes a slightly different parameter to suppress italics, but it does work in a similar way to Template:Infobox musical artist. It took me a significant effort to revise all the musical artist pages (and book author pages) I've worked on that needed to be updated, because of the unnecessary change to DISPLAYTITLE. Lwarrenwiki (talk) 21:24, 19 August 2014 (UTC)
- I mixed up the infoboxes. Template:Infobox musical artist doesn't have auto-italicization built in; the note is at the "album" infobox documentation. Huon (talk) 21:32, 19 August 2014 (UTC)
- Thank you very much, Huon! I'll follow the edit you made at ObZen if I see this issue pop up anywhere else. MrMoustacheMM (talk) 21:53, 19 August 2014 (UTC)
@MrMoustacheMM, Huon, Lwarrenwiki, and Gxe113: Hello, I recently moved The greg gutfeld show to The Greg Gutfeld Show to capitalise each word. But after I did, the same warning came up at the top of the page, Warning: Display title "<i>The Greg Gutfeld Show</i>" overrides earlier display title "The Greg Gutfeld Show"., I tried the fixes stated in this section and the one above, to do with the infobox, but it is still there. Can you help please, I'm not sure what to do. Thanks. Seagull123 Φ 20:16, 2 July 2015 (UTC)
Quotation signs
[edit]HTML5's q-element, or in Wiki-speak, <q>...</q>
, allows {{DISPLAYTITLE:}}
to place quotation signs in article titles. Example: {{DISPLAYTITLE:List of covers of <q>Yesterday</q>}}
which will show the title of the (hypothetical) article List of covers of Yesterday as List of covers of Yesterday
. As with any transformation via DISPLAYTITLE, this does not affect the cut/paste behaviour of titles, in other words, the quote signs will not be included when cutting/pasting the article title from a browser. There is no consensus on Wikipedia endorsing this usage. -- Michael Bednarek (talk) 01:59, 1 July 2015 (UTC)
Error message caused by / in title?
[edit]I'm getting the warning and the category placement for the article S/V Rembrandt van Rijn. The warning is
Warning: Display title "S/V <i>Rembrandt van Rijn</i>" was ignored since it is not equivalent to the page's actual title.
and it does match, any ideas? Naraht (talk) 14:48, 30 January 2018 (UTC)
- Fixed. I've come across this before. I cleared the 'display title=' parameter, then copy & pasted the page title in, then added the italics mark-up. For some reason, the page sees some variation in what has been typed into the parameter and the page's title, (that apparently we can't see) so copying in the exact title usually fixes it. - theWOLFchild 19:18, 30 January 2018 (UTC)
- Looks like the only change was the addition of three end of lines splitting what was there. But any fix in this case is a good one. Naraht (talk) 20:04, 30 January 2018 (UTC)
- Yup, it looks like that... but I checked and that didn't make any difference. Like I said, it wasn't until I copy & pasted the article title into the parameter did the italics take effect and the error msg disappeared. There is a difference between the two texts that we can't see. - theWOLFchild 22:36, 30 January 2018 (UTC)
- The problem is the article title. It uses the digraph "ij", not the two letters "i" and "j", so {{Displaytitle}} has to use the digraph too. I suspect the article ought to be moved back to S/V Rembrandt van Rijn – and DISPLAYTITLE then be changed again. -- Michael Bednarek (talk) 12:32, 31 January 2018 (UTC)
- Interesting, glad you spotted that. I believe that WP is Neutral as to whether the digraph is used or not.Naraht (talk) 12:59, 31 January 2018 (UTC)
- Well, that solves that. (digraphs didn't even occur to me). The article probably should be moved, not as a matter neutrality or not, but to avoid future problems with linking. Others are more likely to spell it with "i j" that use "ij". (imho) - theWOLFchild 15:18, 31 January 2018 (UTC)
- I'm on the other side on this, IMO, the version with "i j" should be created as a redirect, perhaps with a note on the italics title to make it clearer. Maybe we can ask on WP:DUTCH, they've probably dealt with this.Naraht (talk) 17:26, 31 January 2018 (UTC)
- Well, that solves that. (digraphs didn't even occur to me). The article probably should be moved, not as a matter neutrality or not, but to avoid future problems with linking. Others are more likely to spell it with "i j" that use "ij". (imho) - theWOLFchild 15:18, 31 January 2018 (UTC)
- Interesting, glad you spotted that. I believe that WP is Neutral as to whether the digraph is used or not.Naraht (talk) 12:59, 31 January 2018 (UTC)
- The problem is the article title. It uses the digraph "ij", not the two letters "i" and "j", so {{Displaytitle}} has to use the digraph too. I suspect the article ought to be moved back to S/V Rembrandt van Rijn – and DISPLAYTITLE then be changed again. -- Michael Bednarek (talk) 12:32, 31 January 2018 (UTC)
- Yup, it looks like that... but I checked and that didn't make any difference. Like I said, it wasn't until I copy & pasted the article title into the parameter did the italics take effect and the error msg disappeared. There is a difference between the two texts that we can't see. - theWOLFchild 22:36, 30 January 2018 (UTC)
- Looks like the only change was the addition of three end of lines splitting what was there. But any fix in this case is a good one. Naraht (talk) 20:04, 30 January 2018 (UTC)
That works too. Creating a re-direct would solve future linking problems with the alternate spelling. I think that is something anyone can just go and do without the need for project-specific consultation. In fact, I'll just go do that now. (nevermind, one was already created last year) Problem solved. Cheers - theWOLFchild 17:36, 31 January 2018 (UTC)
- I just added a note to the italics title field in the article on this issue. Nice working with you all!Naraht (talk) 19:35, 31 January 2018 (UTC)
Future support for a single multicase word
[edit]Just curious if at some future point DISPLAYTITLE will support a single multicase word? Prime example: Quechers could benefit from {{DISPLAYTITLE:QuEChERS}}
. Thanks. Lostraven (talk) 16:17, 12 April 2019 (UTC)
- @Lostraven: (very late repy) No need, just WP:MOVE the page to that title. The only reason the initial lowercase is supported is because you can't have a page name that really begins with a lowercase letter. davidwr/(talk)/(contribs) 02:36, 25 November 2020 (UTC)
Conflict with apostrophe?
[edit]There seems to be a problem rendering titles for television episodes if they include an apostrophe in the disambiguation modifier (for example: Torpedo (Bob's Burgers) or The Sound of Silence (Grey's Anatomy)). I've narrowed it down to a conflict in {{infobox television episode}}, but can't determine what parameter needs to change. I notice the title will render correctly if I place {{DISPLAYTITLE}} after the episode infobox - but I still get the DISPLAY TITLE warning. Is there a work around? Hoof Hearted (talk) 19:40, 18 May 2021 (UTC)
- This issue has been resolved by changing the {{infobox television episode}} template. Hoof Hearted (talk) 13:24, 19 May 2021 (UTC)
{{DISPLAYTITLE}}
in redirects
[edit]Is it possible to use {{DISPLAYTITLE}}
in redirects? Abhiramakella (talk) 06:35, 1 October 2024 (UTC)
- Yes, it is (as anyone can find out by trying and previewing). But what's the point? (Almost) no one visits a redirect. -- Michael Bednarek (talk) 07:28, 1 October 2024 (UTC)