Template talk:Flag IOC

Name parameter
Why doesn't parameter work with this template? Several Olympic Parade of Nations pages state that "The names are given in their official designations by the IOC.", which is not true, but would be true if the parameter worked. August-54 (talk) 16:27, 26 March 2021 (UTC)
 * What do you mean? Primefac (talk) 16:29, 26 March 2021 (UTC)
 * For example, in the 2004 Summer Olympics national flag bearers page, code shows, even though the name shown should be "Syrian Arab Republic" (IOC's official designation for this country). August-54 (talk) 16:53, 26 March 2021 (UTC)
 * Is it likely that a country would have two (or more) official names over the years? For example, XYZ country is named "Republic of XYZ" in 2004 but then "XYZ Republic" in 2008, but normally just "XYZ". I ask because I'd rather hard-code them and if there's only one official designation that would make the coding easier. Primefac (talk) 20:19, 26 March 2021 (UTC)
 * There are some cases that there have been multiple official names. Libya's official IOC name today is just "Libya", while in the Muammar Gaddafi era (from 1977 to 2011) it was "Libyan Arab Jamahiriya". August-54 (talk) 12:55, 27 March 2021 (UTC)

Singapore
Hello! Can you check regarding the Singapore flag at the 1956 Summer Olympics. I think they used the flag until 1959. Yours sincerely, Sondre --88.89.14.227 (talk) 21:59, 17 March 2022 (UTC)
 * That is the flag at Singapore at the 1956 Summer Olympics. Primefac (talk) 13:23, 10 May 2022 (UTC)

Mongolia
Hello! Can you check regarding the Mongolian flag at the 1992 Winter Olympics?. I think they used the new flag without the socialist star. . Yours sincerely, Sondre --88.89.14.227 (talk) 16:00, 21 March 2022 (UTC)
 * https://www.youtube.com/watch?t=1999&v=q2JE3ZDgpFY shows the starred version. Primefac (talk) 13:23, 10 May 2022 (UTC)

Philippines
Hello! Can you check the Filipino flag at the 1936 Summer Olympics. Mainly because they switched to their new flag in March of that year. Yours sincerely, Sondre --88.88.4.178 (talk) 14:38, 9 May 2022 (UTC)
 * ✅. Primefac (talk) 13:27, 10 May 2022 (UTC)

Flag of South Africa in 1928
Hello! Can you check regarding the South African flag at the 1928 Olympics?. I see that you use the Red Ensign for the Dominion but in May of that year got the flag until 1994. Yours sincerely, Sondre --88.88.4.178 (talk) 20:09, 10 May 2022 (UTC)
 * ✅. Primefac (talk) 20:20, 10 May 2022 (UTC)

Bahamas
Hello! Can you check regarding the Flag of the Bahamas at the 1964 Summer Olympics?. I think they used the flag until 1973 during that games?. Yours sincerely, Sondre --88.88.4.178 (talk) 20:46, 10 May 2022 (UTC)
 * Genuinely not sure what you're asking about here. Primefac (talk) 08:42, 21 June 2022 (UTC)

Flag of South Africa in 1912
Hello! Can you check regarding the South African flag at the 1912 Summer Olympics?. I think they used the flag from 1910 to 1912. I see that the flag from 1902 to 1910 during that games. Yours sincerely, Sondre --88.88.4.178 (talk) 12:50, 15 June 2022 (UTC)
 * ✅, as the flag was adopted in 1910, so it would seem reasonable that it was in use at the Olympics in 1912. Primefac (talk) 08:46, 21 June 2022 (UTC)

Hungary
Hello! Can you check regarding the Hungarian flag at the Olympics?. I think they used the flag until 1918 in the Olympic Games until 1912?. Yours sincerely, Sondre 88.88.4.178 (talk) 11:56, 30 June 2022 (UTC)
 * I don't know which flag, I don't know where I would check. If you want to make requests for changes that aren't obvious (e.g. "they changed the flag in 2000 but the template doesn't show the change"), especially for these historical changes, please provide evidence. "I think they..." is not adequate. Primefac (talk) 07:49, 4 July 2022 (UTC)

Template-protected edit request on 21 August 2022
File:Flag of the Soviet Union (1936–1955).svg has been deleted. Can someone replace it with a suitable alternative? There are places where it is very difficult to do so manually. Sumanuil. 02:41, 22 August 2022 (UTC)
 * Red information icon with gradient background.svg Not done for now: It has not been deleted, there was just some oddities with the redirect. That should be fixed (for now). Primefac (talk) 09:22, 22 August 2022 (UTC)

Adaptation in other language
Hello. I'm trying to use this template in my local Wikipedia (id.wikipedia.org). However, I find some issues (as repeatedly reported by 88.89.14.227), regarding the usage of historical flag. I guess that the issues is related with naming convention. In Bahasa Indonesia, "1924 Winter Olympics" is translated as "Olimpiade Musim Dingin 1924" ( format - in contrast to English which user  format). Is there any clues from either this template or any module that should be changed? Regards. Medelam (talk) 07:58, 11 October 2022 (UTC)
 * You would have to switch around the parameters, either explicitly or in the template that is invoking the module. The module currently uses unnamed parameters, e.g., so if you use the same module you would have to change your flagIOC template to use  . Primefac (talk) 09:12, 11 October 2022 (UTC)
 * I think it's not about how the template is transcluded. Perhaps something about id:Modul:Country alias need to be slightly changed. At the moment, " " works there, but when I translate it, it is still not working. Regards. Medelam (talk) 09:58, 11 October 2022 (UTC)

Hello there! Regarding the Malaysian template for flagIOC i have reported many times about issues regarding historical flags there too. They use different types of formatting in the Malay and English language. I don't think transclusion is a problem. It is maybe parametering that is the issue it uses unnamed parameters. I think the Module in malaysian needs to be changed too. See what you can do about that and maybe communicate with the User:CyberTroopers. Yours sincerely, Sondre 88.88.4.178 (talk) 14:35, 12 October 2022 (UTC)

Olympic flag for different Olympic games
Hello! Can you check regarding the Olympic flag which is used in the Country alias module?. I think they have used three different Olympic flags since 1920. In the 1980 Olympics for instance the countries which marched in under the Olympic flag used the flag until 1986 and in the 1992 Olympics the countries used the flag until 2010. Yours sincerely, Sondre 88.88.4.178 (talk) 15:03, 12 October 2022 (UTC)
 * I'm not quite sure what you mean. I do see that they have physically had a few different "official" flags, but they are all the same design, no? The difference is just that it is the one flying over the Games itself. Primefac (talk) 18:22, 12 October 2022 (UTC)

Edit request 30 October 2022
Some of the Afghanistan flag files used here have been deleted from Commons. Can we get them removed/replaced? Sumanuil. 02:32, 30 October 2022 (UTC)
 * Yes, but I need to know which ones, and which flags will replace them. Primefac (talk) 10:04, 30 October 2022 (UTC)
 * It's the same ones that had to be removed from Template:Country data Afghanistan, which would be Flag of Afghanistan (1974–1978).svg, Flag of Afghanistan (1978–1980).svg, and Flag of Afghanistan (1987–1992).svg. As for replacements, I'm not entirely certain. I don't know enough about the country to make that decision on my own. Sumanuil. 22:50, 30 October 2022 (UTC)
 * Yeah, I got an edit request at country alias as well, so I've dealt with it for now. Primefac (talk)

Flag of Afghanistan at the Olympics
Hello! Can you check regarding the Afghan flag for the 1988 Summer Olympics and also from 1974-1978 and from 1978-1980. In the 1988 Summer Olympics they used the flag until 1992 also the same which was deleted a week ago. Yours sincerely, Sondre 88.88.4.178 (talk) 10:30, 6 November 2022 (UTC)
 * The flag was deleted, so we cannot use it, and there is no reasonable replacement other than the flags that came before or after those flags that were deleted. Primefac (talk) 11:03, 7 November 2022 (UTC)

Singapore (2)
Hello! Can you check the Singapore flag for the 1952 and 1956 Summer Olympics. I think they used the flag from 1952 until 1959?. Yours sincerely, Sondre 193.161.216.9 (talk) 15:38, 13 November 2022 (UTC)
 * Didn't I already answer this in this section above? Primefac (talk) 17:04, 13 November 2022 (UTC)

Afghanistan
Hello! Can you check regarding the Afghanistan flag at the 1988 Summer Olympics i think they used the flag until 1992?. Yours sincerely, Sondre 193.161.216.9 (talk) 15:48, 13 November 2022 (UTC)
 * You asked about this a week ago. Primefac (talk) 17:02, 13 November 2022 (UTC)

Module:FlagIOC
Hello! Is it possible for you to create a module for flagIOC with flags for both Winter and Summer Games?. That would have been useful so you can have it for the years between 1924 and 1992 and which flags were used during that games. Yours sincerely, Sondre 88.88.4.178 (talk) 11:07, 26 November 2022 (UTC)
 * Genuinely out of curiosity, when would that ever be used? If I'm interpreting your query correctly, you would put in the code for a country, and get two flags, e.g. [[File:|22px]] . What use would that be, especially since for what I am assuming are all but a very small number of edge case (and the 1980/84 Boycott kerfuffles) you would just get two of the same flag. Primefac (talk) 12:19, 26 November 2022 (UTC)

Edge cases
These edge cases may affect several related templates, so I'm not sure which module(s) would be modified, but I'll leave that up to whomever examines this.

This means that they should have File:Flag of the United States (1908–1912).svg. All other American athletes at the 1908 Summer Olympics only competed 4 July or later, and they are currently correctly displaying File:Flag of the United States (1912-1959).svg. Rowing007 (talk) 20:44, 17 March 2023 (UTC)
 * , etc., currently displays File:Flag of the United States (1896–1908).svg, which is only correct when referencing Jay Gould II and Charles Sands, who competed in Jeu de paume at the 1908 Summer Olympics, because both of those athletes only competed before July 4. All other American athletes at the 1908 Summer Olympics competed after July 4, so they would need to have File:Flag of the United States (1908–1912).svg. Yes, United States at the 1908 Summer Olympics states despite receiving the 46th star on July 4, 1908 after Oklahoma gained statehood, the 45-star flag was used in the early days of the games, but I think purely based on the dates, the flags should be corrected on here.
 * Sweden, and all 39 Swedish athletes who competed at the 1906 Intercalated Games should be using File:Flag of Sweden (pre-1906).svg), as the Games were held from 22 April to 2 May 1906, and Sweden only adopted its current flag (File:Flag of Sweden.svg) on 22 June 1906. From 1 November 1905 to 21 June 1906, Sweden used File:Flag of Sweden (pre-1906).svg.
 * Regarding the United States at the 1912 Summer Olympics, the following American athletes only participated 3 July or earlier:
 * Alfred Lane
 * Allan Briggs
 * Charles W. Billings
 * Cornelius Burdette
 * Daniel McMahon (sport shooter)
 * Hans Roedder
 * Harold Bartlett
 * Harry Adams (sport shooter)
 * Harry Edward Sears
 * John Dietz
 * John H. Hendrickson
 * Peter Dolfen
 * Reginald Sayre
 * Theodore Pell
 * The following American athletes participated in events at the 1908 Summer Olympics both 3 July or earlier and 4 July or later, meaning they competed under both File:Flag of the United States (1908–1912).svg and File:Flag of the United States (1912-1959).svg at the same Olympic Games:
 * Carl Osburn
 * Edward Gleason
 * Frank Hall (sport shooter)
 * Frederick Hird
 * James Graham (sport shooter)
 * John Jackson (sport shooter)
 * Ralph Spotts
 * Walter W. Winans
 * Warren Sprout
 * William Leushner
 * William Libbey
 * William McDonnell
 * I've done SWE because it's easy. The others I'm going to have to dig deeper into, but it is very likely that what you ask cannot be done - our granularity for flag displays is yearly, so if a country changed a flag halfway through a Games then we use the flag they used in the Opening Ceremony (and we cannot change the flag per-person since the link is with their country). Primefac (talk) 13:36, 18 March 2023 (UTC)
 * Thanks for looking into it! For Sweden, it looks like  and   are still using the incorrect flag for the 1906 Intercalated Games. As for the US cases, maybe FlagIOC2athlete is a possible avenue? Rowing007 (talk) 15:09, 18 March 2023 (UTC)
 * FlagIOC2athlete is the same template with different parameters (which is why the talk page redirects here). flagteam and medals table use countrydata, so they'll have to be dealt with at country data SWE. Primefac (talk) 15:37, 18 March 2023 (UTC)

