Template:TV.com anthology

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

{{{title}}} at TV.com

Template documentation[view] [edit] [history] [purge]

Template:TV.com anthology displays an external link to a web page at TV.com. This template is used for films of anthology series, where the title should be displayed in italic type instead of "quotation marks". It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters:

{{TV.com anthology | ID }}
{{TV.com anthology | ID | TITLE }}

Named parameters:

{{TV.com anthology | id= ID }}
{{TV.com anthology | id= ID | title= TITLE }}

Using Wikidata property TV.com ID (P2638):

{{TV.com anthology}}
{{TV.com anthology | title= TITLE }}

The second parameter ("title") is optional; if it is not specified, the template will use the article's title.

Examples[edit]

Unnamed parameters[edit]

For the Hallmark Hall of Fame anthology series television film, Decoration Day:

URL:

http://www.tv.com/shows/hallmark-hall-of-fame/decoration-day-364496/

Usage:

* {{TV.com anthology | hallmark-hall-of-fame/decoration-day-364496 | Decoration Day }}

Output:

Named parameters[edit]

For the Hallmark Hall of Fame anthology series television film, Loving Leah:

When a numeric ID is used, the template adds the prefix show/episode-.

URL:

http://www.tv.com/shows/show/episode-1250462/
http://www.tv.com/shows/hallmark-hall-of-fame/loving-leah-1250462/

Usage:

* {{TV.com anthology | id= 1250462 | title= Loving Leah }}

Output:

No ID in template or Wikidata[edit]

Usage:

{{TV.com anthology}}

Output:

{{TV.com anthology}} template missing ID and not present in Wikidata.

TemplateData[edit]

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

TemplateData for TV.com anthology

This template displays an external link to a web page at TV.com. This template is used for films of anthology series, where the title should be displayed in italic type instead of quotation marks. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") may be used to specify the ID portion of the URL. Example: 364496 or hallmark-hall-of-fame/decoration-day-364496 are both valid IDs for http://www.tv.com/shows/hallmark-hall-of-fame/decoration-day-364496/. This parameter is optional if Wikidata property P2638 exists, but required if not.

Default
Wikidata property P2638
Stringoptional
Titletitle 2

The "title" parameter (or unnamed parameter "2") may be used to specify the name or title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

See also[edit]