![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
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))
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))
Discussion intitally moved from Wikipedia:Village pump (news)
This is the original discussion which introduced the country icon issues.
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:
One suggestion would be to use fully-spelled out names like {{AUSTRALIA}}
. 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)
There are some cases where non-sovereign or non-state entities engage in international activities (eg, Scotland has its own sports teams, Puerto Rico has its own Olympic team, Taiwan competes as " Chinese Taipei"). If we wanted to add flags to the Francophonie article, we'd need flag templates for Quebec and French Community of Belgium. So neither ISO 3166-1 and List of IOC country codes really fill all the needs... and we might very well want to have flag templates for US state flags or Canadian province flags, for an article on election results for instance.
So, ideally, some general solution should be invented, and without requiring memorization of hundreds of cryptic codes.
Right now dozens of flag templates have already been created a bit haphazardly, so the reason for posting here was to try to gather consensus and ideas. -- Curps 12:44, 1 Apr 2005 (UTC)
Well, Please dont delete the template untill we get a vote here. I want to provide information in both articles regarding the man I dont want to copy paste material as if any change happens it should affect the other page instantly. -- Cool Cat My Talk 12:55, 1 Apr 2005 (UTC)
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 {{AUS}}
Australia )
Australia
Austria
Bahamas
Belgium
Canada
China
Denmark
Egypt
France
Fiji
Germany
Greece
India
Italy
Japan
Mexico
{{MOC}}
Monaco
Malaysia
Netherlands
New Zealand
Panama
Philippines
Portugal
Spain
Sweden
{{SWI}}
Thailand
Taiwan
Sri Lanka
Soviet Union
Vatican City
United Kingdom
England
Ireland
Scotland
Wales
Bermuda
{{CEU}}
American Samoa
{{AZO}}
Maldives
Palau
Sometimes, this one has a gray box and dotted lines, and sometimes NOT... Why?
{{CEU}}
Guam
Chuuk (or
Truk Lagoon)
Tahiti, French Polynesia
GeoFan49 06:38, 17 December 2006 (UTC) :: Puzzled....
Think I have just found a solution, with some testing here: User:GeoFan49/Flagtest
Well, trying
Template:Flag. There is an assortment of file names for flags. Such as
Image:Flag of Canada.svg (
Canada) while USA's seems to be
Image:us flag large.png (
US) (
SEWilco 20:26, 5 Apr 2005 (UTC))
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)
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))
During the update done by SEWilcoBot on the 26th of June, the distiction between {{
TWN}} (which should appear as "
Taiwan
Taiwan" but currently appears as "
Taiwan") and {{
ROC}} (which should appear as "
Republic of China
Republic of China" but currently appears as "
Republic of China") 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)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Taiwan}} | Edit | Image of flag |
Article | {{country_alias_Taiwan}} | {{country_alias_Taiwan}} | Edit | Article name |
Label | {{country_label_alias_Taiwan}} | {{country_label_alias_Taiwan}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Taiwan}} | {{country_shortname_alias_Taiwan}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Taiwan}} | Edit | ISO country code for Taiwan | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_TWN}} | Edit | Image of flag |
Article | {{country_alias_TWN}} | {{country_alias_TWN}} | Edit | Article name |
Label | {{country_label_alias_TWN}} | {{country_label_alias_TWN}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_TWN}} | {{country_shortname_alias_TWN}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Republic of China}} | Edit | Image of flag |
Article | {{country_alias_Republic of China}} | {{country_alias_Republic of China}} | Edit | Article name |
Label | {{country_label_alias_Republic of China}} | {{country_label_alias_Republic of China}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Republic of China}} | {{country_shortname_alias_Republic of China}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Republic of China}} | Edit | ISO country code for Republic of China | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_ROC}} | Edit | Image of flag |
Article | {{country_alias_ROC}} | {{country_alias_ROC}} | Edit | Article name |
Label | {{country_label_alias_ROC}} | {{country_label_alias_ROC}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_ROC}} | {{country_shortname_alias_ROC}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_ROC}} | Edit | ISO country code for ROC | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
This issue cropped up again with the recent updates. {{ Country data Taiwan}} no longer re-directs to {{ Country data Republic of China}}. -- 129.241.210.227 00:08, 1 February 2007 (UTC)
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 {{IND}} to {{IND (NYCS)}} for him. I hope I could help with that, even though I just stumbled upon this page... Nightstallion 19:50, 23 May 2005 (UTC)
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))
Taking the template name "ISO" is a bit presumptuous. There are a lot of ISO standards. {{ ISO flag}} or {{ ISO 3166-2 flag}} would be better names. Gdr 11:00, 2005 Jun 9 (UTC)
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))
It has been pointed out that some contexts require use of different flags for countries. ( SEWilco 04:55, 10 Jun 2005 (UTC))
Suggested flag modifier addresses:
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.
(moved from project page - SEWilco 23:54, 14 Jun 2005 (UTC))
I strongly recommend that Template:Flag and your other two templates mentioned above be renamed because a number of users are confusing this with {{PD-flag}} when tagging images. In other words, the page Template:Flag should actually redirect to Template:PD-flag. Thanks. Zzyzx11 (Talk) 05:56, 21 May 2005 (UTC)
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)
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 ({{flagicon|Imperial japan}} produces: {{
flagicon}}). Help? I don't quite understand how this works. --
Fastfission
22:10, 2 August 2005 (UTC)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag | {{flagicon|Japan-Naval}} |
{{country_flag_alias_Japan-Naval}} | Edit | Image of flag |
Article | {{country_alias_Japan-Naval}} | {{country_alias_Japan-Naval}} | Edit | Article name |
Label | {{country_label_alias_Japan-Naval}} | {{country_label_alias_Japan-Naval}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Japan-Naval}} | {{country_shortname_alias_Japan-Naval}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Japan-Naval}} | Edit | ISO country code for Japan-Naval | |
Code:ISO | {{country_ISO_code_alias_None}} | Edit | ISO country code for None | |
Flag | {{country_flag_ISO_alias_None}} | {{country_flag_ISO_alias_None}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_None}} | {{country_ISO_alias_None}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_None}} | {{country_flag_IOC_alias_None}} | Edit | IOC flag image |
Article | Lua error in Module:Country_alias at line 202: Invalid country alias: None. | {{country_IOC_alias_None}} | Edit | Article name for IOC use |
See: Wikipedia_talk:Country_referencing_templates#Smaller flags Bart l 20:45, 7 September 2005 (UTC)
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)
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)
{{flag|WLF}} {{flag|Wallis and Futuna}} {{country|flagcountry|Wallis and Futuna}}
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 [[User_talk:Tobias Conradi|(Talk)]] 06:28, 15 November 2005 (UTC)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_WLF}} | Edit | Image of flag |
Article | {{country_alias_WLF}} | {{country_alias_WLF}} | Edit | Article name |
Label | {{country_label_alias_WLF}} | {{country_label_alias_WLF}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_WLF}} | {{country_shortname_alias_WLF}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Code:ISO | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Flag | {{country_flag_ISO_alias_WLF}} | {{country_flag_ISO_alias_WLF}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_WLF}} | {{country_ISO_alias_WLF}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | None | None | IOC flag image | |
Article | None | None | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Wallis and Futuna}} | Edit | Image of flag |
Article | {{country_alias_Wallis and Futuna}} | {{country_alias_Wallis and Futuna}} | Edit | Article name |
Label | {{country_label_alias_Wallis and Futuna}} | {{country_label_alias_Wallis and Futuna}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Wallis and Futuna}} | {{country_shortname_alias_Wallis and Futuna}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Wallis and Futuna}} | Edit | ISO country code for Wallis and Futuna | |
Code:ISO | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Flag | {{country_flag_ISO_alias_WLF}} | {{country_flag_ISO_alias_WLF}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_WLF}} | {{country_ISO_alias_WLF}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | None | None | IOC flag image | |
Article | None | None | Article name for IOC use |
I've been using Template:Flagcountry for a while, and I think there are some problems with it. Here's the template:
Basically there are four parts here:
Obviously, for each country, there is a unique image wikilink to its flag, and a unique wiki-link to its article (plus maybe a few redirects), so it makes sense to implement them using templates. However, for the other two, the problems are:
There have recently been some debate over what Template:Country shortname alias China should be. My point is, there is no unique answer! All of the above are acceptable displayed names.
So I propose we should have a template like this:
So it can suit everybody's needs. I guess we can call it Template:Flagcountry size name, given that it's similar to Template:Flagcountry, but requires two inputs, {{{1}}} = size and {{{2}}} = name. Ther users can use the template to display something like:
Chanheigeorge 00:20, 28 October 2005 (UTC)
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)
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)
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)
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)
{{flag|BHR}} does not work, looks like this:
BHR
{{flag|IOT}} does not work correct, still shows the old .png flag
IOT
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)
{{flag|Trinidad and Tobago}} brings TTO while {{flag|United Kingdom}} 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)
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
San Marino 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)
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
[[Image:Flag of the United States.svg|20px|American]] [[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)
What's the difference between the {{SWE}}, {{SWEb}}, {{SWEf}} and {{SWEh}} series of shorthand templates? And isn't there one which gives only the flag? -- Jao 21:41, 31 May 2006 (UTC)
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)
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 {{
flagicon}}.
Any help would be greatly appreciated.
Uris 22:09, 15 June 2006 (UTC)
I know a lot of people (on Olympics pages, for example) are quite picky about using historical flags. Could we make our flag templates use the #if syntax so that you could optionally specify a year, and choose an appropriate flag from it. This means that someone could, for the USA flag, put {{flag|USA|1942}} and the template could detect that the date is between 1912 and 1959 and therefore use the 48-state flag. I'd be willing to try to implement it if people think it's a good idea. Moszczynski 19:13, 23 June 2006 (UTC)
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... — Nightst a llion (?) 15:26, 3 July 2006 (UTC)
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 {{ GERf}}, {{ GERf2}}, {{ GERwf}}, {{ GERwf2}}, 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 {{flagicon|GER}}, for example.) -- StuartBrady ( Talk) 15:44, 1 September 2006 (UTC)
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: {{ Country name alias}}), 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 {{ Country name alias}} 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). → A z a Toth 20:45, 6 October 2006 (UTC)
this seems like a fairly high-risk template.. should it be (semi)-protected? Mlm42 09:03, 1 November 2006 (UTC)
This code:
{| |[[United States]] |{{flagcountry|USA}} |- |}
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)
Moved from user talk:Ligulem:
Greetings Ligulem
I notice that you've protected {{ Country flag alias Pakistan}}. 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)
{{flagicon| }}
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 {{border| }}
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)![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
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))
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))
Discussion intitally moved from Wikipedia:Village pump (news)
This is the original discussion which introduced the country icon issues.
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:
One suggestion would be to use fully-spelled out names like {{AUSTRALIA}}
. 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)
There are some cases where non-sovereign or non-state entities engage in international activities (eg, Scotland has its own sports teams, Puerto Rico has its own Olympic team, Taiwan competes as " Chinese Taipei"). If we wanted to add flags to the Francophonie article, we'd need flag templates for Quebec and French Community of Belgium. So neither ISO 3166-1 and List of IOC country codes really fill all the needs... and we might very well want to have flag templates for US state flags or Canadian province flags, for an article on election results for instance.
So, ideally, some general solution should be invented, and without requiring memorization of hundreds of cryptic codes.
Right now dozens of flag templates have already been created a bit haphazardly, so the reason for posting here was to try to gather consensus and ideas. -- Curps 12:44, 1 Apr 2005 (UTC)
Well, Please dont delete the template untill we get a vote here. I want to provide information in both articles regarding the man I dont want to copy paste material as if any change happens it should affect the other page instantly. -- Cool Cat My Talk 12:55, 1 Apr 2005 (UTC)
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 {{AUS}}
Australia )
Australia
Austria
Bahamas
Belgium
Canada
China
Denmark
Egypt
France
Fiji
Germany
Greece
India
Italy
Japan
Mexico
{{MOC}}
Monaco
Malaysia
Netherlands
New Zealand
Panama
Philippines
Portugal
Spain
Sweden
{{SWI}}
Thailand
Taiwan
Sri Lanka
Soviet Union
Vatican City
United Kingdom
England
Ireland
Scotland
Wales
Bermuda
{{CEU}}
American Samoa
{{AZO}}
Maldives
Palau
Sometimes, this one has a gray box and dotted lines, and sometimes NOT... Why?
{{CEU}}
Guam
Chuuk (or
Truk Lagoon)
Tahiti, French Polynesia
GeoFan49 06:38, 17 December 2006 (UTC) :: Puzzled....
Think I have just found a solution, with some testing here: User:GeoFan49/Flagtest
Well, trying
Template:Flag. There is an assortment of file names for flags. Such as
Image:Flag of Canada.svg (
Canada) while USA's seems to be
Image:us flag large.png (
US) (
SEWilco 20:26, 5 Apr 2005 (UTC))
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)
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))
During the update done by SEWilcoBot on the 26th of June, the distiction between {{
TWN}} (which should appear as "
Taiwan
Taiwan" but currently appears as "
Taiwan") and {{
ROC}} (which should appear as "
Republic of China
Republic of China" but currently appears as "
Republic of China") 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)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Taiwan}} | Edit | Image of flag |
Article | {{country_alias_Taiwan}} | {{country_alias_Taiwan}} | Edit | Article name |
Label | {{country_label_alias_Taiwan}} | {{country_label_alias_Taiwan}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Taiwan}} | {{country_shortname_alias_Taiwan}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Taiwan}} | Edit | ISO country code for Taiwan | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_TWN}} | Edit | Image of flag |
Article | {{country_alias_TWN}} | {{country_alias_TWN}} | Edit | Article name |
Label | {{country_label_alias_TWN}} | {{country_label_alias_TWN}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_TWN}} | {{country_shortname_alias_TWN}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Republic of China}} | Edit | Image of flag |
Article | {{country_alias_Republic of China}} | {{country_alias_Republic of China}} | Edit | Article name |
Label | {{country_label_alias_Republic of China}} | {{country_label_alias_Republic of China}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Republic of China}} | {{country_shortname_alias_Republic of China}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Republic of China}} | Edit | ISO country code for Republic of China | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_ROC}} | Edit | Image of flag |
Article | {{country_alias_ROC}} | {{country_alias_ROC}} | Edit | Article name |
Label | {{country_label_alias_ROC}} | {{country_label_alias_ROC}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_ROC}} | {{country_shortname_alias_ROC}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_ROC}} | Edit | ISO country code for ROC | |
Code:ISO | {{country_ISO_code_alias_TWN}} | Edit | ISO country code for TWN | |
Flag | {{country_flag_ISO_alias_TWN}} | {{country_flag_ISO_alias_TWN}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_TWN}} | {{country_ISO_alias_TWN}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_TPE}} | {{country_flag_IOC_alias_TPE}} | Edit | IOC flag image |
Article | ![]() |
{{country_IOC_alias_TPE}} | Edit | Article name for IOC use |
This issue cropped up again with the recent updates. {{ Country data Taiwan}} no longer re-directs to {{ Country data Republic of China}}. -- 129.241.210.227 00:08, 1 February 2007 (UTC)
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 {{IND}} to {{IND (NYCS)}} for him. I hope I could help with that, even though I just stumbled upon this page... Nightstallion 19:50, 23 May 2005 (UTC)
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))
Taking the template name "ISO" is a bit presumptuous. There are a lot of ISO standards. {{ ISO flag}} or {{ ISO 3166-2 flag}} would be better names. Gdr 11:00, 2005 Jun 9 (UTC)
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))
It has been pointed out that some contexts require use of different flags for countries. ( SEWilco 04:55, 10 Jun 2005 (UTC))
Suggested flag modifier addresses:
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.
(moved from project page - SEWilco 23:54, 14 Jun 2005 (UTC))
I strongly recommend that Template:Flag and your other two templates mentioned above be renamed because a number of users are confusing this with {{PD-flag}} when tagging images. In other words, the page Template:Flag should actually redirect to Template:PD-flag. Thanks. Zzyzx11 (Talk) 05:56, 21 May 2005 (UTC)
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)
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 ({{flagicon|Imperial japan}} produces: {{
flagicon}}). Help? I don't quite understand how this works. --
Fastfission
22:10, 2 August 2005 (UTC)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag | {{flagicon|Japan-Naval}} |
{{country_flag_alias_Japan-Naval}} | Edit | Image of flag |
Article | {{country_alias_Japan-Naval}} | {{country_alias_Japan-Naval}} | Edit | Article name |
Label | {{country_label_alias_Japan-Naval}} | {{country_label_alias_Japan-Naval}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Japan-Naval}} | {{country_shortname_alias_Japan-Naval}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Japan-Naval}} | Edit | ISO country code for Japan-Naval | |
Code:ISO | {{country_ISO_code_alias_None}} | Edit | ISO country code for None | |
Flag | {{country_flag_ISO_alias_None}} | {{country_flag_ISO_alias_None}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_None}} | {{country_ISO_alias_None}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | {{country_flag_IOC_alias_None}} | {{country_flag_IOC_alias_None}} | Edit | IOC flag image |
Article | Lua error in Module:Country_alias at line 202: Invalid country alias: None. | {{country_IOC_alias_None}} | Edit | Article name for IOC use |
See: Wikipedia_talk:Country_referencing_templates#Smaller flags Bart l 20:45, 7 September 2005 (UTC)
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)
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)
{{flag|WLF}} {{flag|Wallis and Futuna}} {{country|flagcountry|Wallis and Futuna}}
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 [[User_talk:Tobias Conradi|(Talk)]] 06:28, 15 November 2005 (UTC)
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_WLF}} | Edit | Image of flag |
Article | {{country_alias_WLF}} | {{country_alias_WLF}} | Edit | Article name |
Label | {{country_label_alias_WLF}} | {{country_label_alias_WLF}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_WLF}} | {{country_shortname_alias_WLF}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Code:ISO | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Flag | {{country_flag_ISO_alias_WLF}} | {{country_flag_ISO_alias_WLF}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_WLF}} | {{country_ISO_alias_WLF}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | None | None | IOC flag image | |
Article | None | None | Article name for IOC use |
Item | Usage | Content | Edit | Description |
---|---|---|---|---|
Flag |
![]() |
{{country_flag_alias_Wallis and Futuna}} | Edit | Image of flag |
Article | {{country_alias_Wallis and Futuna}} | {{country_alias_Wallis and Futuna}} | Edit | Article name |
Label | {{country_label_alias_Wallis and Futuna}} | {{country_label_alias_Wallis and Futuna}} | Edit | Short label (ie, ISO abbrev.) |
Common name | {{country_shortname_alias_Wallis and Futuna}} | {{country_shortname_alias_Wallis and Futuna}} | Edit | Common short name |
ISO country code usage | ||||
Code:Country | {{country_ISO_code_alias_Wallis and Futuna}} | Edit | ISO country code for Wallis and Futuna | |
Code:ISO | {{country_ISO_code_alias_WLF}} | Edit | ISO country code for WLF | |
Flag | {{country_flag_ISO_alias_WLF}} | {{country_flag_ISO_alias_WLF}} | Edit | Flag image for {{ ISO|flag| ISOabbrev}} |
Article | {{country_ISO_alias_WLF}} | {{country_ISO_alias_WLF}} | Edit | Article name for {{ ISO|flag| ISOabbrev}} |
Olympic Games usage | ||||
Flag | None | None | IOC flag image | |
Article | None | None | Article name for IOC use |
I've been using Template:Flagcountry for a while, and I think there are some problems with it. Here's the template:
Basically there are four parts here:
Obviously, for each country, there is a unique image wikilink to its flag, and a unique wiki-link to its article (plus maybe a few redirects), so it makes sense to implement them using templates. However, for the other two, the problems are:
There have recently been some debate over what Template:Country shortname alias China should be. My point is, there is no unique answer! All of the above are acceptable displayed names.
So I propose we should have a template like this:
So it can suit everybody's needs. I guess we can call it Template:Flagcountry size name, given that it's similar to Template:Flagcountry, but requires two inputs, {{{1}}} = size and {{{2}}} = name. Ther users can use the template to display something like:
Chanheigeorge 00:20, 28 October 2005 (UTC)
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)
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)
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)
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)
{{flag|BHR}} does not work, looks like this:
BHR
{{flag|IOT}} does not work correct, still shows the old .png flag
IOT
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)
{{flag|Trinidad and Tobago}} brings TTO while {{flag|United Kingdom}} 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)
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
San Marino 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)
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
[[Image:Flag of the United States.svg|20px|American]] [[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)
What's the difference between the {{SWE}}, {{SWEb}}, {{SWEf}} and {{SWEh}} series of shorthand templates? And isn't there one which gives only the flag? -- Jao 21:41, 31 May 2006 (UTC)
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)
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 {{
flagicon}}.
Any help would be greatly appreciated.
Uris 22:09, 15 June 2006 (UTC)
I know a lot of people (on Olympics pages, for example) are quite picky about using historical flags. Could we make our flag templates use the #if syntax so that you could optionally specify a year, and choose an appropriate flag from it. This means that someone could, for the USA flag, put {{flag|USA|1942}} and the template could detect that the date is between 1912 and 1959 and therefore use the 48-state flag. I'd be willing to try to implement it if people think it's a good idea. Moszczynski 19:13, 23 June 2006 (UTC)
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... — Nightst a llion (?) 15:26, 3 July 2006 (UTC)
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 {{ GERf}}, {{ GERf2}}, {{ GERwf}}, {{ GERwf2}}, 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 {{flagicon|GER}}, for example.) -- StuartBrady ( Talk) 15:44, 1 September 2006 (UTC)
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: {{ Country name alias}}), 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 {{ Country name alias}} 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). → A z a Toth 20:45, 6 October 2006 (UTC)
this seems like a fairly high-risk template.. should it be (semi)-protected? Mlm42 09:03, 1 November 2006 (UTC)
This code:
{| |[[United States]] |{{flagcountry|USA}} |- |}
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)
Moved from user talk:Ligulem:
Greetings Ligulem
I notice that you've protected {{ Country flag alias Pakistan}}. 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)
{{flagicon| }}
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 {{border| }}
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)