AIN Flag for Paris 2024
Russian AIN (Individual Neutral Athletes) have been banned from competing under the olympic flag, yet their team is still shown as having the olympic flag on pages that use template. 

Recommend to create separate AIN distinction with AIN emblem as flag, as noted in



EVaDiSh (talk) 23:38, 6 January 2024 (UTC)
 * We don't have a flag for AIN yet; as I said in a similar discussion there are no clear guidelines for what the flag looks like so I can't even make one in the interim until an "official" flag image is posted.
 * Also, AIN does have its own distinction, as evidenced by the fact that using AIN populates all of the relevant fields correctly; the Olympic flag is a reasonable enough placeholder for places where flagIOC is being used. Primefac (talk) 10:08, 7 January 2024 (UTC)

Czechia
I noticed that the Czech Republic (CZE, 45) has the (long) political name of the country listed. There should be a (short) geography name instead. The IOC already uses this name. Vasek7 (talk) 22:32, 23 April 2024 (UTC)
 * Bit of a cart-before-the-horse situation, we can't change the template data until the article titles are changed, which will require consensus (and yes, even if the IOC uses it, people will still argue against, as seen here). Primefac (talk) 05:38, 24 April 2024 (UTC)
 * I seem to be running into a chicken and egg problem. I noticed that the article 2024 Summer Olympics contains a table with participating countries, where is incorrectly an official country name (Czech Republic) instead of its short name (Czechia). I tried to fix it, but the error is already in the template. The template cannot be fixed without changing the title of the article. The title of the article cannot be corrected because it is not consistent with other articles on wikipedia that still use the official name extensively. Vasek7 (talk) 21:40, 24 April 2024 (UTC)
 * The problem is that the article is Czech Republic and Czechia is a redirect. In other words, the current situation is that the WP:COMMONNAME is believed to be Czech Republic. That would need to be changed before looking at a template. Start by reviewing the lengthy discussions at Talk:Czech Republic and think about whether something has changed that would warrant starting another discussion. Johnuniq (talk) 02:06, 25 April 2024 (UTC)

Bug report
AUS displays as GBR in  in Tennis at the 1896 Summer Olympics. Can it get fixed, please? Qwerty284651 (talk) 22:10, 30 June 2024 (UTC)
 * It appears to be properly rendering (in both locations) as AUS (linking to Australia at the 1896 Summer Olympics). What's the issue? Primefac (talk) 01:14, 1 July 2024 (UTC)
 * This is the issue. The flagicon renders as Great Britain, i.e. GBR, on my end instead of AUS. Qwerty284651 (talk) 01:44, 1 July 2024 (UTC)
 * Fixed it temporarily with . Not the best solution but a solution. Qwerty284651 (talk) 03:58, 1 July 2024 (UTC)
 * Um... the flags shown by this template family are the historic flag used at that games, and per Australia at the 1896 Summer Olympics the athletes used the Union Jack. It is correct. Primefac (talk) 10:37, 1 July 2024 (UTC)
 * Okay, that explains it. Thanks. Qwerty284651 (talk) 10:45, 1 July 2024 (UTC)
 * Okay, that explains it. Thanks. Qwerty284651 (talk) 10:45, 1 July 2024 (UTC)