跳至內容

模板:TED talk/doc

維基百科,自由的百科全書

本模板產生一個鏈接到外部視頻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