Template:TV.com episode/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

The second parameter ("title") is optional; if it is not specified, the template will use the article's title.

Unnamed parameters
For the Cheers episode "One for the Road":

URL:
 * http:// www.tv.com/shows//

Usage:

Output:

Named parameters
For The Twilight Zone episode "Perchance to Dream":


 * When a numeric ID is used, the template adds the prefix.

URLs:
 * http:// www.tv.com/shows//
 * http:// www.tv.com/shows//

Usage:

Output:

ID in Wikidata
Usage in the article Perchance to Dream (The Twilight Zone):

Output:
 * Blue pencil.svg

No ID in template or Wikidata
Usage:

Output:

TemplateData
{       "description": "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.", "params": { "id": { "aliases" : [ "1" ], "label": "ID", "description": "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.", "type": "string", "required": false, "default": "Wikidata property P2638" },               "title": { "aliases" : [ "2" ], "label": "Title", "description": "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.", "type": "string", "required": false, "default": "" }	},	"paramOrder": [ "id", "title" ] }