跳转到内容

模板:TED talk

维基教科书,自由的教学读本

TED talk, a TED talk

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

Template:Uses Wikidata

本模板产生一个链接到外部视频TED网站的通话页面。

使用模板

[编辑]

Use one of:

{{TED talk}}
{{TED talk | ID }}
{{TED talk | ID | NAME }}
{{TED talk | ID | NAME | SPEAKER }}
{{TED talk | ID | NAME | SPEAKER | SPEAKERLINK}}

模板数据

[编辑]
这是用于新版可视化编辑器及其他工具的模板数据文档。

TED talk模板数据

This template generates an external link to a speaker page at the TED website.

模板参数[编辑模板数据]

参数描述类型状态
ID1

ID string used in the URL.

字符串可选
Name2

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

字符串可选
Speaker3

Name of speaker. Will link to this article if parameter 4 not specified

字符串可选
Speaker link4

Link to article about speaker, if disambiguated

字符串可选

范例

[编辑]

The following example shows a link to the page for Tim Berners-Lee: A Magna Carta for the web:

https://www.ted.com/talks/tim_berners_lee_a_magna_carta_for_the_web

一个参数

[编辑]

使用规则:

{{TED talk | tim_berners_lee_a_magna_carta_for_the_web }}

结果模板:

TED talk, a TED talk

二个参数

[编辑]

使用规则:

{{TED talk | tim_berners_lee_a_magna_carta_for_the_web | A Magna Carta for the web }}

结果模板:

A Magna Carta for the web , a TED talk

三个参数

[编辑]

使用规则:

{{TED talk | tim_berners_lee_a_magna_carta_for_the_web | A Magna Carta for the web | Tim Berners-Lee }}

结果模板:

A Magna Carta for the web , a TED talk by Tim Berners-Lee

四个参数

[编辑]

使用规则:

{{TED talk | tim_berners_lee_a_magna_carta_for_the_web | A Magna Carta for the web | Tim Berners-Lee | Tim Berners-Lee (example) }}

结果模板:

A Magna Carta for the web , a TED talk by Tim Berners-Lee