# Template talk:Infobox anthem

## New features

I 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)

@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 (talkcontribs), 17:15, 6 February 2018 (UTC)

I 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

If 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? - ${\displaystyle \mathrm {S} }$ ${\displaystyle \mathrm {Solberg} }$ ${\displaystyle \mathrm {J} }$ 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)

## Coding Problem - Listen box

I 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 (CGS) 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

I've reverted this edit again for a number of reasons:

1. 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.
2. Following on from that, it removed the HTML <caption> from the table. This is a bad idea accessibility-wise.
3. 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.
4. 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.
5. 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?

Would 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

some 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?

I 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

Why 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

The "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)

## Tchaikovsky

I 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

I 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 (talkcontribs), 01:02, 6 February 2018 (UTC)

DoneKpalion(talk) 11:47, 7 February 2018 (UTC)
Thank you, exactly what I wanted. – Illegitimate Barrister (talkcontribs), 13:20, 7 February 2018 (UTC)

## Semi-protected edit request on 10 February 2018

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 (talkcontribs) 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)