Tɛmplet:Country data US
| This template is used on approximately 5,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Country data US is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others. |
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
United States |
Main article name (United States) |
flag alias |
Flag of the United States.svg |
Image name (File:Flag of the United States.svg, shown on right) |
Flag variants
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
USA (view) | ||
US (view) | ||
United States of America (view) | Tɛmplet:Country data United States of America | Tɛmplet:Country data United States of America |
U.S. (view) | Tɛmplet:Country data U.S. | Tɛmplet:Country data U.S. |
See What links here for a full list of redirects.
Example usage
{{flag|US}}→
US{{flagicon|US}}→
Using a flag variant
{{flag|US|1776}}→
US{{flagicon|US|1776}}→
Using a redirect alias
{{flagicon|USA}}→
{{flagcountry|USA}}→
United States{{flag|USA}}→
USA
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|US}}→
United States Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|US}}→
United States Air Force{{flagicon|US|air force}}→
This template includes a space force ensign flag variant that can be used with Template:Space force:
{{space force|US}}→ Tɛmplet:Space force{{flagicon|US|space force}}→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|US}}→
United States Marine Corps{{flagicon|US|marines}}→
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|US}}→
United States Armed Forces
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|US}}→
United States Navy{{flagicon|US|navy}}→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|US}}→
United States Coast Guard{{flagicon|US|coast guard}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|US}}→
United States Army{{flagicon|US|army}}→
TemplateData
TemplateData for Country data US
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||