Content added Content deleted
No edit summary
(RV)
Line 34: Line 34:
| flag alias-coast guard-1915 = Ensign of the United States Coast Guard (1915-1953).png
| flag alias-coast guard-1915 = Ensign of the United States Coast Guard (1915-1953).png
| link alias-naval = {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|United States Navy}}
| link alias-naval = {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|United States Navy}}
| flag alias-army = Flag of the United States Army (official proportions).svg
| flag alias-army = Flag of the United States Army.svg
| link alias-football = United States {{{mw|men's}}} national {{{age|}}} soccer team
| link alias-football = United States {{{mw|men's}}} national {{{age|}}} soccer team
| link alias-basketball = United States {{{mw|men's}}} national {{{age|}}} basketball team
| link alias-basketball = United States {{{mw|men's}}} national {{{age|}}} basketball team
| link alias-field hockey = United States {{{mw|men's}}} national field hockey team
| link alias-field hockey = United States {{{mw|men's}}} national field hockey team
| link alias-Australian rules football = United States {{{mw|men's}}} national Australian rules football team
| link alias-Australian rules football = United States {{{mw|men's}}} national Australian rules football team
| size = {{#if:{{{size|}}}|{{{size}}}|23x20px}}
| size = {{{size|}}}
| name = {{{name|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| altlink = {{{altlink|}}}

Revision as of 05:48, 12 February 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation

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.

Standard parameters

Parameter nameValueMeaning
alias United States Main article name (United States)
flag alias Flag of the United States.svg Image name (File:Flag of the United States.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1776Grand Union Flag.svg
1777US flag 13 stars – Betsy Ross.svg
1795Star-Spangled Banner flag.svg
1818US flag 20 stars.svg
1819US flag 21 stars.svg
1820US flag 23 stars.svg
1822US flag 24 stars.svg
1836US flag 25 stars.svg
1837US flag 26 stars.svg
1845US flag 27 stars.svg
1846US flag 28 stars.svg
1847US flag 29 stars.svg
1848US flag 30 stars.svg
1851U.S. flag, 31 stars.svg
1858US flag 32 stars.svg
1859US flag 33 stars.svg
1861US flag 34 stars.svg
1863US flag 35 stars.svg
1865US flag 36 stars.svg
1867US flag 37 stars.svg
1877US flag 38 stars.svg
1890US flag 43 stars.svg
1891US flag 44 stars.svg
1896US flag 45 stars.svg
1908US flag 46 stars.svg
1912U.S. flag, 48 stars.svg
1959US flag 49 stars.svg
1960Flag of the United States (Pantone).svg
coast guardEnsign of the United States Coast Guard.svg
coast guard-1915Ensign of the United States Coast Guard (1915-1953).png
coast guardEnsign of the United States Coast Guard.svg
armyFlag of the United States Army.svg

Military ensigns

This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:

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


This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

This template includes an army ensign flag variant that can be used with Template:Army:

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) USA United States
US (view)Template:Country data USTemplate:Country data US
United States of America (view)Template:Country data United States of AmericaTemplate:Country data United States of America
U.S. (view)Template:Country data U.S.Template:Country data U.S.

See What links here for a full list of redirects.

Example usage

  • {{flag|United States}} United States
  • {{flagicon|United States}}United States

Using a flag variant

  • {{flag|United States|1776}} United States
  • {{flagicon|United States|1776}}United States

Using a redirect alias

  • {{flagicon|USA}}United States
  • {{flagcountry|USA}} United States
  • {{flag|USA}} USA


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Country data United States

<templatedata> {

 "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>