模板:Country data HKG
Template documentation
Template:Country data HKG
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 |
Hiông-kóng
| Main article name (Hiông-kóng) |
flag alias |
Flag of Hong Kong.svg |
Image name (File:Flag of Hong Kong.svg, shown on right) |
Flag variants
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|HKG}}
→ Hiông-kóng
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) | HKG | Hiông-kóng |
Hong Kong, China (view) | 模板:Country data Hong Kong, China | 模板:Country data Hong Kong, China |
HKSAR (view) | 模板:Country data HKSAR | 模板:Country data HKSAR |
Hiông-kóng (view) | 模板:Country data Hiông-kóng | 模板:Country data Hiông-kóng |
Chûng-koet Hiông-kóng (view) | 模板:Country data Chûng-koet Hiông-kóng | 模板:Country data Chûng-koet Hiông-kóng |
See What links here for a full list of redirects.
Example usage
{{flag|HKG}}
→ HKG{{flagicon|HKG}}
→
Using a flag variant
{{flag|HKG|1959}}
→ HKG{{flagicon|HKG|1959}}
→
Using a redirect alias
{{flagicon|HKG}}
→{{flagcountry|HKG}}
→ Hiông-kóng{{flag|HKG}}
→ HKG
Related templates
Please see the following related country_data
templates:
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
See the monthly error report for this template.
TemplateData for Country data HKG
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
參數 | 描述 | 類型 | 狀態 | |||
---|---|---|---|---|---|---|
未指定參數 |