Template:Flag icon is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases.
This is the talk page for discussing improvements to the Flag icon template.
This template is within the scope of WikiProject Flag Template, a collaborative effort to improve and manage Wikipedia's flag icon templates and related resources. If you would like to participate or have any questions, please visit the project page.Flag TemplateWikipedia:WikiProject Flag TemplateTemplate:WikiProject Flag TemplateFlag Template articles
Template:Flag icon is within the scope of the Heraldry and vexillology WikiProject, a collaborative effort to improve Wikipedia's coverage of heraldry and vexillology. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.Heraldry and vexillologyWikipedia:WikiProject Heraldry and vexillologyTemplate:WikiProject Heraldry and vexillologyheraldry and vexillology articles
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present.
Flagicon giving incorrect results despite correct code being entered.
Hi, I've been trawling through my local football team's wikipedia pages, and I've noticed that the flagicon for Ireland seems to be...broken? The flagicon code is IRE, which should give the tricolour of Green, White and Orange, but instead it gives the Red on White Saltire of Northern Ireland instead, which, apparently is EIR. I've tried to sort it through both source and visual editing, but nothing changes, leading me to think this is an issue on the template side.
Going to deactivate this for a minute. The change has merit, but I hadn't been tracking this and should have. There are about 1100 pages to investigate for goodness/cleanup (see the top of the page for an explanation), which it would be best to do before we add this here. Are you willing to do that work? Izno (talk) 22:15, 3 August 2023 (UTC)[reply]
No, I'm not willing to do the work. I was proposing the change on a pure CSS reasoning. Personally, I don't even need the fix applied to all instances. Just those that don't even match .content a > img but have the "hack" applied to them and wrecking their aspect ratio (e.g. Switzerland, where the flag icon isn't linked). SocietyBox (talk) 01:55, 4 August 2023 (UTC)[reply]
The base template is {{Country data Example}}, which implies that using a white flag should be for example purposes and not article use. {{flagg|uxx|blank}} might be better, as it shows as well without being linked. I don't really have any opinions on whether the behaviour being described is a good one necessarily, so do not take my suggestion as saying we should leave everything as-is (I am rather apathetic on that count). Once again, though, I am reminded that this entire system is ridiculous and we need a better one (which I am working on, just... slowly).Primefac (talk) 10:51, 15 August 2023 (UTC)[reply]
No, just different organisations with different codes. I believe the technical backend is meant to distinguish the country from the island, but I am not sure (outside of sports) if anyone actually does that. Primefac (talk) 11:38, 28 August 2023 (UTC)[reply]
different organisations? I get confused easily sometimes, it seems fs player was using IRE code for Northern Ireland. I noticed we are quite keeping consistent codes between different templates and was thrown off course! I think I snapped my mask!!! :/ Govvy (talk) 11:45, 28 August 2023 (UTC)[reply]