Template:HanCinema drama/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 TV series in the HanCinema. It should only be used in the "external links" section of an article.

For films/movies, use HanCinema film.
For actors, directors, or screenwriters, use HanCinema person.

Usage

No parameters

  • {{HanCinema drama}} 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 drama | ID }}
* {{HanCinema drama | id= ID }}
  • To have the link text be other than the article title, use second parameter:
* {{HanCinema drama | ID | Title }}
* {{HanCinema drama | 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 TV series you want (say, Save Me)
  3. Click on the correct Save Me in the list; this will bring up the page:
    1. https://www.hancinema.net/korean_drama_Save_Me.php
  4. Copy only the title (here, "Save_Me"), 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 drama|Save_Me}} 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 drama

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

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The HanCinema drama ID for the target page.

Numberoptional
Titletitle 2

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

Stringoptional

Tracking category