Template:Country data United States

From Dodge Wiki

Jump to: navigation, search


Template documentation

This is the documentation for Template:Country data United States. It is automatically generated by Template:Country showdata

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.

Please purge the cache after making any changes to this template.

Flag of the United States.svg

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 (Image:Flag of the United States.svg, shown above right)

<tr> <td>alt attribute</td> <td>Flag of the United States</td> <td>(optional) Alt attribute for flag image</td> </tr>

Flag variants


LabelFlag image (40px)Image name
1912US flag 48 stars.svgUS flag 48 stars.svg
1959US flag 49 stars.svgUS flag 49 stars.svg
air forceFlag of the United States Air Force.pngFlag of the United States Air Force.png
armyArmy flag.gifArmy flag.gif

Military ensigns


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

  • {{air force|United States}}Flag of the United States Air Force United States Air Force
  • {{flagicon|United States|air force}}Flag of the United States

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

  • {{army|United States}}Army flag of United States United States Army
  • {{flagicon|United States|army}}Flag of the 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)Flag of the United States.svg United StatesFlag of the United States.svg United States
US (view)Flag of the United States.svg United StatesFlag of the United States.svg United States
United States of America (view)Flag of the United States.svg United StatesFlag of the United States.svg United States
U.S. (view)Flag of the United States.svg United StatesFlag of the United States.svg United States

Example usage

  • {{flag|United States}}Flag of the United States.svg United States
  • {{flagicon|United States}}Flag of the United States
Using a flag variant
  • {{flag|United States|1912}}US flag 48 stars.svg United States
  • {{flagicon|United States|1912}}Flag of the United States
Using a redirect alias
  • {{flagicon|USA}}Flag of the United States
  • {{flagcountry|USA}}Flag of the United States.svg United States
  • {{flag|USA}}Flag of the United States.svg United States

Other information

Stop hand.svg
Stop!

If you are viewing this page, you may not be aware of Wikipedia's template documentation pattern. Template documentation subpage should be prefixed by the name of the template. Create the country data united states for your template on page: Template:TemplateNameCountry data United States.

Examples:

bad good
Template:/doc Template:Tl/doc
Template:/doc Template:Non-free media/doc
Template:/doc Template:ArticleHistory/doc

Thank you.


Personal tools