Wikipedia talk:WikiProject Flag Template/Archive 5

Template:Country data Nazi Germany
As I understand things the flag the current template shows is the flag of the National Socialist German Workers' Party with a centred disk but the National State flag had an off-centred disk. There should probably also be an option for the striped "Imperial" Flag.

See also Flag of Nazi Germany

It would be nice if there was at least an option for the national flag (personally I think it should be default and the NSDAP flag an option), could somebody who knows how these templates work take a look please?

There is more info on the template talk page about the flags. -- The frood (talk) 18:47, 13 May 2012 (UTC)


 * Fixed, Thank you -- The frood  (talk) 14:03, 19 May 2012 (UTC)

How about using Country Data for Coat of arms?
Coat of arms could benefit enormously from the Country Data scheme I think. Do people here agree this is a good idea? Especially when it comes to the shifting arms of each country throughout the centuries (the arms of Spain, the UK and Sweden for example).

Obviously, heraldry as a means to identify geographical entities is a centuries-old tradition. For articles such as Siege of Vienna, it is probably more natural to show the national coats of arms than flags that may or may not have been used in the late middle ages.

If the CoA template is to be implemented in Country Data, then i hope we may get a consensus for having escutcheons only (with the possible addition of surmounting crowns for monarchies or mural crowns for cities etc.). This principle would ensure tidiness and visibility even at a low resolution, and does satisfy the rules of heraldry: Allowing only for escutcheons to be displayed would also discourage people from adding national great seals for example, stuff that may represent countries but which are useless at 20px and therefore shouldn't be displayed in lists anyway. - Thanks. SSJ t 01:12, 20 May 2012 (UTC)

Template:Country data Valencian Community
Please unprotect this template or change flag to Commons file File:Bandera de la Comunidad Valenciana (2x3).svg. Malarz pl (talk) 07:17, 20 June 2012 (UTC)

Country data - alias parameter
I found elsewhere that Utrecht was linking to Utrecht, the city, not to Utrecht (province). The flags are different, so it was clearly an error: therefore I. Then I found that it was a and that the editor who did it made changes to 12 other templates. Is there some ongoing general change - please could project members review these? -- Red rose64 (talk) 18:41, 26 June 2012 (UTC)

U.S. Navy "Don't Give up the Ship" Flag
Hello -

Could the various flag templates be made to work with the US Navy flag of the War of 1812's Battle of Lake Erie? My work around is this:

United States Navy or United States Navy

but my sense is that there's a better way. Is there some place I need to display/discuss the image to facilitate this? For instance here: Flags_of_the_United_States_Armed_Forces or here: Flag of the United States Navy (going to do this anyway &#9786; )

I would think syntax like could grow to , which is also to say that  should pull from here:  Jack of the United States. Thanks. JMOprof (talk) 07:42, 24 May 2012 (UTC)
 * The convention at WP:MILHIST and WP:SHIPS is to use navel ensigns, not naval jacks. — Andrwsc (talk · contribs) 16:54, 4 June 2012 (UTC)
 * Thank you. Can you point the way to where those conventions are articulated.  I see them honored often in the breach.  JMOprof (talk) 19:16, 26 June 2012 (UTC)
 * WP:SHIPFLAGS for ships; not sure about military history. -- Red rose64 (talk) 20:22, 26 June 2012 (UTC)
 * Thanks...infobox military person is all over the place. "Allegiance" is usually flag of the era, but "Service" has been service flags, DoD departmental seals or other representations.  I advocated above that the Jacks be used for the Navy, and I have placed such myself on a "roll my own" usage.  JMOprof (talk) 01:03, 27 June 2012 (UTC)
 * I think that the main reason that the ensign is preferred is that when a ship is at sea, it is more likely to be flying the ensign than the jack. -- Red rose64 (talk) 11:38, 27 June 2012 (UTC)
 * I get that part. But we're talking icons, and an icon that's just the field of stars is more intelligible than ~1/6 of an icon that also has 13 stripes.  One man's opinion &#9786; JMOprof (talk) 20:35, 27 June 2012 (UTC)

Flags for conlangs
A number of Constructed languages have flags. Can I add images of these flags to this project? -- Evertype·✆ 10:08, 16 July 2012 (UTC)
 * What would the flags be used for? These flag templates are mostly for national flags to represent countries, and we already have a problem of them being extended to other, inappropriate uses. (For instance, people using the St George's cross to mean "english language" or "english speakers"). Could you clarify how the flags would be used? bobrayner (talk) 10:19, 16 July 2012 (UTC)
 * At List of language regulators (for instance) there is a table which would be easier and quicker to read if the flags were used. They could also be used in various templates and other contexts used by the Conlang/Auxlang projects. -- Evertype·✆ 12:58, 16 July 2012 (UTC)
 * I think some of the existing flags in that list are symptomatic of problems we have with language and nationality; it's very easy to imply neat 1:1 relationships between state and language which do not really exist in reality. For instance, the table has a single row which includes flags of some (not all) Arabic-speaking countries but the single "regulator" it links to is a list of different organisations in different countries which each call themselves "Academy of the Arabic Language". Afrikaans, influenced by the Taalkommissie, is spoken in Namibia; but there's no Namibian flag in the table, which might mislead readers - but including a namibian flag would be even more misleading because most Namibian households prefer a different language. The second most common language in Wales is represented with a little welsh flag picture; the most widely spoken language in Wales does not appear in the table. And so on...
 * Paradoxically, I think conlangs are less likely to have problems like this because a conlang is likely to be developed and used by a far smaller group (or even just one person) and association of a flag with that group is much clearer - there's less scope for confusion with national boundaries. Nonetheless, we should take great care. bobrayner (talk) 14:29, 16 July 2012 (UTC)
 * Gosh I hate it when people go in and delete stuff from tables without discussion. Why couldn't the flag refer to the place in which the language regulator has its offices? I reverted that massive deletion because there should be serious discussion about it. The table was friendly and useful and attractive with its flags! Flags are typically used to indicate languages, for instance, in the Mac OS keyboard menu. (I can send a screen shot if you're not familiar with that.)
 * In any case there are not many conlangs and many of them have flags. So, can I add images of these flags to this project? -- Evertype·✆ 17:49, 16 July 2012 (UTC)

Template:DE-BY
Template:DE-BY has been nominated for deletion. It seems to be a non-standard flag template -- 76.65.131.160 (talk) 03:48, 23 July 2012 (UTC)

Some lacking data (aliases, military)...
Some countries has aliases by IOC and FIFA but some of them are not added in their. I think they should be added.

instead of, by the way.) — Andrwsc (talk · contribs) 18:33, 8 August 2012 (UTC)
 * IOC names not included in yet

Nassau & Saxe-Coburg-Gotha
Hi, Country data Nassau and Country data Saxe-Coburg-Gotha need some love from someone familiar with the intricacies of the country data templates, please. :) I assume the former should be reworked to somehow represent the flags from the different forms of Nassau (state), and the aliases and possibly pagenames are wrong as well. Amalthea  13:41, 2 October 2012 (UTC)
 * Thanks, Andrew. :) Amalthea  11:45, 5 October 2012 (UTC)

Privy council
Can an administrator please add the appropriate Burmese flag to Template:Country data Burma so that this can be represented in the above article?GSTQ (talk) 12:27, 2 October 2012 (UTC)
 * Use . — Andrwsc (talk · contribs) 17:53, 12 October 2012 (UTC)

Taiwan/Chinese Taipei
Hi, is it possible to have Chinese Taipei flag variant for Taiwan and Republic of China templates ? It would be useful when Taiwan hosts international sport tournaments. because the country "Chinese Taipei" doesn't exist, on other hand IOC doesn't use Taiwan's flag. Mohsen1248 (talk) 10:38, 12 October 2012 (UTC)
 * What's wrong with the existing Template:Country data Chinese Taipei? What are you trying to do?  Thanks — Andrwsc (talk · contribs) 17:54, 12 October 2012 (UTC)
 * Hi, nothing really, but this template goes to Chinese Taipei. when we use this template for Taiwan/C.Taipei, as host nation for a sport event. like this it doesn't make sense because Chinese Taipei is not a country. but also I don't think we can use this one because IOC / International federations don't recognize Taiwan and this flag. personally I prefer using ROC template but with Chinese Taipei flag. currently I have a problem with a user about this page FIBA Asia Cup (and two more pages). you can check the revision history. I'm just trying to find a solution. I already had the opposite of this discussion with another user who convinces me that TPE flag is better for such pages. even if I let it go, another user will change it. what do you think in this case ? Mohsen1248 (talk) 18:21, 12 October 2012 (UTC)
 * Well, I would say that "Chinese Taipei" isn't a nation, it is a team (whether that is the football, basketball, Olympic, etc. team). I don't see any reason why 🇹🇼 Taiwan shouldn't be used for the host nation field of the infobox, and  is used for the team, in the same article. — Andrwsc (talk · contribs) 19:49, 12 October 2012 (UTC)
 * OK good, Thanks for your replay. Mohsen1248 (talk) 20:11, 13 October 2012 (UTC)

South Korea
Hi,

It's been brought to my attention that the flagicon for South Korea is not working. Prisonermonkeys (talk) 07:41, 11 October 2012 (UTC)

Now the flag icons of Chile, Paraguay, Uruguay and Romania are also not being displayed. There has been no recent change to these flags' image files. Does anyone know what is going on? Heitordp (talk) 12:35, 16 October 2012 (UTC)

Some more information. I've tried this on a couple of different browsers, same result. Whatever this is, it's new: I regularly look at the international sports results but haven't seen this before. Perhaps those that _can_ see the flags can do so because of stored versions in their cache. The image for Romania for instance points to upload.wikimedia.org/wikipedia/commons/thumb/7/73/Flag_of_Romania.svg/22px-Flag_of_Romania.svg.png, If I navigate there I see a message saying "it cannot be displayed because it contains errors". If I do the same for, say, the German flag, I see the little German flag... Also, the 15px Swiss flag appears to have the same problem, but the 22px Swiss flag is okay. Ordinary Person (talk) 23:40, 16 October 2012 (UTC)
 * Yes, there are problems on Commons with some cached png files for certain flag/size combinations. There is nothing that can be fixed on en.wikipedia to resolve the problem; we need to wait for the Commons issues to be resolved. — Andrwsc (talk · contribs) 05:04, 17 October 2012 (UTC)
 * Thanks for that info Ordinary Person (talk) 03:29, 19 October 2012 (UTC)

All flag icons are being displayed now. It appears that the problem has been solved. Heitordp (talk) 03:28, 21 October 2012 (UTC)

Chile's and South Korea's flags are GONE.
Flags of Chile and south korea are blank. the flags are from country data template from automatically generated from wiki. They can not be changed from users. so who can fix this?

http://en.wikipedia.org/wiki/Template:Country_data_Chile http://en.wikipedia.org/wiki/Template:Country_data_South_Korea

the template has blank small flags of chile and south korea — Preceding unsigned comment added by Nozix (talk • contribs) 21:40, 17 October 2012 (UTC)

South Korean flag fixed, but not the Chilean flag (still blank slots on the country data template)MasashiInoue (talk) 22:58, 17 October 2012 (UTC)

Korea bias
Why does Template:Country data Korea link to SOUTH Koreas flag? Thats highly pov as its missing North Korea.

Also the wording for the Nazi Germany flag is pov. We dont use party names nor was the official state named Nazi Germany. Perhaps Third Reich is more neutral

Just remembered, in the past cos, unlike other countries, links to some harry potter story and not costa rica. Can we sort that too?Lihaas (talk) 12:41, 18 November 2012 (UTC)
 * Template:Country data Korea displays the flag of the Korean Empire prior to 1910, and is the most appropriate image for a link to the Korea article. It is not the same image as the Taegeukgi used in Template:Country data South Korea.  The "Korea" template is intended for use in articles such as Taekwondo, where the country of origin predates the modern Korean states.  However, I also suspect that the template is misused, and many instances of  should be changed to, for example.
 * I suggest you propose renaming the Nazi Germany article, instead of Third Reich being the redirect. If successful, then the country data templates can be renamed to follow the article names.
 * The two standard country codes for Costa Rica are CRI and CRC, so you can use either of those template names if you wish. I have no idea what you are talking about with Cos; the page history of that template (deleted in 2008) indicates it was related to the cosine function. — Andrwsc (talk · contribs) 19:02, 19 November 2012 (UTC)

Saint Martin
Hi, could someone add to the template ? some organizations use this flag for Saint Martin. Example. Mohsen1248 (talk) 14:37, 3 December 2012 (UTC)
 * ✅ — Andrwsc (talk · contribs) 17:18, 13 December 2012 (UTC)

