Template:HKMDB name/doc
Appearance
![]() | This is a documentation subpage for Template:HKMDB name. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
This template uses the Wikidata property:
HKMDB person ID (P3346) (see uses)
![]() | This template uses Lua: |
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:
Usage:
* {{HKMDB name | 10846 | Gigi Leung Wing-Kei }}
Output:
Named parameters[edit]
URL:
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]
- {{HKMDB title}}