Template:HanCinema film/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

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

No parameters

  • {{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

  • 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

  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:
    1. https://www.hancinema.net/korean_movie_A_Werewolf_Boy.php
  4. Copy only the title (here, "A_Werewolf_Boy"), omitting the other text
  5. Replace "ID" in the template code with the number
    1. For the first option above, you'll then have
      * {{HanCinema film|A_Werewolf_Boy}} resulting in:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for HanCinema film

This template is used to generate an external link to a web page for a film in the HanCinema Database.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The HanCinema film ID for the target page.

Numberoptional
Titletitle 2

Title that you want to have displayed. Defaults to article title.

Stringoptional

Tracking categories

template with ID
template missing ID