Template:HanCinema film/doc

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.

No parameters

 * 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

 * The template then uses the article title as the anchor text:


 * To have the link text be other than the article title, use second parameter:

Detailed instructions

 * 1) Copy and paste one of the options above into the article
 * 2) Go to Hancinema.net and search for the film you want (say, A Werewolf Boy)
 * 3) Click on the correct A Werewolf Boy in the list; this will bring up the page:
 * 4) Copy  the title (here, " "), omitting the other text
 * 5) Replace " " in the template code with the number
 * 6) For the first option above, you'll then have
 * resulting in:
 * resulting in:

TemplateData
{	"description": "This template is used to generate an external link to a web page for a film in the HanCinema Database.", "params": { "id": { "label": "ID", "aliases": [ "1" ], "description": "The HanCinema film ID for the target page.", "type": "number", "required": false },		"title": { "label": "Title", "aliases": ["2"], "description": "Title that you want to have displayed. Defaults to article title.", "type": "string", "required": false }	} }

Tracking categories

 * template with ID
 * template missing ID
 * (exists in template, not created)
 * template missing ID
 * (exists in template, not created)
 * (exists in template, not created)