Template:Country data United States
From Toyota Wiki
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 purge the cache after making any changes to this template.
Contents |
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)
<tr> <td>alt attribute</td> <td>Flag of the United States</td> <td>(optional) Alt attribute for flag image</td> </tr> |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
| 1912 | 40px | US flag 48 stars.svg |
| 1959 | 40px | US flag 49 stars.svg |
| air force | 40px | Flag of the United States Air Force.png |
| army | 40px | Army flag.gif |
Military ensigns
This template includes an air force ensign flag variant that can be used with Air force:
- {{air force|United States}} → Air force
- {{flagicon|United States|air force}} → Flag of the United States
This template includes an army ensign flag variant that can be used with Army:
- {{army|United States}} → Army
- {{flagicon|United States|army}} → Flag of the United States
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 |
|---|---|---|
| USA (view) | Country flagcountry2 | |
| US (view) | Country data US | Country data US |
| United States of America (view) | Country data United States of America | Country data United States of America |
| U.S. (view) | Country data U.S. | Country data U.S. |
Example usage
- Using a flag variant
- {{flag|United States|1912}} → 22x20px United States
- {{flagicon|United States|1912}} → Flag of the United States
- Using a redirect alias
Category: Country data templates