Templat:Country data HKG

Dari Wikipedia Bahasa Melayu, ensiklopedia bebas.

Template documentation

This is the documentation for Template:Country data HKG. It is automatically generated by Template:Country showdata (edit talk links history)

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. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.

Please purge the cache after making any changes to this template.

Jadual isi kandungan

[Sunting] Standard parameters

Parameter name Value Meaning
alias Hong Kong Main article name (Hong Kong)
flag alias Flag of Hong Kong.svg Image name (Image:Flag of Hong Kong.svg, shown above right)

[Sunting] Flag variants

Label Flag image (40px) Image name
colonial Flag of Hong Kong 1959.svg
1910 Hongkongflag1910.gif

[Sunting] 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) Flag of Hong Kong HKG Bendera Hong Kong Hong Kong
Hong Kong, China (view) Templat:Country data Hong Kong, China [[Image:Templat:Country flag alias Hong Kong, China|25x15px|Bendera Templat:Country alias Hong Kong, China]] [[Templat:Country alias Hong Kong, China]]

[Sunting] Example usage

  • {{flag|Hong Kong}} → Templat:Country data Hong Kong
  • {{flagicon|Hong Kong}}Hong Kong
Using a flag variant
  • {{flag|Hong Kong|colonial}} → Templat:Country data Hong Kong
  • {{flagicon|Hong Kong|colonial}}Hong Kong
Using a redirect alias
  • {{flagicon|HKG}}Hong Kong
  • {{flagcountry|HKG}}Bendera Hong Kong Hong Kong
  • {{flag|HKG}}Flag of Hong Kong HKG