Ice Hockey Wiki


Padlock.png

This high-risk template has been protected from editing to prevent vandalism. (protection log).
Please discuss changes on the talk page or request unprotection. You may use {{editprotected}} on the talk page to ask for an administrator to make an edit for you.

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. 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.

See also: Flag of the United States

Standard parameters

Parameter name Value Meaning
alias United States of America Main article name (United States of America)
flag alias Flag of the United States.png Image name (Image:Flag of the United States.png, shown above right)
alt attribute Flag of the United States (optional) alt attribute for flag image

Flag variants

For more details on this topic, see Flag of the United States.
LabelFlag image (40px)Image name
1912US flag 48 stars.pngUS flag 48 stars.png
1959US flag 49 stars.pngUS flag 49 stars.png
air forceFlag of the United States Air Force.pngFlag of the United States Air Force.png

Air force ensign

This template includes an air force ensign flag variant that can be used with Template:Air force:

  • {{air force|United States of America}}

Usage

{{air force|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national air force article.

Parameters
  • nation — Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code
  • variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates. Note that the standard behaviour of this template is to use the air force variant if present, so there is no need to specify this variant in the template call.
  • size (optional) — Can be used to change the flag icon size
  • name (optional) — Can be used to change the wikilink display text

Examples

Other related templates

The {{flagicon}} template can be used to display the air force flag by itself, using the air force variant as a template parameter:

  • {{flagicon|UK|air force}}Flag of the United Kingdom

Implementation notes

By default, this template shows the standard national flag for the selected country, following by a wikilink to "Country Air Force". Both of these items can be changed by adding specific parameters to the appropriate country_data template (complete set found in Category:Country data templates).

To use a different flag, such as the air force ensign for the nation, use:

flag alias-air force = image name of air force ensign

To use a different name for the wikilinked air force article, use:

link alias-air force = article name


  • {{flagicon|United States of America|air force}} → [[Image:{{{flag alias-air force}}}|22x20px|border|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)Flag of the United States USAFlag of the United States United States of America
US (view)Flag of the United States USFlag of the United States United States of America
United States of America (view)Flag of the United States United States of AmericaFlag of the United States United States of America
U.S. (view)Flag of the United States U.S.Flag of the United States United States of America

Example usage

Using a flag variant
  • {{flag|United States of America|1912}} → [[Image:{{{flag alias-1912}}}|22x20px|border|Flag of the United States]] United States of America
  • {{flagicon|United States of America|1912}} → [[Image:{{{flag alias-1912}}}|22x20px|border|Flag of the United States]]
Using a redirect alias