Template talk:Flag

From Wikipedia, the free encyclopedia

Template:Flag 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.

See Wikipedia:WikiProject Flag Template (main documentation/discussion page for the flag templates)

{{editprotected}}

Please change Image:Palestinian flag.svg to Image:Flag of Palestine.svg. Thanks. Siebrand 23:01, 5 May 2007 (UTC)

The place to make that change is Template:Country data Palestine, which is not protected. CMummert · talk 15:34, 8 May 2007 (UTC)
Hmm, I already made that change. I have been mistaken. Thanks for checking here... Cheers! Siebrand 15:39, 8 May 2007 (UTC)

The United States flag isnt showing, it says the words "flag of United States". Can someone fix that. BeckyAnne(talk) 22:20, 14 September 2007 (UTC)

This happens from time to time, and is not a problem with this template. The image cache on Commons needs to be cleared. Andrwsc 22:32, 14 September 2007 (UTC)
Thanks for the little wiki lesson, I need those from time to time. BeckyAnne(talk) 23:12, 14 September 2007 (UTC)
  • I really would like an option to disable the display of these silly (IMHO) flag icons. RedWolf 02:00, 19 September 2007 (UTC)

Flag of Kosovo Kosovo has default alternative text "Flag of Kosovo". That's not a flag of Kosovo, it's the flag of the United Nations! Can someone fix that? (Stefan2 20:25, 23 October 2007 (UTC))

Y Done Andrwsc 20:50, 23 October 2007 (UTC)

Contents

[edit] Issues with wikitables

Some of the flags screw up the parsing of wikitables. I've noticed this with the Canadian and English flags. But, this only happens when the row definition of the wikitable is in one line as opposed to it being broken up into individual lines per field/cell. Samples: non-working example: {| class="wikitable" !Field1
!Field2
!Field3
|-
|{{flag|USA}}||USA||howdy
|-
|{{flag|Canada}}||Canada||eh?
|-
|{{flag|Spain}}||Spain||hola
|-
|{{flag|England}}||England||cheers
|}
results in:

Field1 Field2 Field3
Flag of the United States USA USA howdy
Flag of Canada Canada Canada eh?
Flag of Spain Spain Spain hola
Flag of England England England cheers

working example: non-working example: {| class="wikitable"
!Field1
!Field2
!Field3
|-
|{{flag|USA}}||USA||howdy
|-
|{{flag|Canada}}
|Canada
|eh?
|-
|{{flag|Spain}}||Spain||hola
|-
|{{flag|England}}
|England
|cheers
|} results in:

Field1 Field2 Field3
Flag of the United States USA USA howdy
Flag of Canada Canada Canada eh?
Flag of Spain Spain Spain hola
Flag of England England England cheers

Any idea why this is happening with only some flags? --Kimontalk 16:42, 12 December 2007 (UTC)

[edit] Unwanted line break

{{editprotected}} For many countries (such as England) this template is now forcing a line break. (see Open de France) It makes many lists very hard to read, can anyone fix this? —MJBurrageTALK • 17:23, 12 December 2007 (UTC)

User:East718 has added {{pp-template}} to hundreds of country data templates, adding a line break to all of them. Damn. I shall try to fix this ASAP. Andrwsc (talk) 18:35, 12 December 2007 (UTC)
Glad to see someone is already working on this, as I have spent the past hour trying to figure out what was wrong with List of islands of the United States by area. Let me know if there is anything I can do to help. --Kralizec! (talk) 20:27, 12 December 2007 (UTC)
That would explain why I'm seeing what I posted in the section above. --Kimontalk 21:45, 12 December 2007 (UTC)
Fixed All 893 country data templates have been repaired, so if you are seeing any more wierdness, try purging the template, clearing your own browser cache, or just wait for the servers to catch up... Andrwsc (talk) 21:47, 12 December 2007 (UTC)
Removing EPP, this appears to be fixed. Gimmetrow 16:35, 13 December 2007 (UTC)

[edit] Burma/Myanmar

Fix please For some reason, all of the country data outputs read "Burma" just like the main article, except {{flag|Myanmar}} which still reads "Myanmar." -Justin (koavf)·T·C·M 18:34, 9 January 2008 (UTC)

There is nothing to fix; this is precisely how it is intended. If you want your wikilink to display as "Burma", use {{flag|Burma}}. If you want your wikilink to display as "Myanmar", use {{flag|Myanmar}}. There are many contexts in which "Myanmar" is still the most appropriate name (United Nations, Olympics, FIFA, etc.), so that option is available for editors. In both cases, the flag template links to the Wikipedia target article at Burma, so no redirects are used. — Andrwsc (talk · contribs) 18:44, 9 January 2008 (UTC)

[edit] Nepal's flag broke

List_of_countries_by_population, this template is working improperly, showing the full Nepalese flag instead of a shrunk version. -130.215.112.208 (talk) 19:27, 9 April 2008 (UTC)

Fixed Sorry! I was working on a solution to remove the border, as it looks odd with this flag, and I tested my solution. Interestingly, it worked when {{flag|Nepal}} is invoked in "normal" wiki text, but inside tables it broke spectacularly, as you saw. I shall investigate further. — Andrwsc (talk · contribs) 20:03, 9 April 2008 (UTC)

[edit] Interwiki

Please add da:Skabelon:Flag Nils Emil (talk) 20:29, 24 April 2008 (UTC)

[edit] Croatia

Please use Image:Civil Ensign of Croatia.svg as Croatian flag icon. --Maestral (talk) 13:28, 1 June 2008 (UTC)

Why? — Andrwsc (talk · contribs) 15:25, 1 June 2008 (UTC)