Template:Country data United States
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation
| Warning | This template is used on approximately 412,000 pages, or roughly 34362% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| File:Exclamationdiamond.svg | Template:Country data United States 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 |
Wikipedia:United States
| Main article name (Wikipedia:United States) |
shortname alias |
United States |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of the United States.png |
Image name (File:Flag of the United States.png, shown on right) |
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
United States of America (view) | Template:Country data United States of America | Template:Flagcountry |
US (view) | Template:Country data US | Template:Flagcountry |
America (view) | Template:Country data America | Template:Flagcountry |
See What links here for a full list of redirects.
Example usage
{{flag|United States}}→
United States{{flagicon|United States}}→ Template:Flagicon{{flagcountry|United States}}→ Template:Flagcountry
Using a redirect alias
{{flagicon|United States of America}}→ Template:Flagicon{{flagcountry|United States of America}}→ Template:Flagcountry{{flag|United States of America}}→ Template:Country data United States of America
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data United States in articles based on its TemplateData.
TemplateData for Country data United States
<templatedata> {
"description": "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.",
"params": {}
} </templatedata>