Template:HanCinema drama
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 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
- Copy and paste one of the options above into the article
- Go to Hancinema.net and search for the TV series you want (say, Save Me)
- Click on the correct Save Me in the list; this will bring up the page:
- Copy only the title (here, "
Save_Me
"), omitting the other text - Replace "
ID
" in the template code with the number- For the first option above, you'll then have
* {{HanCinema drama|Save_Me}}
resulting in:
- For the first option above, you'll then have
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:HanCinema drama in articles based on its TemplateData.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The HanCinema drama ID for the target page. | Number | optional |
Title | title 2 | Title that you want to have displayed. Defaults to article title. | String | optional |
Tracking category
- Category:HanCinema drama ID not in Wikidata (6)
- Category:HanCinema drama ID different from Wikidata (62)
- Category:HanCinema drama ID same as Wikidata (920)
- Category:Hancinema drama template with no id set (exists in template, not created)