Template:Daum TV series/doc
This is a documentation subpage for Template:Daum TV series. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
This template uses Lua: |
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.
Contents
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
- 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). - 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.
- The page URL should look like this:
http://movie.daum.net/tv/main?tvProgramId=####
- where
####
indicates a number.
- 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. - 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, andTV series Name
is the title of the TV series or show.
- (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, andDescription
is the description of the show, in parentheses.
Examples
Parameter: id (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). - On the Daum search results page, click the link for "시그널". That Daum page URL is:
http://movie.daum.net/tv/main?tvProgramId=69728
- 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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| Number | optional |
Title | title 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.
| String | optional |
Description | description 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. | String | optional |
Tracking categories
- ID parameter exists
- Category:Daum TV series ID not in Wikidata (0)
- Category:Daum TV series ID different from Wikidata (0)
- Category:Daum TV series ID same as Wikidata (0)
- ID parameter does not exist