Wikipedia talk:WikiProject Flag Template/Archive 1

message: Using the same format of such as Template:AUS, with both flag icon and text link, allows non-graphical readers to know what is being linked as well as supply a link to the subject matter.  Would a captioned image with link be equally satisfactory? (SEWilco 04:11, 6 Apr 2005 (UTC)
thread_title:  Icon with text 

message: I haven't found the Wikipedia policy on country names. I view the aliasing in this template as a convenience for editors.  Wikipedia software or a bot could rename aliases to follow a standard.  (SEWilco 19:15, 6 Apr 2005 (UTC)
thread_title:  Country alias policy 

message: Various people including User:Earl Andrew and User:Aris Katsaris and others have created several dozen flag templates, such as Template:POL, Template:ITA, and so forth, and have been gradually introducing them in pages like European Parliament and List of cities by latitude and 2002 Winter Olympics and many other places.
I see a few problem with this:
* These can be a bit cryptic (for instance, Austria is Template:AUT, and Australia is Template:AUS). This conflicts with the basic wiki idea that "anyone can edit any page", because in order to edit some pages, people will need to be familiar with these three-letter codes.
* There are occasional conflicts with existing templates, for instance Template:IND (for India) is already taken for another purpose.
* It's not clear what standard should be followed... one possibility is ISO 3166-1, another possibility is List of IOC country codes (these have major  differences).  Again there are possibilities for confusion: the IOC code "CHI" is Chile, not China, the IOC code "SLO" is Slovenia not Slovakia, etc.
One suggestion would be to use fully-spelled out names like .  Another suggestion from Earl Andrew would be to invent our own five-letter codes (but I think these would be non-standard, and "Austr" still isn't enough to distinguish Austria from Australia or Dominica from Dominican Republic.
Anyway, it might be good to get some wider input into this. What do you folks think? -- Curps 23:36, 28 Mar 2005 (UTC)
thread_title: Flag template introduction

message: :If you need a code for countries, why reinvent the wheel? Use the international standard 2- or 3- letter codes defined by ISO 3166. Gdr 21:37, 2005 Mar 29 (UTC)
:: Flag templates should not take over country code names.  That would be like Template:Country_USA for a flag, when such a name should be for a template relevant to the country as an entity. Perhaps have "flag" someplace in the template name? Of course, such an aforementioned Country template probably should display the proper flag also… (SEWilco 06:15, 1 Apr 2005 (UTC)
thread_title: Country codes

message: :: I'll expose my ignorance: Why not ?  Or ?  A Template:country would be for various forms of references to countries, perhaps for symbols, "more info" boxes, or variable text. (SEWilco 05:14, 2 Apr 2005 (UTC)
replies: text: good idea with the general template. I would favor using ISO-Alpha3 because Alpha2 can change to quick and with Alpha3 we have more room for own inventions as there are more "reserved for own use codes". This codes should possibly used for maps as well. Full name is just to long and we could not use it on commons because people from non-english WPs, e.g. german people, will not use "Germany" but prefer "Deutschland". codes avoid language issues. I know 99% of the alpha2 codes if you wake me up from my deepest dreams, but I do not know nearly 2% of the alpha3 codes. We all will get used to it :-) One downside of alpha3, copyright? Tobias Conradi 12:44, 2 Apr 2005 (UTC)
replies: text: Keep "flag" out of it. They need to be as short as possible, I believe that is the point of the template. --  Earl Andrew - talk 03:04, 4 Apr 2005 (UTC)
replies: text: The main benefit of templates is the standardization they provide; brevity is a secondary benefit, which shouldn't be at the expense of clarity.  There's no point in saving a few keystrokes of typing if it entails a much longer delay in manually looking up an obscure code; this actually loses time rather than saving it. -- Curps 09:40, 6 Apr 2005 (UTC)
replies: text: No matter what we use, there's going to be an obscure code that will need to be looked up. The smaller the said code the better. --  Earl Andrew - talk 19:11, 6 Apr 2005 (UTC)
replies: text:  I think Anglo-Saxon readers would have difficulty with .  I think "flag" is necessary to specify the purpose of the template (reference to a flag), while merely having a country name as a template does not make clear what aspect of the country is being referred to. Thus, a "country" template is a more general view of the "flag" problem: How to refer to something which is related to a specific country.  As flag presentation was the problem which was mentioned, that implies that a template for flags is of interest, possibly in addition to a more general solution for country references.  (SEWilco 10:15, 5 Apr 2005 (UTC)
thread_title: General country reference

message: ::::Keep "flag" out of it. They need to be as short as possible, I believe that is the point of the template. --  Earl Andrew - talk 03:04, 4 Apr 2005 (UTC)
replies: text: The main benefit of templates is the standardization they provide; brevity is a secondary benefit, which shouldn't be at the expense of clarity.  There's no point in saving a few keystrokes of typing if it entails a much longer delay in manually looking up an obscure code; this actually loses time rather than saving it. -- Curps 09:40, 6 Apr 2005 (UTC)
replies: text: No matter what we use, there's going to be an obscure code that will need to be looked up. The smaller the said code the better. --  Earl Andrew - talk 19:11, 6 Apr 2005 (UTC)
replies: text:  I think Anglo-Saxon readers would have difficulty with .  I think "flag" is necessary to specify the purpose of the template (reference to a flag), while merely having a country name as a template does not make clear what aspect of the country is being referred to. Thus, a "country" template is a more general view of the "flag" problem: How to refer to something which is related to a specific country.  As flag presentation was the problem which was mentioned, that implies that a template for flags is of interest, possibly in addition to a more general solution for country references.  (SEWilco 10:15, 5 Apr 2005 (UTC)
thread_title: Meaning vs brevity

message: Please excuse my newbie questions:
What are these (please see below) and where can a complete list be found?
The three letter identifiers are not always an ISO country code.
(Edit this section, to see the wiki source code, such as   )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
  
  
  
 
  
 
  
Sometimes, this one has a gray box and dotted lines, and sometimes NOT... Why?
  
----
 Guam      Chuuk (or Truk Lagoon)    Tahiti, French Polynesia
----
GeoFan49 06:38, 17 December 2006 (UTC)
thread_title: Help... ''ISO-like'' codes?  Tags?  Flag icons? 

message: Well, trying Template:Flag.  There is an assortment of file names for flags.  Such as :Image:Flag of Canada.svg () while USA's seems to be :Image:us flag large.png () (SEWilco 20:26, 5 Apr 2005 (UTC)
thread_title: Introducing Template:Flag

message: I personally think thatwe should use the ISO codes, since there will be little confusion.  Though there is obscure codes for countries (HR for Croatia, CS for Serbia and Montenegro, OT for Austria), we can always provide a list of these codes and make the minor edits when needed. Zscout370 01:35, 9 Apr 2005 (UTC)
replies: text: ISO codes is being discussed in a section below.  Basically: Yes, ISO codes make sense.  The intent is to allow editors to also use common names, but the template will find the proper name of the flag file.  The short text label next to the flag will be the ISO code because this is intended as a short icon.  There will also be a way to produce other labels, such as the Olympic country codes. (SEWilco 04:39, 9 Apr 2005 (UTC)
thread_title: ISO codes

message: * Anyone see a way to only need alias files for exceptions, rather than for every flag? (SEWilco 18:30, 6 Apr 2005 (UTC)
thread_title: Technical issues

message: *an issue? Tobias Conradi (Talk) 17:18, 6 Apr 2005 (UTC)
thread_title: ISO codes copyright

message: Is this actually intended as a "nation icon", where the flag is actually just a symbol for the country? (SEWilco 06:56, 16 Apr 2005 (UTC)
replies: text: I was puzzled about your post, because everything looked as Bill requested it above here. Then I saw you already changed it . --Ligulem 00:28, 1 February 2007 (UTC)
thread_title:  Nation Icon 

message: During the update done by SEWilcoBot on the 26th of June, the distiction between  (which should appear as " Taiwan" but currently appears as "") and  (which should appear as " Republic of China" but currently appears as "") was blurred. The reason for this distiction is that users sometimes want to use "Taiwan" and sometimes want to use "Republic of China". Could you repair this? I'm having trouble tracing your template back.  Thanks -Bill 4 July 2005 17:35 (UTC)
* I see; references under various names got intermingled during setup of the edits.  OK, I fixed it so references using Taiwan or TWN use that name (as "Common name"), while ROC references use Republic of China or ROC.  I changed  to use Taiwan reference, which then displays that name. (SEWilco 5 July 2005 07:53 (UTC))
 Name: "Taiwan" ISO: "TWN" IOC: "TPE"
Item                  	Usage                             	Content                           	Edit                  	Description
Flag                  	                                  	     	Edit                  	Image of flag
Article               	          	          	Edit                  	Article name
Label                 	    	    	Edit                  	Short label (ie, ISO abbrev.)
Common name           			Edit                  	Common short name
ISO country code usage	ISO country code usage            	ISO country code usage            	ISO country code usage	ISO country code usage
Code:Country          	                                  	 	Edit                  	ISO country code for Taiwan
Code:ISO              	                                  	    	Edit                  	ISO country code for TWN
Flag                  	    	    	Edit                  	Flag image for
Article               	         	         	Edit                  	Article name for
Olympic Games usage   	Olympic Games usage               	Olympic Games usage               	Olympic Games usage   	Olympic Games usage
Flag                  	                                  	                                  	                      	IOC flag image
Article               	                                  	                                  	                      	Article name for IOC use
 Name: "TWN" ISO: "TWN" IOC: "TPE"
Item                  	Usage                          	Content                        	Edit                  	Description
Flag                  	                               	     	Edit                  	Image of flag
Article               	          	          	Edit                  	Article name
Label                 	    	    	Edit                  	Short label (ie, ISO abbrev.)
Common name           			Edit                  	Common short name
ISO country code usage	ISO country code usage         	ISO country code usage         	ISO country code usage	ISO country code usage
Code:Country          	                               	 	Edit                  	ISO country code for TWN
Code:ISO              	                               	 	Edit                  	ISO country code for TWN
Flag                  	 	 	Edit                  	Flag image for
Article               	      	      	Edit                  	Article name for
Olympic Games usage   	Olympic Games usage            	Olympic Games usage            	Olympic Games usage   	Olympic Games usage
Flag                  	                               	                               	                      	IOC flag image
Article               	                               	                               	                      	Article name for IOC use
 Name: "Republic of China" ISO: "TWN" IOC: "TPE"
Item                  	Usage                                        	Content                                      	Edit                  	Description
Flag                  	                                             	     	Edit                  	Image of flag
Article               	          	          	Edit                  	Article name
Label                 	    	    	Edit                  	Short label (ie, ISO abbrev.)
Common name           			Edit                  	Common short name
ISO country code usage	ISO country code usage                       	ISO country code usage                       	ISO country code usage	ISO country code usage
Code:Country          	                                             	 	Edit                  	ISO country code for Republic of China
Code:ISO              	                                             	               	Edit                  	ISO country code for TWN
Flag                  	               	               	Edit                  	Flag image for
Article               	                    	                    	Edit                  	Article name for
Olympic Games usage   	Olympic Games usage                          	Olympic Games usage                          	Olympic Games usage   	Olympic Games usage
Flag                  	                                             	                                             	                      	IOC flag image
Article               	                                             	                                             	                      	Article name for IOC use
 Name: "ROC" ISO: "TWN" IOC: "TPE"
Item                  	Usage                          	Content                        	Edit                  	Description
Flag                  	                               	     	Edit                  	Image of flag
Article               	          	          	Edit                  	Article name
Label                 	    	    	Edit                  	Short label (ie, ISO abbrev.)
Common name           			Edit                  	Common short name
ISO country code usage	ISO country code usage         	ISO country code usage         	ISO country code usage	ISO country code usage
Code:Country          	                               	 	Edit                  	ISO country code for ROC
Code:ISO              	                               	 	Edit                  	ISO country code for TWN
Flag                  	 	 	Edit                  	Flag image for
Article               	      	      	Edit                  	Article name for
Olympic Games usage   	Olympic Games usage            	Olympic Games usage            	Olympic Games usage   	Olympic Games usage
Flag                  	                               	                               	                      	IOC flag image
Article               	                               	                               	                      	Article name for IOC use
This issue cropped up again with the recent updates.  no longer re-directs to . --129.241.210.227 00:08, 1 February 2007 (UTC)
replies: text: I was puzzled about your post, because everything looked as Bill requested it above here. Then I saw you already changed it . --Ligulem 00:28, 1 February 2007 (UTC)
thread_title:  Taiwan vs Republic of China 

message: I actually stumbled across this page *after* standardizing the templates to the ISO codes... Well.
To summarize it briefly: For those countries that did not have this template at Template:ISO (ISO being the three-letter code of the country), I created the templates; and I resolved the issue (the only issue, actually) with Template:IND by agreeing with User:SPUI to change his instances of  to  for him. I hope I could help with that, even though I just stumbled upon this page... Nightstallion 19:50, 23 May 2005 (UTC)
replies: text: No problem, we're still working on this template.  There are several awkward issues due primarily to template limitations. (SEWilco 04:02, 24 May 2005 (UTC)
replies: text:  Okay. If I can be of any further help, just tell me. Nightstallion 06:16, 24 May 2005 (UTC)
replies: text:  I'm changing the underlying technology now, more soon.  Oh, your above example doesn't make too much sense when  shows the IND flag; looks to me like you mean SPUI had Template:IND for the subway system and he accepted your renaming.  Did you do all that manually or do you have a bot? (SEWilco 08:36, 25 May 2005 (UTC)
replies: text:  Corrected my post above. I actually did it manually. Nightstallion 11:03, 25 May 2005 (UTC)

text: Well, you encountered one problem with trying to take over template names as country aliases.  I'm avoiding that by using "country_alias_" as a prefix for a template array.  But before you go populating another array we need to design things. (SEWilco 07:35, 26 May 2005 (UTC)

text: I created Template:Country as a general interface for such things.  Now Flag is coded as .  For ISO, it could be } or the template design might be changed to }.  I have to test whether we could have an optional parameter so  would be a possibility. (SEWilco 07:35, 26 May 2005 (UTC)

text: I expect that few people will want to call Template:Country directly, and a number of shortcut aliases for various actions will exist.  Template:Flag already exists (although a name change has been requested).  I just now created Template:ISO for ISO-related usage, for when we figure this out. (SEWilco 07:35, 26 May 2005 (UTC)

text: I assume an "ISO" reference should display differently than non-ISO usage.  For example, although at present flag will show the USA flag for US, USA, or United States, it uses the specified label rather than a standardized one such as USA.  For ISO, the appropriate ISO label should be shown.  This probably should involve an "ISO alias" table, display the ISO label, but link to the country page.  For IOC, perhaps a link to a country's Olympic info would be wanted.  A related issue is that I need to add translation from country aliases to flag aliases; the USA flag is in a file named "Us" and that is not a suitable country label, but that should be easy to implement in the flag template. (SEWilco 07:47, 26 May 2005 (UTC)
thread_title:  Oops. 

message: Template:ISO now creates a flag icon and text linked to the country's Wikipedia page.  The only parameter given should be an ISO country code (see Usage in its Talk page).  That parameter is also the label next to the flag.  The template does not restrict country codes, they are simply defined as required to be ISO codes. (SEWilco 06:15, 9 Jun 2005 (UTC)
thread_title:  ISO template 

message: It has been suggested that rather than creating new incantations, members of existing countries be referenced as components of the larger entity.  For example, the American state Minnesota be addressed as USA-MN (MN is the official postal abbreviation).  This will work within existing country subtemplates.  It also avoids the naming complexity if more flavor templates were created, as component or members have an assortment of names: state, commonwealth, province, republic, etc. (SEWilco 06:42, 9 Jun 2005 (UTC)
thread_title:  Component states 

message: It has been pointed out that some contexts require use of different flags for countries. (SEWilco 04:55, 10 Jun 2005 (UTC)
thread_title:  Alternate flags 

message: At present flag file names must end with _flag_large.png, as that happens to be the name used for most flags.  This suffix is included within the templates, and the "flag alias" templates only contain the prefix; for the USA this is "us" to reference "us_flag_large.png".  More flexibility is possible if the suffix is removed from the templates, so the "flag alias" templates will have to have to be edited to make this change.  This is trivial to do by hand as there are presently few.
* I changed the templates to require the full flag file name (ie, us_flag_large.png).  The prefix Image: is added by the templates. (SEWilco 00:14, 15 Jun 2005 (UTC)
thread_title:  Alternate flags technical issue 

message: (moved from project page - SEWilco 23:54, 14 Jun 2005 (UTC)
replies: text: Noted.  I'm working on something which will take care of this. (SEWilco 04:45, 25 May 2005 (UTC)

text: Implemented generalization: .  If shortcuts are wanted, perhaps flagicon so it is different than flag?  (SEWilco 05:43, 8 Jun 2005 (UTC)

text: Not that having a pile of garbage due to misuse is stopping people from misusing  now: :Image:Confederate.png has been showing garbage which the uploader apparently didn't fix, so why would doing something with flag matter?  Aliasing flag to PD-flag wouldn't confirm that the uploader intended to label the flag image as PD, as perhaps the person was just trying to attach Category:Flag.  If templates could recognize missing parameters,  could emit a reminder box when no parameter is given... (SEWilco 05:43, 8 Jun 2005 (UTC)
thread_title:  Please Rename <nowiki>{{flag}}</nowiki> 

message: It looks like this entire scheme needs to be reviewed.  I see templates calling templates calling templates, and it's ugly.  Creating a better series of templates should have been trivial using a bot, and I don't see on-going maintenance as a problem.  Read the above guideline and let's start getting out ideas. -- Netoholic @ 17:19, 13 July 2005 (UTC)
thread_title:  [[Wikipedia:Avoid using meta-templates|Avoid using meta-templates]] 

message: For distinguishing WWII-Japan from other periods (i.e., the current governments), it would be useful to have a little flag icon for :Image:Imperial japan.png. But I can't seem to get it to work using the flagicon template ( produces: ). Help? I don't quite understand how this works. --Fastfission 22:10, 2 August 2005 (UTC)
thread_title:  Getting a new flag added? 

message: See: Wikipedia_talk:Country_referencing_templates#Smaller flags Bart l 20:45, 7 September 2005 (UTC)
thread_title:  Smaller flags 

message: It seems to me this project should be using more template redirects.  For example, I just changed Template:Country flag IOC alias USA, Template:Country flag ISO alias USA, and Template:Country flag alias USA to redirect to Template:Country flag alias United States, since they all have the same semantic meaning.
Also, could someone check my changes to Template:Country flagISO?  I don't think I broke anything—can someone else confirm that?  dbenbenn | talk 19:49, 10 September 2005 (UTC)
thread_title:  Template redirects 

message: Currently, many templates (for example those for Austria or the French dependencies) use older flags, while .svg flags already exist. Furthermore, Guadeloupe and Martinique templates currently use inofficial flags; the official flags are the same as France's. I really don't have a clue as to how to change that, though.  ナイトスタリオン ✉ 09:35, 23 October 2005 (UTC)
replies: text: You might try the  tool. (The last two parameters are for the ISO and IOC countyry codes; "AUT" is the ISO code.)  (SEWilco 21:16, 23 October 2005 (UTC)
replies: text: How exactly does that work? I'm afraid I really don't know too much about the more complicated parts about how the Flag Template currently works... Best I can do is compile a list of outdated flags still used in the template.  ナイトスタリオン ✉ 10:07, 24 October 2005 (UTC)

text: Never mind, I just figured out I can actually edit the templates via "Template:country flag alias +++++". I'll get to work, then.  ナイトスタリオン ✉ 11:12, 24 October 2005 (UTC)
replies: text:  You can put the above "countryedit" incantation in any edit page, hit Preview, and in the result there are Edit links.  Often easiest if you open the Edit link in a new window/tab.  The ISO section will report the ISO abbreviation, which you can then put in the 2nd parameter field; you might have to look up the IOC abbreviation if it is not obvious.  Some flag image or talk pages already have relevant countryedit incantations, particularly some countries which have several names.  (SEWilco 16:53, 24 October 2005 (UTC)
thread_title:  Flags 

message:    
The first brings VGB as code and uses a flag different to the following two. The flag used by flag|WLF is not the VGB flag even if the code is like that. It seems as if the design of the templates could be improved. If WLF is passed as a param it should used directly as output. Showing VGB should not be possible. Maybe a lot of meta-templates are superfluoes then. Tobias Conradi (Talk) 06:28, 15 November 2005 (UTC)
replies: text: Showing VGB is possible if that is what is stored for the alias WLF.  It looks like that is wrong, so do you want to fix it or want someone else to do it?  It is a French overseas collectivity, but it has its own flag so its own flag should be used.  (SEWilco 12:27, 15 November 2005 (UTC)
replies: text: I would like to change the design. if WLF is the param than WLF should be shown.  For the flag thing: I still miss an explanation why different flags are shown for WLF / why this "(bug?) feature" needs to exist. Tobias Conradi (Talk) 13:38, 15 November 2005 (UTC)
replies: text:  The design produces a consistent result.  Try several names for the United States.  I changed the WLF flag back to its own flag, although one editor noted that the French flag is the official flag.  If you don't want the label WLF, perhaps you should use  or .  (SEWilco 13:59, 15 November 2005 (UTC)

text: The official flag of Wallis and Futuna is the Flag of France. In my opinion, the standard template  should show the official flag. We could use  or  for people who want to use the inofficial flag.  ナイトスタリオン ✉ 13:57, 15 November 2005 (UTC)
replies: text:  Back to France, then.  (SEWilco 14:06, 15 November 2005 (UTC)
replies: text:  Aye. Thanks. Same holds true for a number of other dependencies of France and Australia, but I've got them on my watchlist, anyway. ;)  ナイトスタリオン ✉ 14:24, 15 November 2005 (UTC)
replies: text:  No.  We need to be able to distinguish these French territories with their own flag from France proper, as with all other dependent territories with their own flags, unofficial or not.  Denelson83  02:37, 21 May 2006 (UTC)
thread_title: Improve template design?

message: As of this writing, I have not been able to find a suitable template for displaying the IOC three-letter country code with a link to the country, instead of the full linked-to country name. So I inserted the necessary code into my own Template:Biathlon flagresult (Talk). --Wernher 23:31, 15 November 2005 (UTC)
thread_title: IOC/ISO code with link to country name

message: I propose phasing out the templates country shortname alias xxx. Right now almost all of these templates equal xxx anyway, so I don't see why we need them. Using them in implementation merely adds another layer of editing, plus this means people can "edit" the displayed country names in a page without actually editing the page. Chanheigeorge 01:09, 20 November 2005 (UTC)
replies: text: One reason they are needed is in your observation that "almost all" are the same; the exceptions is one reason.  Also your phrasing "these templates equal xxx" suggests that you're referring to use of three-letter templates, but the information is also used by other template incantations, such as giving  the name of a country rather than a three-letter country code.  (SEWilco 05:55, 20 November 2005 (UTC)

text: Incidentally, you may be confusing the template array country_shortname_alias_xxx with a template.  This array is a data storage tool and not a template.  It also is considered temporary, until proposed data storage tools are created.  (SEWilco 05:55, 20 November 2005 (UTC)
thread_title:  country shortname alias xxx 

message: Are there flag templates for international organisations such as the UN, EU, the Commonwealth, Nato and Red Cross? They would be useful for lists. --cj | talk 07:56, 26 November 2005 (UTC)
replies: text: Most of those aren't countries.  If they are needed, create separate templates for such non-country symbols.  Perhaps they should be documented at the top of the Talk page for the organization's article.  (SEWilco 03:38, 28 November 2005 (UTC)
thread_title: NGOs and other Multinationals

message: The entire templating system around this project is in violation of the WP:AUM policy.  The developers have confirmed that templates calling or within other templates cause extra processing.  This policy has been reaffirmed by the Arbitrators as valid.   The template namespace is not a general data repository.  Please begin discussing transition plans towards use one-level templates to perform these functions. -- Netoholic @ 23:00, 10 January 2006 (UTC)
replies: text: no fear. WP:AUM is more than only server load. And even the server load issue is less an issue if the metatemplates are not edited. Maybe protect the metatemplates from editing as is said in WP:AUM -> Alternatives -> Protecting. Tobias Conradi (Talk) 22:57, 11 January 2006 (UTC)
thread_title:  [[Wikipedia:Avoid using meta-templates]] 

message: I've noticed that the project is lacking a template page for the Canadian Red Ensign flag used by Canada in various roles before the modern maple leaf flag.  Currently, there are two Red Ensign flags in use here, :Image:redensign.png (more commonly used, but contrary to project goals) and :Image:Canadian Red Ensign.svg (in accordance to project policy, from Commons).  Some help in adding this flag would be appreciated. kelvSYC 08:01, 26 February 2006 (UTC)
thread_title:  Adding the Canadian Red Ensign 

message:  brings TTO
while  brings UK
easier both should bring the Name or both the ISO 3166-1 alpha-3 code.
BTW how do I get the full name?
Tobias Conradi (Talk) 16:33, 2 March 2006 (UTC)
replies: text: The flag template doesn't do the name, you have to use the country template. for example   result in  . --Sherool (talk) 11:59, 6 April 2006 (UTC)
thread_title:  issue with flag| 

message: I've been working on cleaning out the old redundant png and gif (and even soem jpg) flags, updating the various alias templates as I go, but I've noticed some inconsistencies. Some countries have theyr state flag as the default one, while most have the civil flag. Case in point  who's civil flag is actualy this: . Is this correct? I'm no flag buff, but my understanding is that only the Government and/or military tend to fly the state flag of a nation so we should be using the civil flag as default no? Or do some nations use the state flag as the de-facto standard for everyting? --Sherool (talk) 11:47, 6 April 2006 (UTC)
replies: text: Some, e.g. Venezuela, do. —Nightstallion (?) Seen this already? 19:56, 6 April 2006 (UTC)
replies: text: Hmm, well if there is no definitive rule I'll just asume the people "in the know" have made sure the right versions of the flags are used by now. I know I would find it wierd if the Norwegian state flag was used all over the place so I guess most such mistakes would have been weeded out by now, except we might not have a whole lot of editors from a microstate like San Marino for example so I figured I'd check. --Sherool (talk) 06:49, 7 April 2006 (UTC)
thread_title:  State vs civil flags 

message: There are many uses of flags attached to personal names, e.g. World_Series_of_Poker#Main_Event_Overview. In these cases people have frequently used the construct
 Steve Dannenmann
to produce " Steve Dannenmann". Is there a way to produce the same effect using the templates that currently exist? Using the 'flagicon' template for the first part is feasable, except that the tooltip/alternate text would be 'United States' rather than 'American'. Is there a way to configure the tooltip? --Deadlock 12:47, 9 April 2006 (UTC)
replies: text: should be US-American. Tobias Conradi (Talk) 12:24, 22 May 2006 (UTC)
replies: text: That doesn't actually answer the question. Deadlock 16:03, 23 May 2006 (UTC)
thread_title: Usage for Personal Nationality

message: What's the difference between the , ,  and  series of shorthand templates? And isn't there one which gives only the flag? -- Jao 21:41, 31 May 2006 (UTC)
replies: text: AFAIK, b is for basketball, f for football, h for ice hockey, and  gets you just the flag. —Nightstallion (?) 17:51, 5 June 2006 (UTC)
thread_title: Shorthand templates

message: United Arab Emirates in short should be EAU (use by FIFA code),or  commonly UAE. But none of it create flag. Matt86hk talk 07:20, 4 June 2006 (UTC)
replies: text: EAU is use by Panini. ISO-code is AE or ARE. All cannot create flagicon. Matt86hk talk 07:40, 4 June 2006 (UTC)

text: Same problem: Honduras (HON), Zambia (ZAM) Matt86hk talk 14:01, 4 June 2006 (UTC)
thread_title:  United Arab Emirates 

message: The U.S. flag does not compress well to 20px or 22px.  Instead of using the template I have manually replaced it a few times with a special 20px or 22px image of the flag that straightens its horizontal lines at such a small resolution.  This would be a tedious process to do many times, not to mention highly inefficient. Would there be any way to automatically do this through the template?  So that at the default 22px size the 22px image is loaded instead of the large image compressed to 22px?
Here's what I mean...
20 pixels:  versus 
22 pixels:  versus  – note that the latter, noticeably inferior image uses .
Any help would be greatly appreciated.
Uris 22:09, 15 June 2006 (UTC)
replies: text: See also User talk:Uris#flagicon /wangi 22:30, 15 June 2006 (UTC)
thread_title: Using Diff't Image at Diff't Resolutions

message: I'd like to add a &nonbreakingspace; between the flag and the country name, but I'm apparently not smart enough which of the numerous sub-templates I have to edit in which way to make that happen... —Nightstallion (?) 15:26, 3 July 2006 (UTC)
thread_title:  Formatting help... 

message: I was wondering if it would be a good idea to have flagFIFA templates for FIFA contry codes?  Football (soccer) articles currently use templates such as , , , , etc. (see Wikipedia:WikiProject Football/National teams/Referencing templates) and as editors won't always update all four at the same time, I think it'd be better if they all shared a template. Also, the football articles currently seem to use a mix of FIFA and ISO codes. (They will use , for example.) --StuartBrady (Talk) 15:44, 1 September 2006 (UTC)
thread_title:  FIFA country codes 

message: the current system for country and flag names templates are using an archane array system that is inefficient and may result in long list of included templates in an article (see InuYasha for example. This may be fixed by changing to an #switch construct in one template instead (example template: ), where it only need one template per type of resut wanted (full name, short name, image name etc...). This may also remove the need of grabbing the country name before grabbing the image name, as the image name may be grabbed directly from it's template. The major work needed is to compile the list of country names, and it's alternatives, you may start by using  wich is compiled from the data from ISO_3166-1, and will result in the name specified for the country on that page using one of the codes or the name of the country as parameter. When all this is done, all that need to be done, is to replacing the templates and get a bored admin to delete all obsolete templates lying around (a couple of hundred I think). →AzaToth 20:45, 6 October 2006 (UTC)
replies: text: Sounds OK.  When I created the current implementation it was expected to be a temporary solution which used the current technology, and replacement with better technology is expected.  The #switch implementation has several advantages.  Are there technical problems with a #switch with hundreds of entries?  Maybe w:Village Pump(technical) could check a sample.  All the  references would become obsolete so would require cleanout.  (SEWilco 17:29, 27 October 2006 (UTC)
replies: text: Don't do it. By turning it into one big #switch template you'll run into the Wikipedia:Template limits pretty fast on pages (lists) that contain a few hundred flags. See some related debate on Template talk:Length conversion. So for the time beeing at least the lesser of two evils still seems to be the current multi template solution. --Sherool (talk) 07:45, 13 December 2006 (UTC)
replies: text: I'm not surprised.  I wonder how Jimbo's wiki data proposal is coming along.  (SEWilco 04:34, 14 December 2006 (UTC)

text: Actually, the specific "Template limits" above is a 2MB pre-include limit on the code (not the images).  A test page with almost all country flags is presently "Pre-expand include size: 511749 bytes".  So if the template code grows about four times larger than it presently is, such a ridiculously full page will have trouble.  But few pages need all nations, much less their flags.  A "Group of 21" page would not be as close to the limit.  (SEWilco 07:02, 14 December 2006 (UTC)

text: Can you give examples of these lists? Many flags are 5KB or less and, even assuming all larger flags of 16KB, there would need to be about 128 flags for it to run into the limits. Would even List of flags run into problems here? Gallery of sovereign-state flags does not consist of templates, and List of flags too could be made into an image gallery, which I think would be more appropriate anyway. What lists would run into the template limits? —Centrx→talk • 05:33, 14 December 2006 (UTC)
replies: text: It's not the size of the flag image, it's the total size of all transcluded text (the amount of data from other pages (templates) that must be loaded in order to render the page). On Wikipedia the limit is set to 2048000 bytes (2Mb) per Wikipedia:Template limits. The current "metatemplate" system weigh in at about ~240 byte, meaning you can transclude it some 8500 times on the same page before you start running into trouble. However if you put the code for 128-ish flags in one template it will be in the 30Kb range (a liberal estimate, considering you need lots of extra parser function code to obtain the same functionality), meaning you can suddely only transclude the template ~66 times on any one page before you hit the limit, and that is asuming there is no other transclution going on, stub templates, infoboxes, cite templates, navigation boxes and what not all count towards the same limit as well. To see what happens try calling for example  (a 23Kb template) about 90 times in a sandbox somewhere. --Sherool (talk) 07:19, 14 December 2006 (UTC)
thread_title:  Major code cleanup request 

message: this seems like a fairly high-risk template.. should it be (semi)-protected? Mlm42 09:03, 1 November 2006 (UTC)
thread_title:  protect? 

message: This code:
    
United States	

yields
United States	
which, at least on my browser (IE6), has the two instances of "United States" slightly misaligned.
I suspect that what is going on is that (a) the image's top is being aligned with the right-hand text's top, and that (b) the right-hand table entry is (because of the image) slightly taller than the left, and they're being aligned on either the middle or the bottom.
Is there any way to fix this?  It makes tables with flagcountry entries look off kilter.
Thanks
Jordan Brown 08:48, 6 December 2006 (UTC)
thread_title:  alignment of flagcountry references in tables? 

message: Moved from user talk:Ligulem:
Greetings Ligulem
I notice that you've protected . As soon as I realized something was wrong with the new file, I contacted the uploader and the file seems to be ok now. Would you mind updating so the file used becomes :Image:Flag of Pakistan (bordered).svg instead? Regards. Valentinian (talk) / (contribs) 00:49, 6 December 2006 (UTC)
replies: text: I vaguely remember having seen some disagreement over using bordered flags in the past. What is the consensus? Should this change be made or not? As being the protecting admin, I will fullfill the request of Valentinian if there is consensus to do this (or lack of opposition). --Ligulem 09:44, 6 December 2006 (UTC)
replies: text: The problem seems to have been that these images were created in batches rather than all at once. Glancing at List of IOC country codes and ISO 3166-1, it seemed rather apparent to me that people have shifted to these images when they became available, so I have lately been updating a few "missing" entries from the list without any complaints. The most obvious cases missing were Pakistan, Bahrain and Qatar. These images are not intended for use in article space, but they are very useful in lists using the    feature where the flags of Japan, Cyprus etc. used to stick out without any form of bordered feature. Same applies to Pakistan due to the white stripe. Couldn't this be solved by simply using the    feature? Sure, but the lists often become a jumbled mess with one editor adding the border manually and another editor abstaining / forgetting. Examples with both solutions used in the same list are not pretty. People often forget that if a list of flags is composed of both bordered and non-bordered versions, flags to which a border is manually added should be sized 2px smaller than the other images since the border takes up 2x1 pixel by itself. I must admit to be a bit puzzled why this picture in particular needs protection compared to many other flags that are more controversial or compared to high-use material like the stub templates that are almost never protected. I have never seen any complaints when stub templates were upgraded to the bordered versions. Regards. Valentinian (talk) / (contribs) 14:46, 6 December 2006 (UTC)
replies: text: Done --Ligulem 22:00, 15 December 2006 (UTC)
thread_title:  Country flag alias Pakistan: Bordered or not?