Template:Country data United States
Template:Country data protected
Template documentation
This is the documentation for Template:Country data United States. It is automatically generated by Template:Country showdata
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. |
Please Template:Purge after making any changes to this template.
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | United States | Main article name (United States) |
| flag alias | Flag of the United States.svg | Image name (Image:Flag of the United States.svg, shown above right) |
| alt attribute | Flag of the United States | (optional) alt attribute for flag image |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
| 1912 | File:US flag 48 stars.svg | US flag 48 stars.svg |
| 1959 | File:US flag 49 stars.svg | US flag 49 stars.svg |
| air force | File:Flag of the United States Air Force.png | Flag of the United States Air Force.png |
Military ensigns
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|United States}} → Template:Air force
- {{flagicon|United States|air force}} → Flag of the United States
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| USA (view) | Error creating thumbnail: /bin/bash: line 1: convert: command not found USA | Error creating thumbnail: /bin/bash: line 1: convert: command not found United States |
| US (view) | Template:Country data US | Template:Country data US |
| United States of America (view) | Template:Country data United States of America | Template:Country data United States of America |
| U.S. (view) | Template:Country data U.S. | Template:Country data U.S. |
Example usage
- {{flag|United States}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found United States
- {{flagicon|United States}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found
- Using a flag variant
- {{flag|United States|1912}} → Flag of the United States United States
- {{flagicon|United States|1912}} → Flag of the United States
- Using a redirect alias
- {{flagicon|USA}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found
- {{flagcountry|USA}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found United States
- {{flag|USA}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found USA