Template:Country data Hawaii: Difference between revisions
(| redir1 = Hawai{{okina}}i) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 13:14, 23 June 2024
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Exclamationdiamond.svg | Template:Country data Hawaii is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
File:Information icon4.svg | 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 |
Hawaii
| Main article name (Hawaii) |
flag alias |
Flag of Hawaii.svg |
Image name (File:Flag of Hawaii.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1793 | File:British-Red-Ensign-1707.svg | British-Red-Ensign-1707.svg |
1794 | File:Union flag 1606 (Kings Colors).svg | Union flag 1606 (Kings Colors).svg |
1816 | File:Flag of Hawaii (1816).svg | Flag of Hawaii (1816).svg |
1843 | ![]() | Flag of the United Kingdom.svg |
1893 | File:Flag of the United States (1891-1896).svg | Flag of the United States (1891-1896).svg |
1896 | File:Flag of Hawaii (1896).svg | Flag of Hawaii (1896).svg |
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 |
---|---|---|
HawaiTemplate:Okinai ([{{fullurl:Template:Country data HawaiTemplate:Okinai|redirect=no}} view]) | {{country data HawaiTemplate:Okinai|flag/core|name=HawaiTemplate:Okinai|variant=|size=}} | {{country data HawaiTemplate:Okinai|flagcountry/core|variant=|size=|name=}} |
See What links here for a full list of redirects.
Example usage
{{flag|Hawaii}}
→ File:Flag of Hawaii.svg Hawaii{{flag icon|Hawaii}}
→ Hawaii
Using a flag variant
{{flag|Hawaii|1793}}
→ File:British-Red-Ensign-1707.svg Hawaii{{flag icon|Hawaii|1793}}
→ Hawaii
Using a redirect alias
{{flag icon|HawaiTemplate:Okinai}}
→ {{country data HawaiTemplate:Okinai|flag icon/core|variant=|size=}}{{flagcountry|HawaiTemplate:Okinai}}
→ {{country data HawaiTemplate:Okinai|flagcountry/core|variant=|size=|name=}}{{flag|HawaiTemplate:Okinai}}
→ {{country data HawaiTemplate:Okinai|flag/core|name=HawaiTemplate:Okinai|variant=|size=}}
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|Hawaii}}
→ File:Flag of Hawaii.svg Hawaii Naval Militia
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Hawaii}}
→ File:Flag of Hawaii.svg Hawaii Air National Guard
This nation's navy flag is the same as its national flag, so Template:Navy produces the following:
{{navy|Hawaii}}
→ File:Flag of Hawaii.svg Hawaii Naval Militia
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Hawaii}}
→ File:Flag of Hawaii.svg Hawaii Army National Guard
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 Hawaii in articles based on its TemplateData.
TemplateData for Country data Hawaii
<templatedata> {
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.", "params": {}
} </templatedata>