Template:Country data United States: Difference between revisions
Jump to navigation
Jump to search
HasanistanPedia>OIMGov m (1 revision imported) |
m (1 revision imported) |
Latest revision as of 14:22, 16 January 2022
Template documentation
This template is used on approximately 251,000 pages, or roughly 15166% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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. |
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
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
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) | Template:Country data USA | Template:Country data USA |
US (view) | Template:Country data US | Template:Country data US |
United States of America (view) | Template:Country data United States of America | Template: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}}
→
Using a flag variant
{{flag|United States|1776}}
→ United States{{flagicon|United States|1776}}
→
Using a redirect alias
{{flagicon|USA}}
→ Template:Country data USA{{flagcountry|USA}}
→ Template:Country data USA{{flag|USA}}
→ Template:Country data USA
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|United States}}
→ Template:NavalTemplate:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|United States}}
→ Template:Air force{{flagicon|United States|air force}}
→ Template:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|United States}}
→ Template:Coast guard{{flagicon|United States|coast guard}}
→ Template:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|United States}}
→ Template:Army{{flagicon|United States|army}}
→
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data United States in articles based on its TemplateData.
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>