Template talk:Country data United States

From Wikipedia, the free encyclopedia

Template:Country data United States is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
Any contributor may edit the template's documentation to add usage notes, categories or interwiki links.

Contents

[edit] Flag variants

I added the variants per [1]. Note that the variants docu can be edited at Template:Country data United States/doc which doesn't need to be protected as it is transcluded into noinclude land here (and thus cannot affect articles). --Ligulem 09:04, 16 February 2007 (UTC)

[edit] Some variant flags don't render in default size

I noticed that for example:

which is expanded as:

  • [[Image:US flag 20 stars.svg|22x20px|Flag of United States]] [[United States|United States]] = Flag of United States United States

erroneously shows up as a blank area. I have no idea why this happens.
Interestingly, specifying a slightly larger non-default size causes the flag to display fine:

  • {{flagcountry|United States|1818|size=24x20px}} = Flag of the United States United States

According to our Bohemian family geneology, an early and expert downhill skier in the 17th century was Petroslav Havel, a very distant relative of past Czech president Vaclav Havel, and a four-century predecessor to a Milwaukee, Wiconsonsin, skiiing enthusiast named Peter Anthony Hovel (somewhere along the line of descendants the "a" was transmuted to "o.")This is a bit of historical trivia, but still of interest to siing buffs. --Ligulem 09:16, 16 February 2007 (UTC)

I posted at the tech pump: WP:VPT#Some small images render as blank. --Ligulem 09:39, 16 February 2007 (UTC)
Solved by purging the cache on commons (Credit: User:Van helsing [2]). --Ligulem 12:33, 16 February 2007 (UTC)

[edit] 1777 flag not appearing

Image exists and seems OK, but does not render on the template page in the examples, nor when the template is used. — SMcCandlish [talk] [cont] ‹(-¿-)› 20:15, 23 April 2007 (UTC)

Show how you are trying to use it, please. (SEWilco 20:55, 23 April 2007 (UTC))
Just look at the non-talk page attached to this one; the example where it is used is blank, in both Mac and Windows. I've narrowed it down to the fact that the SVG image does not display if sized to 22px or smaller. At 23px and up, it works fine. Test case:
  • 22px: ⇐ no icon visible, but clicking the blank space goes to image page.
  • 23px:
Just tested this test case in both Safari/MacOS X, and Firefox/Win XP.
SMcCandlish [talk] [cont] ‹(-¿-)› 23:47, 23 April 2007 (UTC)

This is an SVG bug. V60 干什么? · VDemolitions · ER 3 00:41, 27 April 2007 (UTC)

Check this out (XML source):

Original version of the 1936 flag, made in Adobe Illustrator:

Now, a new version uploaded after saving with Inkscape:

The problem is caused by the <!ENTITY tags that are on the original version. V60 干什么? · VDemolitions · ER 3 01:19, 27 April 2007 (UTC)

I saved a new version of Image:US flag 13 stars – Betsy Ross.svg on Commons that should work. I simply opened the file and re-saved as "plain SVG" in Inkscape. The resultant file was far simpler, at only 5K, consisting of just the stripe and star polygons without all the extra crap. As soon as the cache is updated, that should fix the problem here. Andrwsc 22:00, 27 April 2007 (UTC)

[edit] alias-1960

Shouldn't there be a specific variant for the 50-star flag, to future-proof this? --Random832 08:23, 6 May 2007 (UTC)

[edit] Football name alias

{{editprotected}}

Can the following parameter be added?

| name alias-football = USA

FIFA officially uses this name, so we should too. Thanks. —MC 23:56, 1 July 2007 (UTC)

Done. Cheers. --MZMcBride 00:14, 2 July 2007 (UTC)

[edit] A few things

First, why is there the Air Force flag, but not the Navy or Army (Or Marines)?

Secondly, since we have {{Country data Confederate States of America}}, we should have something here that returns a flag and "Union", only what flag? 68.39.174.238 (talk) 08:37, 12 January 2008 (UTC)

To answer your first question, the standard US flag is the naval ensign, so there is no need for a special variant. See Ensign of the United States. The conventions used by editors of Wikipedia:WikiProject Ships are to use naval ensigns in article infoboxes, etc. Note that the navy template works as expected: {{navy|USA}}Naval flag of United States United States Navy. As for the army or marines, there are no instances where flag icons are needed for those flag types, so none have been added to any of the Category:Country data templates, not just this one. If there is a future need for army flag icons for multiple countries, then it's easy to expand this template for that purpose, but in the meantime, we don't want to add unnecessary clutter to the country data templates. They are templates after all, not directories of all possible flag variants.
I can't completely answer your second question, because I don't know what you mean. Could you please explain the problem you are trying to solve? Would you not just use {{flag|United States|1861}} (or 1863 or 1865) to get the correct flag variant for those years? Thanks — Andrwsc (talk · contribs) 17:22, 14 January 2008 (UTC)

[edit] Nationality

Please add the parameter nationality so that American instead of only United States can also be used. ~RayLast «Talk!» 21:50, 7 February 2008 (UTC)

Declined Your request doesn't make sense. There is no nationality parameter that is used within the flag template system, so adding anything to this template would have no effect. You can simply use {{flagicon|United States}} [[American]] to do what you want. However, since American is a disambiguation page, I would think that is a bad idea. — Andrwsc (talk · contribs) 21:54, 7 February 2008 (UTC)

[edit] Field hockey

Can somebody name United States as USA in for field hockey team name? Because USA is the name use by FIH. Thanks! --Aleenf1 06:44, 7 May 2008 (UTC)