Template:Country data United States

Template documentation

This is the documentation for Template:Country data United States. It is automatically generated by Template:Lts

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. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.

Please purge the cache after making any changes to this template.

Standard parameters mag-edit

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

LabelFlag image (40px)Image name
1912US flag 48 stars.svg
1959US flag 49 stars.svg

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)Flag of the United States.svg
US (view)Flag of None.svg
United States of America (view)Flag of None.svg
U.S. (view)Flag of None.svg

Example usage mag-edit

  • {{flag|United States}}
  • {{flagicon|United States}}Flag of United States
Using a flag variant
  • {{flag|United States|1912}}
  • {{flagicon|United States|1912}}Flag of United States
Using a redirect alias
  • {{flagicon|USA}}Flag of United States
  • {{flagcountry|USA}} → Flag of the United States.svg
  • {{flag|USA}}