Template talk:Infobox anthem
This is the talk page for discussing improvements to the Infobox anthem template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
New features
editI just made enhanced the infobox a little. Here's what's new:
- Including an image together with a caption in the box is possible.
- Including a sound file is possible.
- Up to two alternative titles with their English translations are possible.
- English title is optional (no need to list it twice if the native language is English)
- For anthems whose original languages do not use the Latin alphabet, a transcription of the title may be added.
- The "Lyrics" and "Music" fields may now include dates (when the anthem was written or composed), entered as separate parameters
- Changed "Changed" to "Until".
- Changed the color of the header so that the link to English language was better visible.
- Put the infobox in the occrect category.
— Kpalion(talk) 12:02, 22 March 2008 (UTC)
- The English link is still hard to read. User:Zscout370 (Return Fire) 04:56, 26 March 2008 (UTC)
@Kpalion: Could you add a parameter to the infobox to customize the type of composition? That way we can change the suffix and have it display as "National march" or "National song" if need be. – Illegitimate Barrister (talk • contribs), 17:15, 6 February 2018 (UTC)
Blue heading
editI can't see the links with the blue heading if the wikilinks are blue. A new color should be used. User:Zscout370 (Return Fire) 18:55, 26 March 2008 (UTC)
Recent code changes
editIf there were issues with the code updates that I made, please let me know either on this talk page or on my talk page. Comments like "the black bullshit doesn't work" are both inappropriate and unhelpful. Thanks. --MZMcBride (talk) 06:31, 31 March 2008 (UTC)
- Thanks for your help in correcting the template code, MZ. I was trying to improve the template two weeks ago, but I'm not very familiar with the code, so your input is appreciated. The only issue I, and I guess other users too, have is the choice of colors. We want to achieve two goals here: to make the blue links readable and to make the template eye-pleasing at the same time. I think the current dark grey doesn't meet any of these goals. The "indian red" template header with TOC colors for the rest of the box was better IMO and one other user, who was working on putting the template on all relevant pages, also said he liked it. Is there any reason not to keep those colors? — Kpalion(talk) 15:36, 31 March 2008 (UTC)
- The code changes that I made shouldn't have had any effect on the appearance of the template, and when I did a comparison of the examples, they looked the same to me. The color scheme was changed earlier by another user. I will say that the "standard" colors usually used for infoboxes are like those found on Abraham Lincoln. Using white font isn't usually done due to issues that color-blind users have (especially when they set their monitors to use inverted black and white). If there aren't any objections, I'll modify the code to use a light background and black font. --MZMcBride (talk) 19:46, 31 March 2008 (UTC)
- MZ, I reverted to your edits after they were undone by another user, but changed the color scheme to an older one. I won't object to a different color scheme as long as it's readale and not ugly. The temaplate as it is now looks fine to me in Firefox and MSIE. I don't know how it's rendered in other browsers. — Kpalion(talk) 20:10, 31 March 2008 (UTC)
- My efforts were more hit-and-run than anything else. You all are free to make the infobox whatever color you'd like, I was just doing code cleanup. Cheers. --MZMcBride (talk) 03:35, 1 April 2008 (UTC)
The black bullshit didn't work, I saw black on black. --User:Iambus৹ | talk 00:28, 1 April 2008 (UTC)
- That doesn't justify incivility, does it? — Kpalion(talk) 16:49, 1 April 2008 (UTC)
- I don't like the current burgundy colour. Does the infobox need any fancy colour at all? - 00:37, 1 April 2008 (UTC)
- I had a grey, since others don't like red. I don't like to use the blue color because we are having blue links, thus making it hard to see. User:Zscout370 (Return Fire) 04:18, 1 April 2008 (UTC)
- I changed the color scheme to black letters on white and light grey background. No fancy colors, should be readable for all, includung color-blind people. Iambus, please let us know, in a civil manner, if it still looks black on black on your screen. — Kpalion(talk) 17:26, 1 April 2008 (UTC)
- I can see it fine. User:Zscout370 (Return Fire) 16:52, 2 April 2008 (UTC)
- Kpalion, nice work. Fine now. User:Iambus৹ | talk 07:01, 6 April 2008 (UTC)
- thumbs up I like this version. User:Zscout370 (Return Fire) 19:01, 6 April 2008 (UTC)
- I changed the color scheme to black letters on white and light grey background. No fancy colors, should be readable for all, includung color-blind people. Iambus, please let us know, in a civil manner, if it still looks black on black on your screen. — Kpalion(talk) 17:26, 1 April 2008 (UTC)
- I had a grey, since others don't like red. I don't like to use the blue color because we are having blue links, thus making it hard to see. User:Zscout370 (Return Fire) 04:18, 1 April 2008 (UTC)
Coding Problem - Listen box
editI believe we need to totally redo the coding or we'll have to just remove the box altogether. Plus, it doesn't look too good now. Bland, boring, a bit plain. Who's with me? – Obento Musubi (C • G • S) 03:21, 24 November 2008 (UTC)
- "Bland, boring and plain" is precisely how it should be. The box is just there to impart information, not to draw attention to itself. The audio clip is problematic, but it definitely doesn't require a huge overhaul of the complete template logic like just happened. Chris Cunningham (not at work) - talk 14:15, 24 November 2008 (UTC)
More on the recent revert
editI've reverted this edit again for a number of reasons:
- It moves the title field onto the same row as the alternative names. Different data points should have separate rows; not only does this simplify the conditional code required to selectively omit material that is not provided, it also ensures that they are presented consistently from infobox to infobox.
- Following on from that, it removed the HTML
<caption>
from the table. This is a bad idea accessibility-wise. - It added the image caption as alt text for the image. This is unnecessary, as the caption is provided in the following data cell anyway. By omitting the caption, we avoid presenting users with screen readers with the same text twice.
- The conditional code didn't work when the title was omitted; the template should collapse to nothing, whereas it was collapsing to an empty table a couple of ems high.
- It used HTML
<i>
elements for italics. This should never be necessary. Italics can be provided using wikimarkup, or ideally with CSS. I've now italicised the title properly.
Further to that, there was no actual rationale provided for any of these changes, other than the word "test". Infobox templates should not be aesthetic playthings; we should not be arbitrarily playing with the styling without a reasonable rationale.
Chris Cunningham (not at work) - talk 08:44, 10 July 2009 (UTC)
Unofficial name?
editWould it be possible to add a line for unofficial names of the anthem? Thanks Xerxes (talk) 10:40, 9 January 2010 (UTC)
- There's alt_title. Wouldn't that work for an unofficial title? — Kpalion(talk) 11:34, 9 January 2010 (UTC)
- Sorry - I should have looked more carefully. Xerxes (talk) 18:35, 9 February 2010 (UTC)
Italics and East Asian Languages
editsome of you, from the title, should immediately know what I am of complaining of here. Otherwise, italicising Chinese characters (includes Hanja, Kanji, and chu-nom) makes them far more difficult to read. anyone care to introduce a parameter to allow turning off italics? 华钢琴49 (TALK) 22:17, 4 April 2010 (UTC)
- Sure, or we could just turn it off by default? What should the parameter be called? Plastikspork ―Œ(talk) 16:25, 5 April 2010 (UTC)
- Title_Italics or something similar to that, because the "|title" parameter is for the native name. Maybe with comments put 'any entry will de-italicise the native title', as most of the national anthems do not use an East Asian or Arabic script, i.e. use Roman alphabet; so no, italics should not be turned off by default. 华钢琴49 (TALK) 22:42, 5 April 2010 (UTC)
Why italics at all?
editI don't understand why anthems should be italicised at all. The general principle of MOS:ITALIC seems to be that longer works get italicised, shorter works, link songs, are to be sorrounded by double quotation marks. It seems to me that anthems are more like songs than any of the items listed at MOS:ITALIC. I suggest to turn this behaviour off. -- Michael Bednarek (talk) 12:01, 23 December 2011 (UTC)
Infobox flag
editWhy do all of the examples use flag icons? Isn't this a violation of WP:INFOBOXFLAG? Walter Görlitz (talk) 12:08, 12 September 2014 (UTC)
- I agree. It is quite inappropriate to have a flag icon jammed into the middle of a phrase, eg,
- "National anthem of Australia"
- The flag icon is surely designed to stand alone, not be inserted into a sentence or phrase. Nurg (talk) 00:30, 15 August 2015 (UTC)
Bug in Safari
editThe "title" (caption tag) slips to the bottom and the moves downwards infinitely as I play the audio. When I move my cursor onto the audio player the "title" rises back up but again continues to move downwards.
I tried diagnosing the problem and I found that the audio player is to blame. Any way to solve this? Thanks!
(I use Safari 10 on macOS Sierra)
––Yhynerson1 (talk) 03:20, 13 June 2017 (UTC)
Update: I found a temporary fix by detaching the audio sample section from the infobox. ––Yhynerson1 (talk) 03:46, 13 June 2017 (UTC)
(Damn autocorrect)
- Any progress on this? Esszet (talk) 02:08, 25 December 2017 (UTC)
- The bug still exist by the way Sokuya (talk) 15:11, 8 October 2021 (UTC)
Tchaikovsky
editI might be wrong but this sounds like the version from the ballet Sleeping Beauty by Pyotr Ilyich Tchaikovsky. Though I agree that is the best version I think something closer to home (e.i. France) would be more suitable
Request: Type of composition/suffix parameter
editI am requesting that somebody please add a parameter to the infobox to customize the type of composition; that way we can change the suffix and have it display as "National march" or "National song" if need be. – Illegitimate Barrister (talk • contribs), 01:02, 6 February 2018 (UTC)
- Done — Kpalion(talk) 11:47, 7 February 2018 (UTC)
- Thank you, exactly what I wanted. – Illegitimate Barrister (talk • contribs), 13:20, 7 February 2018 (UTC)
Semi-protected edit request on 10 February 2018
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Music by Saad Abdel Wahab NOT Mohammed Abdel Wahab Ali351990 (talk) 09:42, 10 February 2018 (UTC)
- This information is not present in this infobox. Please make this request at the article that requires this correction, but be sure to supply a source. Walter Görlitz (talk) 17:38, 10 February 2018 (UTC)
Reference: https://al-ain.com/article/saad-abdel-wahab-national-anthem-of-the-emirates — Preceding unsigned comment added by Ali351990 (talk • contribs) 21:16, 17 February 2018 (UTC)
- Again, please make the request at the article that requires the correction. Walter Görlitz (talk) 06:24, 19 February 2018 (UTC)
Infobox headline
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
When I play the audio file, the headline drops to the bottom and continues to drop in sort of glitch. Please fix this' it very annoying. Sokuya (talk) 12:05, 24 March 2018 (UTC)
- @Sokuya: I have marked your request as answered because that template is meant to be used for specific changes (e.g "change X to Y" or "copy the code from the template sandbox" requests). What browser are you using, and what page did this happen on? The template works fine for me. Jc86035 (talk) 12:58, 24 March 2018 (UTC)
- @Jc86035:, It happens in all articles that contains the template, such The Internationale, The Star-Spangled Banner, God Save the Queen etc. It also happens in the Template documentation page. I'm using Safari (browser) on macOS. However, in mobile everything is fine, it happens only in desktop version of Wikipedia. Sokuya (talk) 13:06, 24 March 2018 (UTC)
- @Sokuya: Happens in Safari for me as well. I'll file a bug. Jc86035 (talk) 13:15, 24 March 2018 (UTC)
- @Jc86035:, It happens in all articles that contains the template, such The Internationale, The Star-Spangled Banner, God Save the Queen etc. It also happens in the Template documentation page. I'm using Safari (browser) on macOS. However, in mobile everything is fine, it happens only in desktop version of Wikipedia. Sokuya (talk) 13:06, 24 March 2018 (UTC)
What?
edit@Great Brightstar: What was this edit about? No edit summary and the CSS seems to be restricted to one skin. Walter Görlitz (talk) 07:23, 12 December 2018 (UTC)
- Walter, I found a trouble when I see Deutschlandlied on my phone. In infobox, the title looks as this:
"
Das Lied der Deutschen
"
I tried to write a TemplateStyles to fix that, but it doesn't works. So can you help? --Great Brightstar (talk) 08:04, 12 December 2018 (UTC)- I'd have to know where that's happening before I could even start to help. Deutschlandlied only appears as part of the Also known as parameter. Is that where you were seeing this? Walter Görlitz (talk) 16:07, 12 December 2018 (UTC)
- I used Firefox 63 on Android. --Great Brightstar (talk) 14:54, 13 December 2018 (UTC)
- I'm not seeing on Firefox on my Desktop, so I'm not sure how to help. Walter Görlitz (talk) 16:03, 13 December 2018 (UTC)
- Wikipedia uses different skins between desktop and mobile devices, so you won't see the problem on desktop.--Great Brightstar (talk) 13:11, 14 December 2018 (UTC)
- I understand that users can select different skins to use. The problem wasn't that it was my desktop, but that you supplied the wrong string, "Deutschlandlied", which only appeared in one location while you probably meant the title, and after your recent change I assume you mean appears above the infobox. Now that it's clear where the problem is, I can confirm I am seeing it on my mobile device, but the reason is the {{Lang|de|Das Lied der Deutschen|italic=no}} formatting as it does not happen on "O Canada" as it's the only other national anthem that uses quotes that I've found. Will have to investigate more later. Walter Görlitz (talk) 14:24, 14 December 2018 (UTC)
- I found the way to fix. The Minerva skin usually altered the
display
property for<table>
and<caption>
elements, so I setdisplay
property for them to back to their means of proper display. --Great Brightstar (talk) 12:39, 10 November 2021 (UTC)
- I found the way to fix. The Minerva skin usually altered the
- I understand that users can select different skins to use. The problem wasn't that it was my desktop, but that you supplied the wrong string, "Deutschlandlied", which only appeared in one location while you probably meant the title, and after your recent change I assume you mean appears above the infobox. Now that it's clear where the problem is, I can confirm I am seeing it on my mobile device, but the reason is the {{Lang|de|Das Lied der Deutschen|italic=no}} formatting as it does not happen on "O Canada" as it's the only other national anthem that uses quotes that I've found. Will have to investigate more later. Walter Görlitz (talk) 14:24, 14 December 2018 (UTC)
- Wikipedia uses different skins between desktop and mobile devices, so you won't see the problem on desktop.--Great Brightstar (talk) 13:11, 14 December 2018 (UTC)
- I'm not seeing on Firefox on my Desktop, so I'm not sure how to help. Walter Görlitz (talk) 16:03, 13 December 2018 (UTC)
- I used Firefox 63 on Android. --Great Brightstar (talk) 14:54, 13 December 2018 (UTC)
- I'd have to know where that's happening before I could even start to help. Deutschlandlied only appears as part of the Also known as parameter. Is that where you were seeing this? Walter Görlitz (talk) 16:07, 12 December 2018 (UTC)
adopted/until/readopted
edit
A reader got, justifiably, confused at Deutschlandlied by the display order of the parameters |adopted=
, |until=
and |readopted=
. These should in fact be displayed in that order, not as "Adopted", "Readopted", "Relinquished" (the display label for |until=
). I think the template code here should swap label7/data7 and label8/data8, or provide a free-form label where irregular periods can be specified.
While I'm here: the display label for the sound file, "Audio sample", should be changed to "Recording" or "Audio" because it is usually a full recording. -- Michael Bednarek (talk) 13:00, 13 April 2020 (UTC)