跳转到内容

Template:TED talk/doc

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

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/doc, 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