Template talk:FlagIOC-2006

From Wikipedia, the free encyclopedia

[edit] Usage

The {{country|Action|CountryName}} template is used to display various information about a country.

  • country|flagIOC: {{country|flagIOC|CountryName}}: Flag icon with text linked to country's Olympics page; name is an International Olympic Committee country code (see List of IOC country codes).
    • Country code usage:
      1. An IOC country code should be used only for general reference to that country's Olympic activities.
        • At present an IOC country code will create a link to that nation's recent Olympics page, as there is no Olympics page for each country.
      2. Names such as flagIOC-2000 should be used for Games which have detailed coverage. This ensures that links will point to specific Games despite future changes.
      3. Use modified country codes such as RUS-SFSR for historical references to Games where a country's reference has changed (ie, different flag).


[edit] Example

  • {{flagIOC-2006|USA}} Template:FlagIOC-2006
  • {{flagIOC-2006|ESP}} Template:FlagIOC-2006
  • {{flagIOC-2006|CHN}} Template:FlagIOC-2006

Where is Nepal Flag?

[edit] Consider change in size

I think an image size of 25x17 or 24x16 would be better. With the 25x14px dimensions the actually displayed width varies quite a lot (between 21 and 25 px for most flags), which doesn't really produce a clean look (just look at the example above).

Many flags have a 3:2 aspect ratio, very few are less wide. The line height stays the same for pictures up to 17px in height, so I'd opt for 24x16px or 25x17px. --Mx2000 17:12, 20 February 2006 (UTC)

Changed it. --Mx2000 09:57, 21 February 2006 (UTC)

Uris, with 25x14 square flags like Template:FlagIOC-2006 appear much smaller than wide flags like Template:FlagIOC-2006. 25x14 is an aspect ratio of 1.78:1, few flags are that wide. With 25x17, 90% of the flags are displayed with the same width and the line height stays the same for everyone, which IHMO creates a much cleaner look in listings. An alternative option would be 24x16, its a little wider than 25x17, and the US flag remains 13px tall (for a pixel-perfect display of the 13 stripes) --Mx2000 12:20, 26 February 2006 (UTC)

It looks like you changed without anyone else commenting here. 25x17px gives Austria's flag a much larger surface area than Canada or Australia's flag. You say it keeps most flags the same width, but is that the goal? The goal should be the same area (widthxheight). 25x14px is a good compromise keeping the different flags sizes roughly equal in pixels (other than Switzerland, which is hard to help since it is square).
Your change:
Germany – becomes
Austria – becomes
Canada – becomes
Australia – becomes
Your change made the German-speaking countries' flags much larger in pixel area than the English-speaking countries. At 25x14px, the total pixels is roughly the same for nearly all flags. Uris 15:27, 26 February 2006 (UTC)
Well, unlike you I did comment here and waited for a while before changing it. Also I don't think the goal here is to create politically correct equal surface area flags (and if so, what about the poor people from Nepal?). Also this isn't some kind of English-vs-German fight for pixel supremacy (at least not for me). Take a look at List of sovereign states, I'd guess that at least half of the flags are around 3:2. This template is primarily used in (vertical) listings, and it looks definitly better when the flags are all the same width (which is probably virtually all publications use flags cropped to a fixed aspect ratio, including the official site [1]), at the same time it's important to avoid variing line heights. 25x17 achieves all that. Besides, get your maths straight. With a 25x17 bounding box, the Canadian flag is less than 25% smaller than the Chinese flag or any other 3:2 flag (with 25x14, the US flag is 10% bigger). That's nowhere near "nearly twice the surface area". --Mx2000 16:58, 26 February 2006 (UTC)
I changed the flag size to 20px on all of these templates (which means they will all have a length of 20, but their heights will differ). Maybe you guys didn't notice, but there are over 40 Olympic medal count pages, all of which but 2002 and 2006 use the flag format I am talking about. It would be in our best interest to not make their styles different. Uniformity makes Wikipedia look more professional. On top of that, a fixed length just looks better because all of the text after the flags start at the same point. It just looks cleaner. King nothing 2 06:43, 5 March 2006 (UTC)