跳至內容

模板: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