Flag of Palestine
Currently the Template:PSE redirects to Palestinian territories, however this is now the official flag of the State of Palestine, now a non-member state of the UN. In my opinion, we should replace "Palestinian territories" with "State of Palestine".Greyshark09 (talk) 07:32, 9 December 2012 (UTC)
 * Have the ISO changed the PSE to refer to something other than "Palestinian territories, occupied"? If you want to just show "Palestine" for the time being you could use :  State of Palestine CMD (talk) 02:50, 13 December 2012 (UTC)
 * Good point, i'm curious however how much time it takes for ISO to update their files.Greyshark09 (talk) 10:59, 13 December 2012 (UTC)
 * Or use, which is preferable to using the "name" parameter and shorter markup. — Andrwsc (talk · contribs) 17:14, 13 December 2012 (UTC)
 * Why is that preferable? (Honest question, so far I've learnt that the flagicon template has a different alttext from the flag template, but very few other differences.) CMD (talk) 17:33, 13 December 2012 (UTC)
 * Flagcountry uses a display name that is defined inside the template itself. For example, Template:Country data State of Palestine includes the combination of  and   to render a link that is equivalent to  . Using the   parameter of flag accomplishes the same thing, but the display name of "Palestine" is now coded into the markup of the article(s) that use that construct, rather than coded into the markup of the template.  I just think it's a better design to use the template, so that if anything needs to be changed, one edit to the template will update all the articles, rather than having to find and update individual articles.  I'm a software engineer in real life, so I suppose that's why I find the template method more appropriate. — Andrwsc (talk · contribs) 21:53, 13 December 2012 (UTC)

"Come and Take It" flag
I added the Battle of Gonzales flag (a/k/a the "Come and Take It" flag) as a variant for the Republic of Texas. While it was never an official flag of the Republic, it does have some historical significance. (And, truth be told, I wanted to use the flag for WC2013.) I'm pretty certain I didn't FUBAR the template edits, but a second set of eyes would be helpful. Thanks,  caknuck  °  needs to be running more often  04:45, 31 December 2012 (UTC)

🇬🇬 [[guernsey|Guernsey]] and 🇯🇪 [[jersey|Jersey]]
Their official names are the Bailiwick of Guernsey and the Bailiwick of Jersey, respectively, but the data templates with those names do not exist yet. I think the templates (Country data Bailiwick of Guernsey and Country data Bailiwick of Jersey) should be made and the full names should be added to the current templates (Country data Guernsey and Country data Jersey) as redirect aliases.

Sometimes use of the full names is useful. Both Guernsey and Jersey have the narrow and broad senses. For example, "Guernsey" indicates only the main island of Guernsey in a narrow sense and the whole Bailiwick of Guernsey including the main island, Alderney,  Sark,  Herm, Brecqhou, etc. in a broad sense. Likewise, so does Jersey. Thus, when we use the full names, we can specify the broad meanings excluding the narrow meanings. --Wikipean (talk) 07:19, 14 February 2013 (UTC)
 * Just use  for 🇯🇪 Jersey.  The target article is named Jersey, so the existing country data template is correct. — Andrwsc (talk · contribs) 18:25, 14 February 2013 (UTC)

Flag replacement
Country data Santa Catarina and Country data Rio de Janeiro need to be updated with File:Bandeira de Santa Catarina.svg and File:Bandeira do estado do Rio de Janeiro.svg respectively. Regards; Felipe Menegaz 22:42, 10 March 2013 (UTC)

How do I find the list of countries and codes, to report a problem?
The code  produces a flag of the Netherlands Antilles. renders that same flag, despite the fact that the List of IOC country codes shows ANT as the code for Antigua and Barbuda. calls, but both templates are very short. Assuming that this is a problem with a list of countries and codes, where can I find that list, to make appropriate changes? Thanks. Peter Chastain (talk) 22:29, 22 March 2013 (UTC)
 * The problem is that "ANT" is ambiguous—it was the ISO 3166-1 alpha-3 code for Netherlands Antilles (until Dec. 2010), but it is the IOC country code for Antigua and Barbuda. The decision was made about 8 years ago that the ISO codes have priority over the IOC codes when there is a conflict, so that's why Template:Country data ANT is a redirect to Template:Country data Netherlands Antilles.  Use the ISO code or use the complete name for clarity (e.g. ) if that helps; you're not forced to use codes with these templates.  — Andrwsc (talk · contribs) 20:24, 25 March 2013 (UTC)

Mariana Islands
Is there a flag for the Mariana Islands? I realize they are a U.S. territory, but some entities (e.g., the International Softball Federation) count it as a "country". Peter Chastain (talk) 07:46, 23 March 2013 (UTC)


 * I believe their full name is the Northern Mariana Islands, and they do have their own flag. Ը२ձւե๓ձռ17 03:20, 24 March 2013 (UTC)
 * Use Template:Country data Northern Mariana Islands, with the letter ISO 3166-1 alpha-3 country code "MNP". If you only want to display "Mariana Islands", use that as the   parameter with most flag template calls.  (e.g.   → . — Andrwsc (talk · contribs) 22:45, 26 March 2013 (UTC)

Using Lua to draw 'sprites'
I scribbled up a Lua module Module:Sprite (see the talk page for a sample) which can take a graphics file containing many flags, and clip it to show just one of them. I don't know, but it is possible that using this technique within the flag template would speed display - see. The idea is that the browser loads ONE image resource for an article with 170 flags, and just processes it to yield each of the individual flags. The caveat is that this goes via the Wiki image display rather than simply clipping an img src, and I don't actually know that there will be any speed advantage at all. :(

Actually implementing it mostly faces the barrier of having someone find all the flags of each particular height (the width should always be the same) and tile them all together in a single file so that it is sanely possible to clip out individual flags correctly... Wnt (talk) 04:15, 25 March 2013 (UTC)
 * Actually I was thinking to do it other way. When we have property inclusion support from Wikidata, then we will be able to store all needed data like flags and names there, and implement flag templates so that they use that data. --DixonD (talk) 17:18, 26 March 2013 (UTC)

Flag of Saint Helena, Ascension and Tristan da Cunha
Please read Template talk:Country data Saint Helena, Ascension and Tristan da Cunha. --Wikipean (talk) 17:57, 8 April 2013 (UTC)

To Admins: Please add some military flags
Please add the flags in the column "Suitable flag/ensign" into the data templates. I can't understand why they are not included in the templates. --Virtpedia (talk) 17:55, 10 April 2013 (UTC)

Country data Unknown
See Templates for discussion/Log/2013 May 8 for a discussion about Template:Country data Unknown. — Andrwsc (talk · contribs) 17:51, 8 May 2013 (UTC)

Template:FlagiconLua started
Hi, I was looking for an excuse to try Lua in a template and, well, this weekend I have started working on Template:FlagiconLua. The protoype works so far:

gives

The idea is to cover the same functionality than Template:Flagicon and allow a common approach to any Wikimedia project (or any MediaWiki for that matter) in any language. There are three pieces to look at:
 * Template:FlagiconLua is the easy part. Currently only takes one parameter for the name of the territory.
 * Module:Sandbox/QuimGil/Flagicon contains the logics to find the flag and the link according to the parameter introduced, including a translation if it's available.
 * Module:Sandbox/QuimGil/FlagTranslations contains the table of flags, organized according to the ISO 3166 structure. Projects must populate the empty values in the table with their locales. Now there are only territories by name, but at some point the 3 letter codes will be supported as well.

That's it. There is no need for subtemplates for each flag and all projects could have the same set of flags supported in exactly the same way by staying in sync with these 3 files.

You can see the flag icons in action at Module:Sandbox/QuimGil/FlagTranslations/doc. Place your mouse over the first flags (Afghanistan, Åland, Albania...). I still need to think whether the English version should also have the locales or we can save the work for the default where the name fot he flag and the article linked is the same. Your feedback is welcome, and you involvement too. What do you want to see working next? In the meantime I will keep adding flags of ISO 3166-2 subdivisions to the table.--QuimGil (talk) 06:51, 3 June 2013 (UTC)
 * There is a potential of saving a lot of manual work while gaining a lot of consistency by using Wikidata data. For instance, given "Andorra" = Q228, thanks to Wikidata existing data we could establish automatically the connections with the ISO codes, the flag in Commons and the translations for all Wikimedia projects. I have asked whether this is possible to implement at wikidata:Help_talk:Lua.--QuimGil (talk) 18:49, 3 June 2013 (UTC)
 * Alpha3 codes are now supported, and therefore the coverage of current versions of ISO 3166-1 flags should be complete. Going for subdivisions now, although I wish I could find a comprehensive list of flags of subdivisions currently supported by Flagicon. In any case subdivisions with a consistent article name and image name in Commons will work just fine in English even if they are not listed explicitly e.g., , ... --QuimGil (talk) 05:33, 4 June 2013 (UTC)


 * I noticed your message in the Wikidata ML and I'm really interested in this thing. On the Italian Wikipedia, we've got it:Template:Naz, which is indeed very complicated, but we've got tons of codes (especially ISO ones) and flags. Maybe we can arrange something all together. :) --Sannita - not just another it.wiki sysop 09:23, 5 June 2013 (UTC)
 * Thank you for the interest! My initial motivation here is (apart from learning Lua) to simplify how flags are maintained at the Wikipedia in Catalan, which I guess corresponds to the needs of most of the projects in other languages. Please add the template and modules to your watchlist, and feel free to start there specific discussions about requirements or bugs. I will start documenting better the current implementation and immediate plans. For instance, I just learned that translations still need to be done manually while bug 47930 is open, but if it's solved then there is hope for a lot of worked saved for the project thanks to Wikidata.--QuimGil (talk) 16:16, 5 June 2013 (UTC)


 * Meanwhile, Canada and Italy added and Spain fixed. :) --Sannita - not just another it.wiki sysop 13:04, 7 June 2013 (UTC)
 * Thank you so much! I left my comments there.--QuimGil (talk) 17:16, 7 June 2013 (UTC)

I'm very happy to announce that Template:FlagiconLua has reached feature parity with Template:Flagicon!
 * Full names: gives
 * 2 letter codes: gives
 * 3 letter codes: gives
 * No border flag: gives
 * Direct fallback to Commons: gives  without being listed at Module:Sandbox/QuimGil/FlagTranslations.
 * Nepal, Switzerland and Vatican City have a default size of 20x17px (for the rest it's 20x22px):
 * User defined sizes: gives
 * Historical flags:  gives  and   gives
 * Labeled variants: gives  and  gives
 * Variant / label flags not found in FlagTranslations return the Flag of None but still point to the right article: gives

There are several paths for continuing the work:


 * Add country data at Module:Sandbox/QuimGil/FlagTranslations - help from editors is welcome. Technical skills required: 0.
 * Better code to handle exceptions (e.g. UK in addition to GB) and localization at all levels (e.g. "EUA" == "USA" in some Latin languages). See also the thoughts about creating a module just for localization, keeping editors away from the 3 master (English) files.
 * Include here the functionality of neighboring templates? It would be pretty simple to add parameters to cover the extra bits provided by flag, flagu, flagcountry and flagdeco. For what is worth Template:Flags is available... :)
 * Testing & performance improvements - advice from Lua / templating experts is welcome.

And of course...


 * Find a customer!

Even if I'm cloning the functionality available in en.wiki and I'm reporting here, the logical first projects using this would probably be small ones without the resources to create and maintain all the subtemplates & country data pages you are using here to provide all the flags. They would be done copying 3 files as is and localizing the 4th according to their possibilities and needs.

Questions? Feedback? --QuimGil (talk) 07:33, 21 June 2013 (UTC)


 * I've decided to rename it: Template:Flags. And the plan (if I had one) has changed too: getting all the Flag* templates functionality in one place and make it easy for projects to add the flags data they need. About adoption, I will try to convince my colleagues at the Catalan Wikipedia to start testing with real articles. Currently their equivalent to Flagicon doesn't include a link to the article for the flag icons, which makes Flags an interesting alternative. There is also the simpler maintenance of flag data. Let's see what happens next if that works. :)  And your feedback is still welcome.--QuimGil (talk) 07:22, 23 June 2013 (UTC)

A proposal to solve the problem with unequal height of rows
I propose to change the flagicon size from default 22x20 pixels to 24x15 pixels in the fully protected Template:Flagicon/core. Here are two tables, the first one is default, the second one is my proposal with equal height of rows.

Default flagicon size 22x20 pix maximum

Flagicons with proposed size 24x15 pix maximum

So, as you can see on this example, the first table looks ugly because of oversized flags of Switzerland, Nepal and Vatican. Post your remarks – Administrator is waiting for a decision at Template talk:Flagicon/core. Maiō T. (talk) 00:35, 7 June 2013 (UTC)
 * Doesn't seem like a bad idea to limit vertical size. CMD (talk) 14:59, 7 June 2013 (UTC)
 * It does looks indeed better. Even if does flags would take "less surface" their different shape make them easily identifiable anyway.--QuimGil (talk) 17:15, 7 June 2013 (UTC)
 * Equal height of rows is a good idea. Is the problem that in order to get the right aspect ratio the longish flags are not using the full 20 vertical pixels? The squarish flags look rather small at 15px.  With higher resolution screens becoming so popular, 15px is pretty tiny. Could the rectangular flags instead be padded vertically to 20px and could the default width be enlarged to 24px without reducing the vertical number?  Alternatively, is there a way to set the height of all of the rows in a table so that they would all be 20px even if some of the entries were vertically less than this?  Just ideas, no strong opinion. &mdash;Anne Delong (talk) 14:50, 9 June 2013 (UTC)
 * There is no guarantee that all rows will always be equal for all users. People with different font-sizes may still get different heights. That said, I think 22x16 would be a better choice. 24 is too wide for the 2:1 flags, and 16 is the normal line-height at default font-sizes. — Edokter  ( talk ) — 17:06, 9 June 2013 (UTC)

OK, let's try — 22x16 pixels maximum, with various font-sizes:

Compromise — 23x15 pixels maximum:

Anyway, the current size of 22x20 is completely wrong. Maiō T. (talk) 21:59, 9 June 2013 (UTC)
 * I agree that 22x20 is too squarish for most flags. I don't know if these icons have to be scalable, but if so nice divisible numbers like 24x16 would lend themselves to that. &mdash;Anne Delong (talk) 05:46, 10 June 2013 (UTC)
 * I'm fine with either (15 or 16). Kaldari (talk) 20:56, 10 June 2013 (UTC)
 * I see little difference between the two, but both are better than the current setup. CMD (talk) 23:33, 10 June 2013 (UTC)


 * See alternate proposal for height+spacing: For over 4 years, the recommended height of the Swiss flag icon has been x17px as inside, which reduces the height from x20px but also retains a larger surface area to better match the other flags. So the alternate proposal, formalized from 3 June 2013, has been: "Template_talk:Flag" to also re-align the spacing of the Swiss, Vatican City, and Nepal flags to fit with others in the long-term size of 22x20px. -Wikid77 (talk) 01:47, 11 June 2013 (UTC)
 * Wikid77, unfortunately, it's not working. We should return to my initial proposal and edit the core templates of Template:Flag/core & Template:Flagicon/core. Only 0.1% of 350.000 articles will be affected - those with Swiss, Vatican and Nepal flags. To Anne: You're right, 15x15 px icons are relatively small, but with icon height over 15px, rows are already taller than default. Therefore I support Edokter's 22x15 px. 24x16px icons would be beautiful, but in that case it would be necessary to change the aspect ratio of 🇬🇧 🇦🇺 🇨🇦 🇶🇦 etc. from 2:1 to 3:2 (or in pixels - from 24x12 to 24x16) because of keeping the height of rows. And that is not technically possible, is that???
 * Maiō T. (talk) 18:36, 13 June 2013 (UTC)


 * Then using #if:... will set default: There is a bug/quirk with template parameters where a blank parameter overrides the default value. So "size=" will disable the default in, and instead the markup must check for a blank parameter by using "  " to set the default value.
 * {&#123;flag|Switzerland}}     &rarr; 🇨🇭 Switzerland
 * {&#123;flag|Switzerland/sandbox}} &rarr; Switzerland/sandbox
 * By using " ", then the default flag sizes will be set. However, there are still concerns that height x17px (  Switzerland/sandbox) is too high, and so perhaps using the  1-pixel shorter size, x16px, would fit better as "🇨🇭" within a line of text. I do not see a problem with height x17px in Firefox browser, but does x17px upset the line spacing in other browsers? I think the spacing of superscripts, such as x2 (🇨🇭 x17px), should be compared before judging height x17px as unacceptable. Does x17px seem to fit ok? -Wikid77 (talk) 07:42, 14 June 2013 (UTC)
 * x17px looks good only for 🇳🇵 Nepal. My heart wants this solution: 🇳🇵🇨🇭🇻🇦🇮🇹🇷🇺 (17–15–15–15–15 pix height) You want this: 🇳🇵🇨🇭🇻🇦🇮🇹🇷🇺 (17–17–17–15–15 pix height) It seems like the compromise solution will be: 🇳🇵🇨🇭🇻🇦🇮🇹🇷🇺 (17–16–16–15–15 pix height) So, Mr. Wikid77, it's time to ask User:Mr. Stradivarius for an edit of NEP-SUI-VAT country data templates. Maiō T. (talk) 23:36, 14 June 2013 (UTC)


 * Requested redo of Nepal/Swiss/Vatican flags: Since there has been no objection to the compromise sizes (17-16-16px) after 5 days, now I have submitted an {editprotected} request to set those as the 3 default sizes.
 * See: Template_talk:Flag
 * Default sizes: 🇳🇵🇨🇭🇻🇦🇮🇹🇷🇺 (17–16–16–15–15px height)
 * Prior Template:Flag/core must be redone to add space for 20x16px.
 * Anyway, the flag icons are finally aligned after 6.5 years. If the new sizes are still an issue, then we can discuss more, and have them adjusted again. -Wikid77 (talk) 06:53/Wikid77 (talk) 21:11, 19 June 2013 (UTC)
 * I beg your pardon !!! Today I found one more problematic flag – Denmark: 🇨🇭🇩🇰🇮🇹 (16–17–15px default height). It is necessary to do one last alignment: 🇨🇭🇩🇰🇮🇹 (16–15–15px proposed height). I hope that will be all. And finally, I want to thank all of you for your participation during the last two weeks. Maiō T. (talk) 16:53, 20 June 2013 (UTC)
 * I take it back. I have a better idea: those 3 flagicons ( 🇳🇵🇨🇭🇻🇦 ) we leave as they are with 17–16–16px (the exceptions are already saved in the country data templates) and all potential higher flagicons will be adjusted via template:flag/core to 15 px height. — Maiō T. (talk) 21:59, 23 June 2013 (UTC)
 * ✅. Maiō T. (talk) 17:19, 11 July 2013 (UTC)

Belgium
I've added an alias to Country data Belgium, but I cant get it to display there, although it works fine --> 🇧🇪 Belgium gives 🇧🇪 Belgium. Assistance in fixing this would be appreciated. Mjroots (talk) 16:39, 4 July 2013 (UTC)
 * — Andrwsc (talk · contribs) 15:00, 17 July 2013 (UTC)

South Korea
See Country data South Korea. I know this is likely an issue at Commons (where the image File:Flag of South Korea.svg seems to have been redirected at some point to File:Flag of Republic of Korea.svg. When I look at the country data page, and when I look at an article using the flagicon template, the image does not render. I've refreshed my cache, to no avail. Is it just some issue with my browser and not with the site? Or is this something to fix? The optimal solution would seem to be to add the correct image name to the template - but that seems to be a big change. I thought it worth checking first. UltraExactZZ Said~ Did 13:31, 17 July 2013 (UTC)
 * — Andrwsc (talk · contribs) 14:59, 17 July 2013 (UTC)
 * Perfect. Thank you! UltraExactZZ Said~ Did 16:15, 17 July 2013 (UTC)
 * But the file File:Flag of Republic of Korea.svg doesn't exist. Please fix it 174.89.26.164 (talk) 06:13, 18 July 2013 (UTC)
 * It exists on Commons, which is all we need here. See commons:File:Flag of Republic of Korea.svg.  But now I see that it has been renamed back again on Commons, so my changes yesterday have been reverted. — Andrwsc (talk · contribs) 15:07, 18 July 2013 (UTC)

Templates on Palestine
Recently, the template:Country data Palestine was changed to reflect the upgrade of status for the State of Palestine (current ISO code "Palestine, State of" ), however template:Country data Palestinian territories was created in addition, instead of remaining a redirect to "Country data Palestine". I must emphasize that currently there are 3 flag templates: "Country data Palestine" (State of Palestine), "Country data Palestinian Authority" (PNA) and this newly created "Country data Palestinian territories" (Pt).

One however must notice that in fact Palestinian territories is a mute term which can have several meanings. The actual implementation of "Palestinian territories, Occupied" (used by UN between 1999-2012, see ) in previous ISO designation was in order to refer to the Palestinian National Authority existing 1994-2012 (see explanation here). Otherwise, if one is referring by "Palestinian territories" to the pre-1993 Israeli-occupied West Bank and Gaza Strip, the use of PLO flag icon is of course unreasonable, as the flag was both illegal under Israeli law and unrecognized by UN/ISO.

I herewith propose template:Country data Palestinian territories template to return being a redirect and redirect to template:Country data Palestinian Authority, in accordance with the fact that ISO designation "Palestinian territories, Occupied" was in fact used for Palestinian Authority between 1999 and 2012.Greyshark09 (talk) 17:07, 4 June 2013 (UTC)
 * No objections raised, so ✅.Greyshark09 (talk) 15:53, 23 August 2013 (UTC)

Territory of Papua and New Guinea 1949-1965
Hi, I'm looking for a Flag template as used for the Territory of Papua and New Guinea between 1949-1965. It's the same as this : https://en.wikipedia.org/wiki/File:Flag_of_the_Territory_of_New_Guinea.svg, (the flag used earlier for New Guinea) but used for the entire Territory of Papua and New Guinea from 1949-1965. 1982vdven (talk) 05:58, 12 October 2013 (UTC)
 * See Template:Country data Territory of Papua and New Guinea. — Andrwsc (talk · contribs) 00:09, 15 October 2013 (UTC)

Royal Standard
Hi, is there a flag for the British Royal Standard? Thanks, Mat  ty. 007 10:12, 20 December 2013 (UTC)

Allowing variants on alpha-3 templates
The three-letter country code flag templates are very simple and useful ones, providing a quick call to the various COUNTRY style templates. However, they all lack the ability to use a flag variant. For example:


 * 🇭🇺 Hungary = 🇭🇺 Hungary
 * 🇭🇺 Hungary = 🇭🇺 Hungary

I think most would assume the behaviour of these templates to be the same. As far as I'm aware, none of the three-letter templates use any parameters. Can we modify these templates so that if a parameter is fed in, it will then feed it into the variant part of the flag template? I presume I'm not the only person who would find this desirable. SFB 13:22, 4 January 2014 (UTC)
 * Given a lack of opposition, I will start work on instituting these changes shortly. SFB 07:36, 8 January 2014 (UTC)
 * The old three-letter templates were the first flag templates to be created (in early 2005) before flag, flagcountry et. al. were developed later. At that time, we discussed deprecating the three-letter templates, mostly because the majority of country codes are obscure and wiki markup readability is vastly improved by using the full country name.  That never happened, but I still think there is a preference to use flag.  My preference would be not to bloat the functionality of the three-letter templates any further.  — Andrwsc (talk · contribs) 16:31, 8 January 2014 (UTC)
 * What are the advantages of having a country flag template which does call that country's flags? Furthermore, what is the advantage of having a quick-call template which does not allow full usage of the template it's calling? I hardly see the singular addition of | as a form of template bloating. SFB 19:05, 8 January 2014 (UTC)
 * As I said (or inferred), the deprecation of the obscure three-letter templates did not gain consensus, so those templates persist. I am on the side of the fence that would rather see   instead of   in markup since it's much more obvious to new editors what that means.  Although I disagree with it, I can understand the argument for a "quick-call" template. In any case, if you are to proceed with this plan, please use   instead of just  .  — Andrwsc (talk · contribs) 19:15, 8 January 2014 (UTC)

Non-standard borders
(and all interested editors) – Since the  parameter is able to eliminate the 1-pixel border for non-standard-shaped, non-rectangular flags, then let me suggest that this functionality be included in the Other common parameters section of this project page. Specifically, I would like to add the text: "If some of the flags are non-standard in shape, and a 1px border is undesirable, then the border may be defeated by the parameter:"

This addition comes as the result of an edit request on the talk page of Template:Country data Poland. Several hours of research did not yield this functionality either for me or for another template editor. We both experimented and the other editor was able to find a way to defeat the borders with the above information. Since neither of us could find this information documented and since this project page is referenced at Country showdata, it appears that this page is a good place to document the above functionality of the  parameter. If nobody objects, I shall include the above text in the suggested section. Thank you for your consideration! –  Paine Ellsworth   C LIMAX ! 16:58, 1 February 2014 (UTC)
 * Yes, this project page is precisely the best place to document parameters used in country data templates. The documentation at Country showdata describes how to use that template to document individual country data templates. For example, the ,  , and   parameters (which should all appear in a   section if used) are all documented there because those parameters are used to add information to country data documentation. But the discussion of "normal" template parameters (such as  ,  , and  ) certainly belongs here. — Andrwsc (talk · contribs) 17:22, 3 February 2014 (UTC)
 * ✅ and thank you, Andrwsc! Joys! –   Paine Ellsworth   C LIMAX ! 23:04, 3 February 2014 (UTC)

Only 15 variants?
Greetings, at the moment, if a flag template has more than 15 variants, only the first fifteen will show in the template's documentation and the remainder are not shown (see here for an example). Is there a way to make the documentation show all the variants instead of just 15? Is this just how the documentation works or is there an error in the template's coding that I'm just not seeing? Thanks. Illegitimate Barrister 05:21, 26 June 2014 (UTC)

Paraguay
It seems Paraguay need a new variant, as they changed the flag in 2013. see Flag of Paraguay. Mohsen1248 (talk) 11:37, 25 February 2014 (UTC)

Fixes to Template:Navy (and other flag templates)
Following a discussion here, I made [ a few changes] to Template:Navy/core's sandbox. The changes fix problems with removing borders from nonstandard-shaped flags, enlarge flags without borders so that they appear the same size as flags with borders, and update the default flag size to match other flag templates per this discussion. I'd appreciate it if another pair of eyes would check that everything works before I implement the changes on the main template. If all goes as planned, I will make similar changes to the other core templates. Thanks,  Little Mountain  5  07:30, 4 February 2014 (UTC)
 * I think it's a bad idea to include parser functions ( in this case) in these flag templates, as they are frequently transcluded many times on the same page (hundreds of times in some cases).  I recall that we've had some pages run into parser limits in the past, but I think some of those limits have changed over the years.  It was an original design goal of the flag template system to avoid parser functions, but over time the original design has gotten bloated.  We should probably rewrite this in Lua at some point. — Andrwsc (talk · contribs) 17:13, 4 February 2014 (UTC)
 * The only parser limit I'm aware of is for expensive ParserFunctions, not #if. I compared the speeds of 1,000 translusions of Template:Navy with 1,000 transclusions of Template:Navy/sandbox, and Navy/sandbox only took .996 seconds longer than Navy, or about one thousandth of a second per transclusion. I don't think that's worth worrying over. A Lua replacement would certainly be better, but until that's written, I think this is a viable change. Thoughts?  Little Mountain  5  22:28, 4 February 2014 (UTC)
 *  Little Mountain  5  00:18, 14 March 2014 (UTC)

Flag icon for these former colonies
Cant make them appear for Colony of Aden, Netherlands New Guinea and Portuguese India, please fix. 175.110.250.59 (talk) 14:10, 4 May 2014 (UTC)


 * There is already a data template Template:Country data Aden; I've just created a redirect at Template:Country data Colony of Aden. Portuguese India doesn't appear to have had an official flag, though if necessary/wanted new data templates Template:Country data Netherlands New Guinea and Template:Country data Portuguese India could be created. SiBr4 (talk) 16:45, 4 May 2014 (UTC)

Burma/Myanmar
Three years ago, a request to redirect Template:Country data Myanmar to Template:Country data Burma was declined by because of incompatibility of the latter with fb. Template:Country data Burma already contained a " " back then, so works, and the display name can be corrected using " ". So is there any other reason why the templates could not be merged, and would anyone mind if I did so? SiBr4 (talk) 11:00, 24 May 2014 (UTC)
 * It's not just football. Make sure you have taken care of every national team for Myanmar.  — Andrwsc (talk · contribs) 16:35, 24 May 2014 (UTC)
 * I think the sandbox version works. The "alias" value changes to "Myanmar" whenever altlink is used, which fixes most links for sports teams (the majority are redlinks either way). SiBr4 (talk) 19:03, 24 May 2014 (UTC)
 * While the linked articles are now correct in the sandbox, one problem I've found is with the displayed name. Most sports articles use the name "Myanmar", though some intentionally use "Burma" to refer to the country before the official name change in 1989. For example, List of men's national association football teams describes the transition from Burma to Myanmar. Is it better to redirect one to the other anyway and use name where necessary, or to "semi-redirect" one and let the display name depend on the transcluded template (see the Myanmar sandbox and testcases)? SiBr4 (talk) 21:53, 24 May 2014 (UTC)
 * In retrospect I'd say that's precisely why we kept both templates (instead of making one of them a redirect) per the 2011 request. Through my flag template work I found that not many of the WP:FOOTY editors knew about subtleties like the   parameter, but would instead simply use  or  as appropriate for the timeframe of the article. I'm not sure it's worth combining the two templates if it's going to break some existing articles and/or change the way editors are currently using these templates. — Andrwsc (talk · contribs) 20:32, 29 May 2014 (UTC)
 * If the current sandboxes are implemented it should not break anything or change their usage ( vs. and 🇲🇲 myanmar vs. 🇲🇲 myanmar), but has the advantage of unifying the flag variants, and fixing the linked article name to "Myanmar" for sports and "Burma" otherwise. It's not a hard redirect that passes all parameters, but one template transcludes the other, allowing for a different default value for name. SiBr4 (talk) 20:57, 29 May 2014 (UTC)

Leaflet for Wikiproject Flag Template at Wikimania 2014
Hi all,

My name is Adi Khajuria and I am helping out with Wikimania 2014 in London.

One of our initiatives is to create leaflets to increase the discoverability of various wikimedia projects, and showcase the breadth of activity within wikimedia. Any kind of project can have a physical paper leaflet designed - for free - as a tool to help recruit new contributors. These leaflets will be printed at Wikimania 2014, and the designs can be re-used in the future at other events and locations.

This is particularly aimed at highlighting less discoverable but successful projects, e.g:

• Active Wikiprojects: Wikiproject Medicine, WikiProject Video Games, Wikiproject Film

• Tech projects/Tools, which may be looking for either users or developers.

• Less known major projects: Wikinews, Wikidata, Wikivoyage, etc.

• Wiki Loves Parliaments, Wiki Loves Monuments, Wiki Loves ____

• Wikimedia thematic organisations, Wikiwomen’s Collaborative, The Signpost The deadline for submissions is 1st July 2014 For more information or to sign up for one for your project, go to: Project leaflets Adikhajuria (talk) 17:44, 27 June 2014 (UTC)

Flaglink using prefix rather suffix..?
Hello. Is there a version of flaglink (or some switch I've missed) that creates a link by adding a prefix rather than a suffix to the country/region/etc name?

I'm thinking of instances such as "Agriculture in [place]", i.e. the creation of items such as
 * 95%

(If this doesn't already exist somewhere, I imagine some kind of switch to move the position of 95% in flaglink/core is what's desired.)

Apologies if I've missed something obvious. Sardanaphalus (talk) 10:01, 22 April 2014 (UTC)


 * I can't find one, though you could just create a new template flagprefix with the code copied from flaglink and a new template flagprefix/core with the altlink before rather than after the alias. SiBr4 (talk) 11:13, 22 April 2014 (UTC)

I just found a template that does exactly what you want:. It is not categorized and only used in two articles so I couldn't find it earlier, though it has existed since 2006. SiBr4 (talk) 09:29, 4 August 2014 (UTC)
 * I suppose this leads to the question: why would one use flags in that circumstance? Seems like a very intuitive template, nevertheless. SFB 18:55, 4 August 2014 (UTC)


 * Thanks for pointing this out. I've now fleshed out its documentation, categorized it and (foa: SFB) included a couple of links to articles where it's used. Regards, Sardanaphalus (talk) 23:22, 10 August 2014 (UTC)

Comment on the WikiProject X proposal
Hello there! As you may already know, most WikiProjects here on Wikipedia struggle to stay active after they've been founded. I believe there is a lot of potential for WikiProjects to facilitate collaboration across subject areas, so I have submitted a grant proposal with the Wikimedia Foundation for the "WikiProject X" project. WikiProject X will study what makes WikiProjects succeed in retaining editors and then design a prototype WikiProject system that will recruit contributors to WikiProjects and help them run effectively. Please review the proposal here and leave feedback. If you have any questions, you can ask on the proposal page or leave a message on my talk page. Thank you for your time! (Also, sorry about the posting mistake earlier. If someone already moved my message to the talk page, feel free to remove this posting.) Harej (talk) 22:47, 1 October 2014 (UTC)

Merger proposal
I've proposed merging the various {{Flag* templates, or at least their underlying code. Please comment at Templates for discussion/Log/2014 December 10. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 21:18, 10 December 2014 (UTC)

"in France" but "in the United States" – use country data to correctly build the phrase
The autocreated links on the bottom of Template:Infobox political party could use some country data specifying, whether the article "the" is used in combination with the country name. See the page Democratic Party (United States), where the created link reads "Politics of United States" which is of course wrong and only worked around by using a redirect to the correct article Politics of the United States. Same with 'List of political parties in United States' and 'Elections in United States'. I can imagine that there are quite some more use cases, but this one IMHO is already relevant enough. Now how to do this best?

I'm tending to creating two intermediate templates to be used as follows: → Elections in the United States and → Politics of France. The advantage of this approach would be that the template names are quite descriptive. On the other hand, there could arise a need for,  or. An alternative might be a single template to be used as follows: → Elections in the United States and → Politics of France.

Next step would be to determine how to name and compose the entry in the country data templates. But first I'd love to get some feedback from you. List of countries with the definite article

Template:Country data Bahamas

Template:Country data British Virgin Islands

Template:Country data Cayman Islands

Template:Country data Central African Republic

Template:Country data People's Republic of China

Template:Country data Republic of China

Template:Country data Comoros

Template:Country data Republic of the Congo

Template:Country data Democratic Republic of the Congo

Template:Country data Cook Islands

Template:Country data Czech Republic

Template:Country data Dominican Republic

Template:Country data Donetsk People's Republic

Template:Country data Falkland Islands

Template:Country data Faroe Islands

Template:Country data Gambia

Template:Country data Republic of Ireland

Template:Country data Republic of Macedonia

Template:Country data Isle of Man

Template:Country data Ivory Coast

Template:Country data Maldives

Template:Country data Marshall Islands

Template:Country data Netherlands

Template:Country data Netherlands Antilles

Template:Country data Northern Mariana Islands

Template:Country data State of Palestine

Template:Country data Philippines

Template:Country data Russian Federation

Template:Country data Collectivity of Saint Martin

Template:Country data Solomon Islands

Template:Country data Soviet Union

Template:Country data Turks and Caicos Islands

Template:Country data United Arab Emirates

Template:Country data United States Virgin Islands

Template:Country data United Kingdom

Template:Country data United States

Template:Country data Virgin Islands --PanchoS (talk) 16:04, 15 December 2014 (UTC)
 * You could change the links in that article by setting country to "the United States" instead of "United States". A parameter like the in country data templates needing the definite article can be useful for other templates as well though. SiBr4 (talk) 13:42, 16 December 2014 (UTC)
 * I don't see where Template:Infobox political party uses country_data templates for any rendering, so this is not a flag template issue. Nothing needs to be changed here.  — Andrwsc (talk · contribs) 17:05, 16 December 2014 (UTC)
 * The proposal was to make the infobox use data templates and adjust them so they can automatically add "the". While I'm not sure changing the infobox to use data templates is necessary/advisable, "link-building" flag templates such as flaglink and flagof may also benefit from a the option. SiBr4 (talk) 20:49, 16 December 2014 (UTC)
 * Exactly. Currently, Infobox political party doesn't use country data, but according to my proposal it should to avoid both incorrect links and incorrect display text. Why wouldn't it be necessary/advisable? Entering "the United States" in the template would be possible but neither usability-wise nor semantically advisable IMHO. And indeed, Flagof would profit from a the parameter as well. I'm a bit puzzled why there is opposition at all against a generic and quite basic aspect of country data while at the same time even quity edgy parameters exist for national soccer or badminton teams... --PanchoS (talk) 10:25, 18 December 2014 (UTC)
 * Though I would support expanding the scope of the country data system to be able to provide other kinds of data, it is intended for flag icon templates only, which is why I am not sure it should be used to generate simple links without flag. I added a "the" parameter to Template:Country data Philippines/sandbox for testing and created [//en.wikipedia.org/wiki/User:SiBr4/sandbox/template3?oldid=638627441 a test template] that appears to work:
 * &rarr; Politics of France
 * &rarr; Politics of the Philippines
 * which is your proposed "Template:The country" (a clearer name would be better though) with the parameters switched. SiBr4 (talk) 21:01, 19 December 2014 (UTC)

WikiProject X is live!


Hello everyone!

You may have received a message from me earlier asking you to comment on my WikiProject X proposal. The good news is that WikiProject X is now live! In our first phase, we are focusing on research. At this time, we are looking for people to share their experiences with WikiProjects: good, bad, or neutral. We are also looking for WikiProjects that may be interested in trying out new tools and layouts that will make participating easier and projects easier to maintain. If you or your WikiProject are interested, check us out! Note that this is an opt-in program; no WikiProject will be required to change anything against its wishes. Please let me know if you have any questions. Thank you!

Note: To receive additional notifications about WikiProject X on this talk page, please add this page to WikiProject X/Newsletter. Otherwise, this will be the last notification sent about WikiProject X.

Harej (talk) 16:57, 14 January 2015 (UTC)

Flagcountry needed
undefined does not exist. It needs to display 🇨🇦 Canada. Mjroots (talk) 18:08, 20 December 2014 (UTC)
 * Dominion of Canada is a redirect to Canada, so what is the benefit in having a new template for use with flagcountry? — Andrwsc (talk · contribs) 00:18, 15 January 2015 (UTC)

Template names for principal subdivisions of countries
Any advice regarding template names for principal subdivisions of countries in general, or comments on the proposed merge or nominated templates, are welcome on Templates for discussion/Log/2015 February 4. —PC-XT+ 13:38, 5 February 2015 (UTC)

Request for modification of Template:Country data Kingdom of Yugoslavia
G'day, hopefully this is the right place for this request. If not, could you point me in the right direction? Could we have the naval flag variant of this template render as Royal Yugoslav Navy rather than Yugoslav Royal Navy? The standard English rendering in sources is Royal Yugoslav Navy. Cheers, Peacemaker67 (crack... thump) 10:16, 7 April 2015 (UTC)
 * ✅. For requesting an uncontroversial edit to a template-protected page, the best way to get attention for the request is placing the request at the template's talk page and adding the TPER template, which causes the page to be added to a list of requests watched by many template editors. SiBr4 (talk) 21:05, 7 April 2015 (UTC)
 * Thanks! Peacemaker67 (crack... thump) 07:40, 8 April 2015 (UTC)

Historical flag icon for British Guiana
Can a knowledgeable editor please take a look at this icon image? It appears to be a distorted image, disproportionately longer (wider) than it is supposed to be. A quick comparison to similar period flags from Australia, Canada and other British Empire colonies suggests that there is something wrong with the proportions of this image. Thanks. Dirtlawyer1 (talk) 02:44, 14 May 2015 (UTC)
 * Honestly, I don't think anybody here can help. I'd suggest either WikiProject Heraldry and vexillology (although that WikiProject appears somewhat idle) or  Commons:WikiProject Flags for issues relating to the flag images.  This project is only concerned with how to render those images as tiny icons.  — Andrwsc (talk · contribs) 22:05, 14 May 2015 (UTC)
 * It looks normal to me; the flag icon produced by renders as 23x11px, and the flag image File:Flag of British guiana 1919-1954.gif is 435x217px nominally (both very nearly 2:1). SiBr4 (talk) 17:26, 15 May 2015 (UTC)

City flags?
I see that the "Flag" template works for some cities (San Francisco, New York City, Houston, etc.) but not others (Seattle, Vancouver, etc.) How hard is it to make this template work for other cities? Are there instructions for how to make "Flag|Houston" or "Flag|Vancouver" work properly? Another Believer ( Talk ) 16:30, 3 May 2015 (UTC)
 * To make e.g. work, create Template:Country data Vancouver with the code at WP:WPFT and fill in the "alias" and "flag alias" parameters with the article name and flag file name respectively. Please note that File:Flag of Seattle.svg is a non-free file and may not be used in flag templates. SiBr4 (talk) 14:57, 10 May 2015 (UTC)
 * Good to know. Thank you! --- Another Believer ( Talk ) 22:10, 10 May 2015 (UTC)
 * I created templates for Vancouver, Victoria (BC), Las Vegas and Portland (OR), and hope to create others soon. Thanks again! --- Another Believer ( Talk ) 20:34, 22 May 2015 (UTC)

TfD: flag icon templates for Southeast Asian Games
There is a deletion discussion pending regarding several templates that are withing the scope of this WikiProject at Templates for discussion/Log/2015 June 24. Given the knowledge and expertise of editors involved with this project, please consider participating in the foregoing discussion. Thanks. Dirtlawyer1 (talk) — Preceding undated comment added 16:08, 25 June 2015 (UTC)

Flag icon linking to flag article
Is there a way to have the flag icon with no name, and the icon linked to the article about the flag? flagicon does not allow overriding the link and flag+link puts the link after the icon. It would be useful in tables like States and territories of Australia that have a "flag" column separate from the "territory name" column. jnestorius(talk) 16:12, 10 August 2015 (UTC)
 * Not yet, but it would be possible with the draft general flag template in my userspace: . I've been planning to move it live, as really the only thing it still needs is some documentation. SiBr4 (talk) 16:32, 10 August 2015 (UTC)
 * Now live at Template:Flagg: . SiBr4 (talk ) 11:56, 21 August 2015 (UTC)

No flag template of former Netherlands New Guinea
Can anyone create a tiny flag template of this former Dutch colony, flag exists in the article, but tiny template is not showing when you use Netherlands New Guinea or , thanks. 139.190.221.226 (talk) 16:11, 4 September 2015 (UTC)
 * Andrwsc created Template:Country data Netherlands New Guinea on 4 September 20:59 UTC, meaning the correct spelling works now. SiBr4 (<span title="User talk:SiBr₄">talk ) 14:35, 7 September 2015 (UTC)

Nepal and Switzerland flags add extra space at beginning
I have noticed the the flag template for Nepal and Switzerland seem to be adding extra spaces at the beginning, at least when doing a copy and past from this page:

List of countries by GDP (PPP) per capita

I can't confirm it is the flag template, it is a guess. To replicate the issue, do a copy of the complete table and then paste into Excel. Sort by the country name and I notice that Nepal has two spaces before the name and Switzerland has one extra space.

How can this be fixed?Sthubbar (talk) 12:43, 4 October 2015 (UTC)
 * It is; flag adds additional spaces between the icon and name for Nepal, the Vatican and Switzerland in an attempt to vertically align the country names. Though there is a new flag template that does that a lot better (with a fixed-width box around the image instead of n spaces between the image and the name), I'm hesitant to remove the extra spaces in Template:Flag/core since probably only a small part of country lists has been converted yet. <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 06:35, 5 October 2015 (UTC)

Possibly inaccurate flags for the Qing dynasty
As mentioned in discussion in WT:WikiProject China, there are differences between the flags shown on the Qing dynasty and the article on the flag of the Qing dynasty. I'm not experienced in these flag templates; it has been discussed that the version now seen in the templates, for example when called upon like so:, though miniature, can be identified as the wrong version, at least per the discussion on the aforementioned talk page. What should be done to verify and remedy this problem if it exists as such? The Average Wikipedian (talk) 15:51, 14 January 2016 (UTC)
 * I have updated the images in Template:Country data Qing Dynasty. — Andrwsc (talk · contribs) 18:16, 14 January 2016 (UTC)

Romania
My computer shows Romania as the .pdf button. 333-blue 13:23, 14 March 2016 (UTC)
 * (I had already replied at Template talk:Flagicon.) Mine doesn't. Could it be a problem with user JavaScript (try logging out) or a browser extension? Could you post a screenshot? <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 16:25, 14 March 2016 (UTC)

North Korean navy flag
Please provide input at Template talk:Country data North Korea. --Izno (talk) 16:08, 5 April 2016 (UTC)

Smarter ISO 3166 handling
Please participate in discussion at Template talk:Infobox country. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼  03:51, 25 June 2016 (UTC)

Hungary country data 1957-1989
Hello. Don't know if this is the right place to ask, but it's worth a try. I noticed User:Csurla changing articles containing the Flag of Hungary 1957-1989 variant to the current flag, and asked why. They said that the 1957 variant was never official, and the Flag of Hungary article appears to confirm that, albeit without an inline source. If that is the case, should the country data be changed to stop the rest of us using the wrong flag? cheers, Struway2 (talk) 09:09, 8 July 2016 (UTC)
 * I've changed Template:Country data Hungary. Would it be beneficial to have a separate variant for the unofficial flag (e.g. ), or should it not be included at all? <span title="User:SiBr₄">SiBr4  (<span title="User talk:SiBr₄">talk ) 12:33, 8 July 2016 (UTC)

Thanks. It's very good. I think it's better we skipped the unoffical flag from country data. - Csurla (talk) 12:54, 8 July 2016 (UTC)

Country data Iran
Please comment at the edit request for Country data Iran here. — Andy W. ( talk ) 06:41, 18 October 2016 (UTC)

Missing Nepal flag causing problems
List of countries by intentional homicide rate uses flag icons to represent each country, but the Nepal flag is missing. I replaced it but was reverted because apparently it "breaks row alignment at smaller text sizes" (see the talk page discussion). Can someone please advise on what we should do? Thanks, Bazonka (talk) 10:09, 8 February 2017 (UTC)
 * You can use (🇳🇵 Nepal) to create a Nepal flag icon the same height as others. <span title="User:SiBr₄">SiBr4  (<span title="User talk:SiBr₄">talk ) 20:37, 14 March 2017 (UTC)

Kingdom of Denmark includes categories
Template:Country data Kingdom of Denmark ( Kingdom of Denmark) is sending its categories to the article whenever it is used (i.e. Nuuk includes Category:Country data templates of countries and others). Don't want to risk breaking it by editing a much used template, so can someone from this project have a look at it? –OZOO 10:32, 20 February 2017 (UTC) However, the categories are clearly not intended to assist navigation, so they should be hidden from ordinary view in articles. I would strongly object to unhiding the categories unless they are depopulated of articles. -- Brown HairedGirl (talk) • (contribs) 20:45, 14 March 2017 (UTC)
 * Fixed., was this your reason for hiding the involved categories? Would you mind if that was reverted too? <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 20:33, 14 March 2017 (UTC)
 * Hi SiBr4, and thanks for the ping.
 * These categories are populated with articles. See for example Category:Country data templates of countries, which currently contains 635 pages, most of them articles.
 * None of the categories should contain articles; they are intended to assist navigation between the templates. The articles they contain are there due to the just-fixed Denmark template having had non-noincluded categories, and will be gone after the job queue is cleared. <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 20:54, 14 March 2017 (UTC)

No Army Flags
Problem has been reported by a user that using the Template:Army it returns the country name rather than the actual name for example rather than Spanish Army because there is no entry in the country data page. France is another example, any idea how to correct this, thanks. MilborneOne (talk) 21:41, 27 February 2017 (UTC)
 * The displayed name can be changed in the respective country data templates (e.g. Template:Country data Spain); hence, requests for changes are best made at the talk pages of those templates. I've fixed Spain and France. <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 21:02, 14 March 2017 (UTC)

Flag of Serbia
🇷🇸 Serbia doesn't work.--Carnby (talk) 23:04, 8 April 2017 (UTC)
 * Now it works.--Carnby (talk) 09:09, 9 April 2017 (UTC)