Template:Hkmdb title/doc

From Simple English 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[change source]

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[change source]

Unnamed parameters[change source]

URL:

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

Usage:

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

Output:

Named parameters[change source]

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[change source]

Usage:

* {{Hkmdb title}}

Output:

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

See also[change source]