User:Will Pittenger/templates/GetCountryFlag/doc

Usage
Pass "USA" for the United States or a Top Level domain code (minus the period) for other countries. (USA is the only recognized code for the US in interests of space.)

Note that while returns a link or text containing a link, GetCountryFlag only returns the Image page name (without the "Image:" prefix attached). This allows you to specify the thumb size as needed and control the description text. Hence, passing "USA" returns "Flag of the United States.svg".

Also, since Antarctica and several others don't have flags, they were omitted even though they do have top level domain codes.

Finally, some flags may appear to be duplicates. However, they probably just use the flag of the nation that governs them. Please check before concluding two entries are in fact duplicates. Please report any true duplicates (or any other error) on my talk page. Thanks.