Template:HanCinema film/doc
Appearance
This is a documentation subpage for Template:HanCinema film. 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 film in the HanCinema. It should only be used in the "external links" section of an article.
- For TV series, use HanCinema drama.
- For actors, directors, or screenwriters, use HanCinema person.
Usage
[edit]No parameters
[edit]{{HanCinema film}}
and the template will pull the ID from Wikidata (if present there) and extract the link text from the page title, minus an parenthetical disambiguation.
With parameters
[edit]- The template then uses the article title as the anchor text:
* {{HanCinema film | ID }} * {{HanCinema film | id= ID }}
- To have the link text be other than the article title, use second parameter:
* {{HanCinema film | ID | Title }} * {{HanCinema film | id= ID | title= Title }}
Detailed instructions
[edit]- Copy and paste one of the options above into the article
- Go to Hancinema.net and search for the film you want (say, A Werewolf Boy)
- Click on the correct A Werewolf Boy in the list; this will bring up the page:
- Copy only the title (here, "
A_Werewolf_Boy
"), omitting the other text - Replace "
ID
" in the template code with the number- For the first option above, you'll then have
* {{HanCinema film|A_Werewolf_Boy}}
resulting in:
- For the first option above, you'll then have
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:HanCinema film in articles based on its TemplateData.
TemplateData for HanCinema film
This template is used to generate an external link to a web page for a film in the HanCinema Database.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The HanCinema film ID for the target page. | Number | optional |
Title | title 2 | Title that you want to have displayed. Defaults to article title. | String | optional |
Tracking categories
[edit]- template with ID
- Category:HanCinema film ID same as Wikidata (1,318)
- Category:HanCinema film ID different from Wikidata (18)
- Category:HanCinema film ID not in Wikidata (3)
- template missing ID
- Category:Hancinema film template with no id set (exists in template, not created)