Template:Daum TV series/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 at the Daum. It should be used exclusively for TV series.

For a movies, use Template:Daum movie.

Usage

Unnamed parameters:

  • {{Daum TV series | ID }}
  • {{Daum TV series | ID | TITLE }}
  • {{Daum TV series | ID | TITLE | DESCRIPTION }}

Named parameters:

  • {{Daum TV series | id= ID }}
  • {{Daum TV series | id= ID | title= TITLE }}
  • {{Daum TV series | id= ID | title= TITLE | description= DESCRIPTION }}

Using Wikidata property Template:Property:

  • {{Daum TV series}}
  • {{Daum TV series | title= TITLE }}
  • {{Daum TV series | title= TITLE | description= DESCRIPTION }}

Instructions

  1. Search on Daum for the title you want. On the Wikipedia page of the TV series concerned this can often be done with the link produced by previewing {{Daum TV series}} (this may not work if the page title is more than just the TV series title).
  2. Click on the correct link to go to the TV series's page (or whatever you're looking for). Be sure you're getting on the correct title page.
  3. The page URL should look like this:
    http://movie.daum.net/tv/main?tvProgramId=####
    where #### indicates a number.
  4. Copy the ID number that appears after .net/tv/main?tvProgramId= in the URL. The leading zeros in the number are not needed, but are recommended for Linksearch uniformity.
  5. Add the following to the external links section of the article:
    {{Daum TV series | #### | TV series Name }}
    or {{Daum TV series | id= #### | title= TV series Name }}
    where #### is the number you've copied, and TV series Name is the title of the TV series or show.
  6. (Optional) If you want to add an additional description to distinguish this TV series/show from another that may be on the same page with the same name, use the following text:
    {{Daum TV series | #### | Title | Description }}
    where ####### is the number you've copied, Title is the title of the TV series or show, and Description is the description of the show, in parentheses.

Examples

Parameter: id (1)

  1. Search on Daum for the title 시그널 (Signal). This can also be done on the Wikipedia page for Signal by previewing {{Daum TV series}} and clicking that link (http://movie.daum.net/search/main?returnUrl=http%3A%2F%2Fmovie.daum.net%2Ftv%2Fmain%3FtvProgramId%3D69728&searchText=%EC%8B%9C%EA%B7%B8%EB%84%90#searchType=tv&page=1&sortType=acc).
  2. On the Daum search results page, click the link for "시그널". That Daum page URL is:
    http://movie.daum.net/tv/main?tvProgramId=69728
  3. Copy 69728 and add it to the template.

Example: {{Daum TV series | 69728 }}

Result: Template:PAGENAMEBASE at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Example: {{Daum TV series |id= 69728 }}

Result: Template:PAGENAMEBASE at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.

Parameter: title (2)

Example: {{Daum TV series | 69728 | Signal }}

Result: Signal at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Example: {{Daum TV series | id= 69728 | title= Signal }}

Result: Signal at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Parameter: description (3)

Example: {{Daum TV series | 69728 | Signal | (2016 South Korean TV series) }}

Result: Signal (2016 South Korean TV series) at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Example: {{Daum TV series | id= 69728 | title= Signal | description= (2016 South Korean TV series) }}

Result: Signal (2016 South Korean TV series) at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

No ID in template or Wikidata

Example: {{Daum TV series}}

Result: Template:PAGENAMEBASE at Daum (in Korean)Script error: No such module "EditAtWikidata".Template:WikidataCheck

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 Daum TV series

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

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 69728 is the ID portion of http://movie.daum.net/tv/main?tvProgramId=69728. This parameter is optional if Wikidata property P4270 exists, but required if not.

Default
Wikidata property P4270
Numberoptional
Titletitle 2

The "title" parameter (or unnamed parameter "2") may be used to specify the title of the TV series. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(TV series)". It is displayed in an italic font.

Default
{{PAGENAMEBASE}}
Stringoptional
Descriptiondescription 3

The "description" parameter (or unnamed parameter "3") may be used to add a description of the production. It is displayed in a non-italic font.

Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist