User:Jdforrester (WMF)/Template:Country data Hong Kong
Documentation
Template:Jdforrester (WMF)/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. |
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
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