Template:TheTVDB

维基百科,自由的百科全书
跳到导航 跳到搜索

TheTVDB英语TheTVDB上的{{{title}}}

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Template:TheTVDB displays an external link to a television series page at TheTVDB英语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英语El Capo:

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

Output:

No ID in template or Wikidata[编辑]

Usage:

{{TheTVDB}}

Output:

{{TheTVDB}} template missing ID and not present in Wikidata.

TemplateData[编辑]

这是该模板的模板数据,用于可视化编辑器及其它工具。

TheTVDB模板数据

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.

[编辑模板数据]

模板参数

参数描述类型状态
IDid1

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.

默认值
Wikidata property P4835
数字可选
Titletitle2

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.

默认值
{{PAGENAMEBASE}}
字符串可选

See also[编辑]