Templat:Country data USA
Dari Wikipedia Bahasa Melayu, ensiklopedia bebas.
This is the documentation for Template:Country data USA. It is automatically generated by
Template:Country data USA is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.
Please purge the cache after making any changes to this template.
Jadual isi kandungan |
[Sunting] 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) |
alt attribute | Flag of the United States | (optional) alt attribute for flag image |
[Sunting] Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1912 | ![]() |
US flag 48 stars.svg |
1959 | ![]() |
US flag 49 stars.svg |
[Sunting] 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) | ![]() |
![]() |
US (view) | ![]() |
[[Image:Templat:Country flag alias US|25x15px|Bendera Templat:Country alias US]] [[Templat:Country alias US]] |
United States of America (view) | Templat:Country data United States of America | ![]() |
U.S. (view) | Templat:Country data U.S. | [[Image:Templat:Country flag alias U.S.|25x15px|Bendera Templat:Country alias U.S.]] [[Templat:Country alias U.S.]] |
[Sunting] Example usage
- Using a flag variant
- Using a redirect alias
- {{flagicon|USA}} →
- {{flagcountry|USA}} →
Amerika Syarikat
- {{flag|USA}} →
USA