ഫലകം: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.
| പദം | ഐച്ഛികം |
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.
| പദം | ഐച്ഛികം |
Tracking categories
തിരുത്തുകSee also
തിരുത്തുക- {{TV.com anthology}}
- {{TV.com episodes}}
- {{TV.com movie}}
- {{TV.com name}}
- {{TV.com show}}