Template:HanCinema person
Appearance
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
[change source]No parameters
[change source]{{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
[change source]- 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
[change source]This 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
[change source]- Category:HanCinema person ID not in Wikidata (0)
- Category:HanCinema person ID different from Wikidata (0)
- Category:HanCinema person ID same as Wikidata (0)
- Category:Hancinema person template with no id set (exists in template, not created)