Template:Country data Hong Kong
Jump to navigation
Jump to search
Template documentation
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
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) | File:HKG.png HKG | Template:Country data HKG |
Hong Kong, China (view) | link=https://xomnipedia.org/wiki/Hong Kong, China Hong Kong, China | Template:Country data Hong Kong, China |
Example usage
- {{flag|Hong Kong}} →
Hong Kong - {{flagicon|Hong Kong}} →
Using a flag variant
- {{flag|Hong Kong|1959}} →
Hong Kong - {{flagicon|Hong Kong|1959}} →
Using a redirect alias
- {{flagicon|HKG}} → Template:Country data HKG
- {{flagcountry|HKG}} → Template:Country data HKG
- {{flag|HKG}} → File:HKG.png
HKG