Template:HKMDB name displays an external link to a page for a person at Hong Kong Movie Database (HKMDB) website. It is intended for use in the external links section of an article.

Usage

edit

Unnamed parameters:

{{HKMDB name | ID }}
{{HKMDB name | ID | NAME }}

Named parameters

{{HKMDB name | id= ID }}
{{HKMDB name | id= ID | name= NAME }}

Using Wikidata property HKMDB person ID (P3346):

{{HKMDB name}}
{{HKMDB name | name= NAME }}

Where:

  • ID (required) is the ID number in the person's URL at the HKMBD website
  • NAME (optional) is the name of the person; it defaults to the Wikipedia page name

Examples

edit

Unnamed parameters

edit

URL:

http://www.hkmdb.com/db/people/view_utf.mhtml?id=10846&display_set=eng

Usage:

* {{HKMDB name | 10846 | Gigi Leung Wing-Kei }}

Output:

Named parameters

edit

URL:

http://www.hkmdb.com/db/people/view_utf.mhtml?id=5023&display_set=eng

Usage:

* {{HKMDB name | id= 5023 | name= Andy Lau Tak-Wah }}

Output:

No ID in template or Wikidata

edit

Usage:

* {{HKMDB name}}

Output:

  • {{HKMDB name}} template missing ID and not present in Wikidata.

See also

edit