Template:HKMDB title/doc
Appearance
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
[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:
Usage:
* {{HKMDB title | 10936 | Seven Swords }}
Output:
Named parameters
[edit]URL:
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]- {{HKMDB name}}