Template:TheTVDB

(Redirected from Template:Thetvdb)

{{{title}}} at TheTVDB

Documentation icon Template documentation[view] [edit] [history] [purge]

Template:TheTVDB displays an external link to a television series page at TheTVDB. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{TheTVDB | ID }}
{{TheTVDB | ID | TITLE }}

Named parameters:

{{TheTVDB | id= ID }}
{{TheTVDB | id= ID | title= TITLE }}

Using Wikidata property (P4835):

{{TheTVDB}}
{{TheTVDB | title= TITLE }}

Examples

Unnamed parameters

URL:

https://www.thetvdb.com/?tab=series&id=83708

Usage:

* {{TheTVDB | 83708 | Survivors }}

Output:

Named parameters

URL:

https://www.thetvdb.com/?tab=series&id=79488

Usage:

* {{TheTVDB | id= 79488 | title= 30 Rock }}

Output:

ID in Wikidata

Usage in the article El Capo:

* {{TheTVDB}}
* {{TheTVDB | title= El Capo }}

Output:

No ID in template or Wikidata

Usage:

{{TheTVDB}}

Output:

TheTVDB at TheTVDB

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for TheTVDB

<templatedata> {

       "description": "This template displays an external link to a television series page at TheTVDB. 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: 83708 is the ID portion of https://www.thetvdb.com/?tab=series&id=83708. This parameter is optional if Wikidata property P4835 exists, but required if not.",
                       "type": "number",
                       "required": false,

"default": "Wikidata property P4835"

               },
               "title": {
                       "aliases" : [ "2" ],
                       "label": "Title",
                       "description": "The \"title\" parameter (or unnamed parameter \"2\") may be used to specify the television series 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.",
                       "type": "string",
                       "required": false,

"default": "TheTVDB"

               }

}, "paramOrder": [ "id", "title" ] } </templatedata>

See also