Foarloage:Country data United States
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 Foarloage: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 | US flag 48 stars.svg | |
1959 | US flag 49 stars.svg | |
air force | Flag of the United States Air Force.svg | |
army | Flag of the United States Army.svg |
Military ensigns
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|United States}} → Foarloage:Air force
- {{flagicon|United States|air force}} → Foarloage:Country flagicon2
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|United States}} → Foarloage:Army
- {{flagicon|United States|army}} → Foarloage:Country flagicon2
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):Alias name | Foarloage:Tlx output | Foarloage:Tlx output |
---|---|---|
USA (view) | Foarloage:Country data USA | Foarloage:Flagcountry |
US (view) | Foarloage:Country data US | Foarloage:Flagcountry |
United States of America (view) | Foarloage:Country data United States of America | Foarloage:Flagcountry |
U.S. (view) | Foarloage:Country data U.S. | Foarloage:Flagcountry |
Example usage
- {{flag|United States}} → United States
- {{flagicon|United States}} → Foarloage:Country flagicon2
- Using a flag variant
- {{flag|United States|1912}} → United States
- {{flagicon|United States|1912}} → Foarloage:Country flagicon2
- Using a redirect alias
- {{flagicon|USA}} → Foarloage:Country data USA
- {{flagcountry|USA}} → Foarloage:Flagcountry
- {{flag|USA}} → Foarloage:Country data USA