ಟೆಂಪ್ಲೇಟು:TV.com episode/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:TV.com episode It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
- TV.com ID (P2638) (see uses)
This template uses Lua: |
ಟೆಂಪ್ಲೇಟು: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
ಬದಲಾಯಿಸಿ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 TV.com ID (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
ಬದಲಾಯಿಸಿUnnamed parameters
ಬದಲಾಯಿಸಿ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
ಬದಲಾಯಿಸಿ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
ಬದಲಾಯಿಸಿ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
ಬದಲಾಯಿಸಿUsage:
{{TV.com episode}}
Output:
- {{TV.com episode}} template missing ID and not present in Wikidata.
TemplateData
ಬದಲಾಯಿಸಿ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.
ಪರಿಮಿತಿ | ವಿವರ | ನಮೂನೆ | ಸ್ಥಾನಮಾನ | |
---|---|---|---|---|
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 | ಐಚ್ಛಿಕ |
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 | ಐಚ್ಛಿಕ |
Tracking categories
ಬದಲಾಯಿಸಿSee also
ಬದಲಾಯಿಸಿ{{TV.com anthology}}
{{TV.com episodes}}
{{TV.com movie}}
{{TV.com name}}
{{TV.com show}}