Template:Country data Hong Kong
Appearance
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Template:Country data Hong Kong 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. |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/Flag_of_Hong_Kong.svg/220px-Flag_of_Hong_Kong.svg.png)
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias | Hong Kong | Main article name (Hong Kong) |
flag alias | Flag of Hong Kong.svg | Image name (File:Flag of Hong Kong.svg, shown above right) |
Flag variants
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
- {{navy|Hong Kong}} →
Hong Kong Marine Police
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 |
---|---|---|
HKG (view) | Template:Country data HKG | Template:Country data HKG |
Hong Kong, China (view) | Template:Country data Hong Kong, China | Template:Country data Hong Kong, China |
Example usage
- {{flag|Hong Kong}} →
Hong Kong
- {{flagicon|Hong Kong}} → [[Image:Template:Country flag alias Hong Kong|border|25x20px|Template:Country alias Hong Kongの旗]]
Using a flag variant
- {{flag|Hong Kong|1959}} →
Hong Kong
- {{flagicon|Hong Kong|1959}} → [[Image:Template:Country flag alias Hong Kong|border|25x20px|Template:Country alias Hong Kongの旗]]
Using a redirect alias
- {{flagicon|HKG}} → [[Image:Template:Country flag alias HKG|border|25x20px|Template:Country alias HKGの旗]]
- {{flagcountry|HKG}} → Template:Country data HKG
- {{flag|HKG}} → Template:Country data HKG