Template:TV.com movie/doc

From Simple English Wikipedia, the free encyclopedia

Template:TV.com movie displays an external link to a movie's web page at TV.com. It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters:

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

Named parameters:

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

Using Wikidata property TV.com ID (P2638):

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

Examples[change source]

Unnamed parameters[change source]

URL:

http://www.tv.com/movies/death-of-a-salesman/

Usage:

* {{TV.com movie | death-of-a-salesman | Death of a Salesman }}

Output:

Named parameters[change source]

URL:

http://www.tv.com/movies/serenity/

Usage:

* {{TV.com movie | id= serenity | title= Serenity }}

Output:

No ID in template or Wikidata[change source]

Usage:

{{TV.com movie}}

Output:

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

TemplateData[change source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TV.com movie in articles based on its TemplateData.

TemplateData for TV.com movie

This template displays an external link to a movie's web page at TV.com. 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: death-of-a-salesman is the ID in http://www.tv.com/movies/death-of-a-salesman/. 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 movie's 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

See also[change source]