This is a documentation subpage for Template:HanCinema person. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
This template uses Lua: |
This template is used to generate an external link to a web page for a person in the HanCinema. It should only be used in the "external links" section of an article.
- For films/movies, use HanCinema film.
- For TV series, use HanCinema drama.
Usage
editNo parameters
edit{{HanCinema person}}
and the template will pull the ID from Wikidata (if present there) and extract the link text from the page name, minus an parenthetical disambiguation.
With parameters
edit- The template then uses the article title as the anchor text:
* {{HanCinema person | ID }}
* {{HanCinema person | id= ID }}
- To have the link text be other than the article title, use second parameter:
* {{HanCinema person | ID | Name }}
* {{HanCinema person | id= ID | name= Name }}
TemplateData
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:HanCinema person in articles based on its TemplateData.
TemplateData for HanCinema person
This template is used to generate an external link to a web page for a person in the HanCinema Database.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The HanCinema person ID for the target page. | Number | optional |
Name | name 2 | Name that you want to have displayed. Defaults to article title. | String | optional |
Tracking categories
edit- Category:HanCinema person ID not in Wikidata (5)
- Category:HanCinema person ID different from Wikidata (35)
- Category:HanCinema person ID same as Wikidata (512)
- Category:Hancinema person template with no id set (exists in template, not created)