Template:TV.com episode
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Template:TV.com episode displays an external link to a television series episode page at TV.com. It is intended for use in the external links section of an article.
Usage[edit source]
Unnamed parameters:
{{TV.com episode | ID }}
{{TV.com episode | ID | TITLE }}
Named parameters:
{{TV.com episode | id= ID }}
{{TV.com episode | id= ID | title= TITLE }}
Using Wikidata property Lua error in Module:Wikidata_label at line 62: attempt to index field 'wikibase' (a nil value). (P2638):
{{TV.com episode}}
{{TV.com episode | title= TITLE }}
The second parameter ("title") is optional; if it is not specified, the template will use the article's title.
Examples[edit source]
Unnamed parameters[edit source]
For the Cheers episode "One for the Road":
URL:
- http://www.tv.com/shows/cheers/one-for-the-road-14345/
Usage:
* {{TV.com episode | cheers/one-for-the-road-14345 | One for the Road }}
Output:
Named parameters[edit source]
For The Twilight Zone episode "Perchance to Dream":
- When a numeric ID is used, the template adds the prefix show/episode-.
URLs:
- http://www.tv.com/shows/show/episode-12593/
- http://www.tv.com/shows/the-twilight-zone/perchance-to-dream-12593/
Usage:
* {{TV.com episode | id= 12593 | title= Perchance to Dream }}
Output:
ID in Wikidata[edit source]
Usage in the article Perchance to Dream (The Twilight Zone):
* {{TV.com episode}}
* {{TV.com episode | episode= Perchance to Dream }}
Output:
No ID in template or Wikidata[edit source]
Usage:
{{TV.com episode}}
Output:
- "TV.com episode" at TV.comLua error in Module:EditAtWikidata at line 36: attempt to index field 'wikibase' (a nil value).
TemplateData[edit source]
TemplateData for TV.com episode
This template displays an external link to a television series episode 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: 14345 or cheers/one-for-the-road-14345 are both valid IDs for http://www.tv.com/shows/cheers/one-for-the-road-14345/. 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 episode title, which is displayed in quotation marks in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Tracking categories[edit source]
See also[edit source]
- {{TV.com anthology}}
- {{TV.com episodes}}
- {{TV.com movie}}
- {{TV.com show}}
The above documentation is transcluded from Template:TV.com episode/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |