Template:TV.com movie/doc
This is a documentation subpage for Template:TV.com movie. It may contain usage information, categories and other content that is not part of the original template page. |
- TV.com ID (P2638) (see uses)
This template uses Lua: |
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
changeUnnamed 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
changeUnnamed parameters
changeURL:
- http://www.tv.com/movies/death-of-a-salesman/
Usage:
* {{TV.com movie | death-of-a-salesman | Death of a Salesman }}
Output:
Named parameters
changeURL:
- http://www.tv.com/movies/serenity/
Usage:
* {{TV.com movie | id= serenity | title= Serenity }}
Output:
No ID in template or Wikidata
changeUsage:
{{TV.com movie}}
Output:
- {{TV.com movie}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Title | title 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.
| String | optional |
See also
change- {{TV.com anthology}}
- {{TV.com episode}}
- {{TV.com episodes}}
- {{TV.com name}}
- {{TV.com show}}