Template talk:Flag icon/core

fix for alt tag text
Would it be possible to change the code to be as follows:

This change would allow for a "flag name alias" variable to be used in country_data template for countries where "alias" is not the same as "shortname alias". This variable would allow the alt text of flags to appear correctly. For example, in the case of Ireland, the alt text of the flag image would be able to read "Flag of Ireland" not "Flag of Republic of Ireland", as it does at present. The change would also allow related sporting flags (e.g. ) to display alt tags correctly. --sony-youth pléigh 22:04, 22 July 2007 (UTC)


 * Reply for similar question answered at Template talk:Country flagcountry2. Andrwsc 23:38, 22 July 2007 (UTC)

Translate to Country flagicon
editprotected
 * Shouldn't this template be renamed to Country flagicon, the name without the 2 is redirect to this template, so it shouldn't be a problem to translate this template. Locos ~ epraix Beaste~praix 20:10, 24 May 2009 (UTC)
 * It doesn't really matter, does it, since it's only a meta template, and should never be used directly. I'll let Andrew decide that in any case, I'm sure he has this on his watchlist. Amalthea  21:46, 24 May 2009 (UTC)
 * Agree, I'm not sure why this is needed. The downside is that we would add a quarter million tasks to the job queue (I think) by this change, so we need a compelling reason before proceeding. — Andrwsc (talk · contribs) 04:57, 25 May 2009 (UTC)
 * Then, let's keep the things as they are. Locos ~ epraix Beaste~praix 05:02, 25 May 2009 (UTC)

Edit request on 1 June 2013
Please change the size attribute from 22x20 to 24x16 23x15 pixels because most of national flags have ratio 3:2, that means the flagicon will be "full" (for example 🇮🇹 Italy). Many flags have ratio 2:1 (for example Great Britain), that means the flagicon will be in fact 24x12 pixels. And, especially, three national flags — 🇨🇭 Switzerland, 🇻🇦 Vatican City and 🇳🇵 Nepal will be in 16x16 pix size, because they are in 1:1 ratio. These flagicons are currently causing an ugliness of the wikitables, like in this example: So, change the text of this template to this:

Maiō T. (talk) 14:51, 1 June 2013 (UTC)
 * Red information icon with gradient background.svg Not done for now: Hi Maiō, and thanks for the edit request. This would be a fairly major change to the template, and it would affect about 350,000 articles, so I think it needs some more discussion before we implement it. Could you post notices on Wikipedia talk:WikiProject Flag Template and WP:VPT letting users know about your proposed change, and then leave about a week for people to comment? If there are no objections after that then you can reactivate the edit protected template and I can make the change. Best — Mr. Stradivarius  ♪ talk ♪ 13:59, 2 June 2013 (UTC)
 * Hi, Mr. Stradivarius, I'm back! The big  🇻🇦 flagicons are already fixed in their respective country-data templates. But, there is still a problem with narrow flags, like Australia or Canada.

results with current size 22x20px max. created with default template:flagicon 🇮🇹 ratio 3:2, icon size 22x15px 🇷🇺 ratio 3:2, icon size 22x15px 🇦🇺 ratio 2:1, icon size 22x11px 🇨🇦 ratio 2:1, icon size 22x11px

results with proposed size 23x15px max. created with the template:flagicon/sandbox ratio 3:2, icon size 23x15px ratio 3:2, icon size 23x15px ratio 2:1, icon size 23x12px ratio 2:1, icon size 23x12px

Practically all contributors agree with the icon height of 15 pixels, as you see here. So, now is the right time to modify the template to 23x15 px. Thanks, Maiō T. (talk) 00:32, 30 June 2013 (UTC)
 * Yes check.svg Done. Thanks for all your work, and sorry that this has been sitting open for so long. Best — Mr. Stradivarius  ♪ talk ♪ 12:15, 8 July 2013 (UTC)