Template:Hkmdb title/doc
This is a documentation subpage for Template:Hkmdb title. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
- HKMDB film ID (P2883) (see uses)
This template uses Lua: |
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
changeUnnamed 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
changeUnnamed parameters
changeURL:
Usage:
* {{Hkmdb title | 10936 | Seven Swords }}
Output:
Named parameters
changeURL:
Usage:
* {{Hkmdb title | id= 8239 | title= Mr. Nice Guy }}
Output:
No ID in template or Wikidata
changeUsage:
* {{Hkmdb title}}
Output:
- {{HKMDB title}} template missing ID and not present in Wikidata.
See also
change- {{Hkmdb name}}