Difference between revisions of "Template:Country data United States"
From Wiki
m (Changed protection level of Template:Country data United States: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
m (1 revision) |
(No difference)
|
Latest revision as of 00:20, 19 January 2014
50px 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.
40x40px | 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. |
Contents
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 above right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1912 | 40px | US flag 48 stars.svg |
1959 | 40px | US flag 49 stars.svg |
coast guard | 40px | Ensign of the United States Coast Guard.svg |
air force | 40px | Flag of the United States Air Force.png |
army | 40px | Flag of the United States Army (1775).gif |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
- {{navy|United States}} → 22x20px United States Navy
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|United States}} → 22x20px United States Air Force
- {{flagicon|United States|air force}} → 23x15px
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|United States}} → 22x20px United States Army
- {{flagicon|United States|army}} → 23x15px
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) | 23x15px USA | 23x15px United States |
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. |
Example usage
- {{flag|United States}} → 23x15px United States
- {{flagicon|United States}} → 23x15px
Using a flag variant
- {{flag|United States|1912}} → 23x15px United States
- {{flagicon|United States|1912}} → 23x15px
Using a redirect alias
- {{flagicon|USA}} → 23x15px
- {{flagcountry|USA}} → 23x15px United States
- {{flag|USA}} → 23x15px USA
This is the documentation for Template:Country data United States. It is automatically generated by Template:Country showdata. Please after making any changes to this template. Any categories should be added to the template's /doc subpage, which does not exist yet. |