Template:Country data United States

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationpurge ]

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}}, {{flagcountry}}, and others.

Standard parameters

Parameter nameValueMeaning
aliasUnited StatesMain article name (United States)
flag aliasFlag of the United States.svgImage name (File:Flag of the United States.svg, shown on right)

Flag variants

These variants cannot be used unless the line | variant = {{{variant|}}} is added to this template.

LabelFlag image (40px)Image name
1775Grand Union Flag.svg
1777US flag 13 stars.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
1851US 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
1912US flag 48 stars.svg
1959US flag 49 stars.svg
1960Flag of the United States.svg
1994Flag of the U.S..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
air forceFlag of the United States Air Force.svg
armyFlag of the United States Army.svg

Military ensigns

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

This template includes an air force ensign flag variant that can be used with {{air force flag}}:

This template includes a coast guard ensign flag variant that can be used with {{coast guard}}:

This template includes an army ensign flag variant that can be used with {{army}}:

  • {{army|United States}}Template:Army
  • {{flagicon3|United States|army}}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) 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.
the States (view)Template:Country data the StatesTemplate:Country data the States

See What links here for a full list of redirects.

Example usage

  • {{flag|United States}} United States
  • {{flagicon3|United States}}United States

Using a flag variant

  • {{flag|United States|1775}} United States
  • {{flagicon3|United States|1775}}United States

Using a redirect alias

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

Other information


State flags

Country_data templates are also available for each of the fifty U.S. states and the District of Columbia:

Template:Country data Alabama  Alabama
Template:Country data Alaska  Alaska
Template:Country data Arizona  Arizona
Template:Country data Arkansas  Arkansas
Template:Country data California  California
Template:Country data Colorado  Colorado
Template:Country data Connecticut  Connecticut
Template:Country data Delaware  Delaware
Template:Country data Florida  Florida
Template:Country data Georgia (U.S. state)  Georgia (U.S. state)
Template:Country data Hawaii  Hawaii
Template:Country data Idaho  Idaho
Template:Country data Illinois  Illinois
Template:Country data Indiana  Indiana
Template:Country data Iowa  Iowa
Template:Country data Kansas  Kansas
Template:Country data Kentucky  Kentucky
Template:Country data Louisiana  Louisiana
Template:Country data Maine  Maine
Template:Country data Maryland  Maryland
Template:Country data Massachusetts  Massachusetts
Template:Country data Michigan  Michigan
Template:Country data Minnesota  Minnesota
Template:Country data Mississippi  Mississippi
Template:Country data Missouri  Missouri
Template:Country data Montana  Montana
Template:Country data Nebraska  Nebraska
Template:Country data Nevada  Nevada
Template:Country data New Hampshire  New Hampshire
Template:Country data New Jersey  New Jersey
Template:Country data New Mexico  New Mexico
Template:Country data New York  New York
Template:Country data North Carolina  North Carolina
Template:Country data North Dakota  North Dakota
Template:Country data Ohio  Ohio
Template:Country data Oklahoma  Oklahoma
Template:Country data Oregon  Oregon
Template:Country data Pennsylvania  Pennsylvania
Template:Country data Rhode Island  Rhode Island
Template:Country data South Carolina  South Carolina
Template:Country data South Dakota  South Dakota
Template:Country data Tennessee  Tennessee
Template:Country data Texas  Texas
Template:Country data Utah  Utah
Template:Country data Vermont  Vermont
Template:Country data Virginia  Virginia
Template:Country data Washington  Washington
Template:Country data West Virginia  West Virginia
Template:Country data Wisconsin  Wisconsin
Template:Country data Wyoming  Wyoming
Template:Country data Washington, D.C.  Washington, D.C.

Unincorporated territory flags

Country_data templates are also available for several organized territories of the United States. Many of the unorganized territories are either uninhabited or have no indigenous inhabitants, and also do not have unique flags. For those, please use {{flagicon|United States}}.

Template:Country data American Samoa Template:Country data American Samoa
Template:Country data Guam Template:Country data Guam
Template:Country data Northern Mariana Islands Template:Country data Northern Mariana Islands
Template:Country data Puerto Rico  Puerto Rico
Template:Country data U.S. Virgin Islands Template:Country data U.S. Virgin Islands

Military branch flags

Country_data templates are also available for some U.S. military branches.

Template:Country data United States Air Force Template:Country data United States Air Force United States Air Force
Template:Country data United States Army Template:Country data United States Army United States Army
Template:Country data United States Coast Guard Template:Country data United States Coast Guard United States Coast Guard
Template:Country data United States Marine Corps Template:Country data United States Marine Corps United States Marine Corps
Template:Country data United States Navy Template:Country data United States Navy United States Navy

TemplateData

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified