Difference between revisions of "Template:Country data United States"
(Better images) |
m (Reverted edits by ScrumpyBottle (talk) to last revision by Punish China) |
||
| Line 1: | Line 1: | ||
{{safesubst<noinclude />: {{{1<noinclude>|country showdata</noinclude>}}} | {{safesubst<noinclude />: {{{1<noinclude>|country showdata</noinclude>}}} | ||
| − | | alias = | + | | alias = United States |
| − | | flag alias = | + | | flag alias = Flag of the United States.svg |
| − | | flag alias-1776 = | + | | flag alias-1776 = Flag of the United States (1776–1777).svg |
| − | | flag alias-1777 = | + | | flag alias-1777 = Flag of the United States (1777-1795).svg |
| − | | flag alias-1795 = | + | | flag alias-1795 = Flag of the United States (1795–1818).svg |
| − | | flag alias-1818 = | + | | flag alias-1818 = Flag of the United States (1818-1819).svg |
| − | | flag alias-1819 = | + | | flag alias-1819 = Flag of the United States (1819-1820).svg |
| − | | flag alias-1820 = | + | | flag alias-1820 = Flag of the United States (1820-1822).svg |
| − | | flag alias-1822 = | + | | flag alias-1822 = Flag of the United States (1822-1836).svg |
| − | | flag alias-1836 = | + | | flag alias-1836 = Flag of the United States (1836-1837).svg |
| − | | flag alias-1837 = | + | | flag alias-1837 = Flag of the United States (1837-1845).svg |
| − | | flag alias-1845 = | + | | flag alias-1845 = Flag of the United States (1845-1846).svg |
| − | | flag alias-1846 = | + | | flag alias-1846 = Flag of the United States (1846-1847).svg |
| − | | flag alias-1847 = | + | | flag alias-1847 = Flag of the United States (1847-1848).svg |
| − | | flag alias-1848 = | + | | flag alias-1848 = Flag of the United States (1848-1851).svg |
| − | | flag alias-1851 = | + | | flag alias-1851 = Flag of the United States (1851-1858).svg |
| − | | flag alias-1858 = | + | | flag alias-1858 = Flag of the United States (1858-1859).svg |
| − | | flag alias-1859 = | + | | flag alias-1859 = Flag of the United States (1859-1861).svg |
| − | | flag alias-1861 = | + | | flag alias-1861 = Flag of the United States (1861-1863).svg |
| − | | flag alias-1863 = | + | | flag alias-1863 = Flag of the United States (1863-1865).svg |
| − | | flag alias-1865 = | + | | flag alias-1865 = Flag of the United States (1865-1867).svg |
| − | | flag alias-1867 = | + | | flag alias-1867 = Flag of the United States (1867-1877).svg |
| − | | flag alias-1877 = | + | | flag alias-1877 = Flag of the United States (1877-1890).svg |
| − | | flag alias-1890 = | + | | flag alias-1890 = Flag of the United States (1890-1891).svg |
| − | | flag alias-1891 = | + | | flag alias-1891 = Flag of the United States (1891-1896).svg |
| − | | flag alias-1896 = | + | | flag alias-1896 = Flag of the United States (1896-1908).svg |
| − | | flag alias-1908 = | + | | flag alias-1908 = Flag of the United States (1908-1912).svg |
| − | | flag alias-1912 = | + | | flag alias-1912 = Flag of the United States (1912-1959).svg |
| − | | flag alias-1959 = | + | | flag alias-1959 = Flag of the United States (1959-1960).svg |
| − | | flag alias-1960 = | + | | flag alias-1960 = Flag of the United States (Pantone).svg |
| − | | flag alias-air force = | + | | flag alias-air force = Flag of the United States Air Force.svg |
| − | | flag alias-coast guard-1799 = | + | | flag alias-coast guard-1799 = Ensign of the United States Revenue-Marine (1799).png |
| − | | flag alias-coast guard-1815 = | + | | flag alias-coast guard-1815 = Ensign of the United States Revenue-Marine (1815).png |
| − | | flag alias-coast guard-1836 = | + | | flag alias-coast guard-1836 = Ensign of the United States Revenue-Marine (1836).png |
| − | | flag alias-coast guard-1841 = | + | | flag alias-coast guard-1841 = Ensign of the United States Revenue-Marine (1841).png |
| − | | flag alias-coast guard-1867 = | + | | flag alias-coast guard-1867 = Ensign of the United States Revenue-Marine (1867).png |
| − | | flag alias-coast guard-1868 = | + | | flag alias-coast guard-1868 = Ensign of the United States Revenue-Marine (1868).png |
| − | | flag alias-coast guard-1915 = | + | | flag alias-coast guard-1915 = Ensign of the United States Coast Guard (1915-1953).png |
| − | | flag alias-coast guard= | + | | flag alias-coast guard=Ensign of the United States Coast Guard.svg |
| link alias-coast guard= {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|coast guard-1894=United States Revenue Cutter Service|coast guard-1799|coast guard-1815|coast guard-1836|coast guard-1841|coast guard-1867|coast guard-1868=United States Revenue-Marine|United States Coast Guard}} | | link alias-coast guard= {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|coast guard-1894=United States Revenue Cutter Service|coast guard-1799|coast guard-1815|coast guard-1836|coast guard-1841|coast guard-1867|coast guard-1868=United States Revenue-Marine|United States Coast Guard}} | ||
| flag alias-army = Flag of the United States Army.svg | | flag alias-army = Flag of the United States Army.svg | ||
| link alias-naval={{#switch:{{{variant|}}}|navy|coast guard-1915=United States Coast Guard|United States Coast Guard|United States Navy}} | | link alias-naval={{#switch:{{{variant|}}}|navy|coast guard-1915=United States Coast Guard|United States Coast Guard|United States Navy}} | ||
| − | | flag alias-navy-1864= | + | | flag alias-navy-1864=Flag of the United States Navy (1864-1959).svg |
| − | | flag alias-navy= | + | | flag alias-navy=Flag of the United States Navy (official).svg |
| link alias-navy=United States Navy | | link alias-navy=United States Navy | ||
| link alias-marines= {{#switch:{{{variant|}}}|marines|marines-1914=United States Marine Corps|United States Marine Corps}} | | link alias-marines= {{#switch:{{{variant|}}}|marines|marines-1914=United States Marine Corps|United States Marine Corps}} | ||
| − | | flag alias-marines-1914 = | + | | flag alias-marines-1914 = Flag of the United States Marine Corps (1914-1939).png |
| − | | flag alias-marines = | + | | flag alias-marines = Flag of the United States Marine Corps.svg |
| − | | flag alias-space force = | + | | flag alias-space force = Flag of the United States Space Force.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 | ||
Latest revision as of 19:06, December 29, 2021
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 name | Value | Meaning |
|---|---|---|
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
| Label | Flag image (40px) | Image name |
|---|---|---|
1776 | 40px | Flag of the United States (1776–1777).svg |
1777 | 40px | Flag of the United States (1777-1795).svg |
1795 | 40px | Flag of the United States (1795–1818).svg |
1818 | 40px | Flag of the United States (1818-1819).svg |
1819 | 40px | Flag of the United States (1819-1820).svg |
1820 | 40px | Flag of the United States (1820-1822).svg |
1822 | 40px | Flag of the United States (1822-1836).svg |
1836 | 40px | Flag of the United States (1836-1837).svg |
1837 | 40px | Flag of the United States (1837-1845).svg |
1845 | 40px | Flag of the United States (1845-1846).svg |
1846 | 40px | Flag of the United States (1846-1847).svg |
1847 | 40px | Flag of the United States (1847-1848).svg |
1848 | 40px | Flag of the United States (1848-1851).svg |
1851 | 40px | Flag of the United States (1851-1858).svg |
1858 | 40px | Flag of the United States (1858-1859).svg |
1859 | 40px | Flag of the United States (1859-1861).svg |
1861 | 40px | Flag of the United States (1861-1863).svg |
1863 | 40px | Flag of the United States (1863-1865).svg |
1865 | 40px | Flag of the United States (1865-1867).svg |
1867 | 40px | Flag of the United States (1867-1877).svg |
1877 | 40px | Flag of the United States (1877-1890).svg |
1890 | 40px | Flag of the United States (1890-1891).svg |
1891 | 40px | Flag of the United States (1891-1896).svg |
1896 | 40px | Flag of the United States (1896-1908).svg |
1908 | 40px | Flag of the United States (1908-1912).svg |
1912 | 40px | Flag of the United States (1912-1959).svg |
1959 | 40px | Flag of the United States (1959-1960).svg |
1960 | 40px | Flag of the United States (Pantone).svg |
coast guard-1915 | 40px | Ensign of the United States Coast Guard (1915-1953).png |
marines-1914 | 40px | Flag of the United States Marine Corps (1914-1939).png |
marines | 40px | Flag of the United States Marine Corps.svg |
coast guard | 40px | Ensign of the United States Coast Guard.svg |
navy | 40px | Flag of the United States Navy (official).svg |
air force | 40px | Flag of the United States Air Force.svg |
space force | 40px | Flag of the United States Space Force.svg |
army | 40px | Flag 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:
{{navy|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:NavyTemplate:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Air force{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|air force}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=air force|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}Template:Break
This template includes a space force ensign flag variant that can be used with Template:Space force:
{{space force|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Space force{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|space force}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=space force|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}Template:Break
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Marines{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|marines}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=marines|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}Template:Break
This template includes a navy flag variant that can be used with Template:Naval:
{{naval|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Naval{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|navy}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=navy|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}Template:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Coast guard{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|coast guard}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=coast guard|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}Template:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ Template:Army{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|army}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=army|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | Template:Tlx output | Template:Tlx output |
|---|---|---|
USA (view) | Template:Country data USA | Template:Flagcountry |
US (view) | Template:Country data US | Template:Flagcountry |
United States of America (view) | Template:Country data United States of America | Template:Flagcountry |
U.S. (view) | Template:Country data U.S. | Template:Flagcountry |
See What links here for a full list of redirects.
Example usage
{{flag|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flag/core|name={{#invoke:String|replace|Country data United States|^%w+ data |||false}}|variant=|size=}}{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}
Using a flag variant
{{flag|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|1776}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flag/core|name={{#invoke:String|replace|Country data United States|^%w+ data |||false}}|variant=1776|size=}}{{flagicon|{{#invoke:String|replace|Country data United States|^%w+ data |||false}}|1776}}→ {{country data {{#invoke:String|replace|Country data United States|^%w+ data |||false}}|flagicon/core|variant=1776|size=}}Template:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}
Using a redirect alias
{{flagicon|USA}}→ Template:Country data USATemplate:Namespace detect showall{{safesubst:#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Flagicon with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}{{flagcountry|USA}}→ Template:Flagcountry{{flag|USA}}→ Template:Country data USA
TemplateData
Template:TemplateData header <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>