Template talk:Flagicon

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Usage
{{Flagicon|Countryname}}


Currently supported countries[change source]

Country Short Flag
Albania ALB Albania
American Samoa ASA American Samoa
Andorra   Andorra
Angola ANG Angola
Argentina ARG Argentina
Aruba ARU Aruba
France FRA France
Germany GER Germany
Moldova   Moldova
Spain SPA Spain
United Kingdom UK United Kingdom
United States USA United States

Unsupported Countries[change source]

The template will work for any country that has an image of its flag in the format of Flag of Country.svg. The country name must be spelled the same as it is in the image name. Short names can not be used unless an image exists with the shortened name. Countries with images of flags that are not .svg files (.jgp or .png files) also will not work. These countries must have alias templates created for them to work properly.

Creation of alias templates for other countries[change source]

Alias templates need to be created for each country that is to be used. These templates define the official name of the country, the name of the image to be used as its flag and any short versions of the name of the country. At least 2 alias template need to be created for each country. An optional alias template for each short version of the country name to be used must also be created for it to work. Templates that need to be created are:

  1. Template for country name: Template:Country alias Country name
    This template has one single line that contains only the full name of the country. ie. United States
  2. Template(s) for short name(s) of the country. ie. Template:Country alias USA (optional)
    This template redirects to the main country name template
  3. Template for the country flag: Template:Country flag alias Country name
    This template contains the name of the image file for the flag. ie. Flag of the United States.png

changes[change source]

Changes made on 17:52, 19 March 2008 by 192.65.41.18 was reverted because SEWP has a different setup to ENWP. The effect on the change was most obvious in the number of lost links which appeared in list of members of the United Nations--Bärliner 18:09, 19 March 2008 (UTC)

Updated codes[change source]

Hi I would like to add these updated codes please

{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>

109.151.165.41 (talk) 12:15, 6 January 2013 (UTC)

That code is identical to the current code... -DJSasso (talk) 12:23, 6 January 2013 (UTC)