Jump to content

Template:HKMDB title/doc

From Wikipedia, the free encyclopedia

Template:HKMDB title displays an external link to a page for a film or movie title at Hong Kong Movie DataBase (HKMBD) website. It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{HKMDB title | ID }}
{{HKMDB title | ID | TITLE }}

Named parameters

{{HKMDB title | id= ID }}
{{HKMDB title | id= ID | title= TITLE }}

Using Wikidata property HKMDB film ID (P2883):

{{HKMDB title}}
{{HKMDB title | title= TITLE }}

Where:

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

Examples

[edit]

Unnamed parameters

[edit]

URL:

http://www.hkmdb.com/db/movies/view.mhtml?id=10936&display_set=eng

Usage:

* {{HKMDB title | 10936 | Seven Swords }}

Output:

Named parameters

[edit]

URL:

http://www.hkmdb.com/db/movies/view.mhtml?id=8239&display_set=eng

Usage:

* {{HKMDB title | id= 8239 | title= Mr. Nice Guy }}

Output:

No ID in template or Wikidata

[edit]

Usage:

* {{HKMDB title}}

Output:

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

See also

[edit]