模板:TED talk
外观
本模板使用维基数据资源:
本模板产生一个链接到外部视频TED网站的通话页面。
使用模板
[编辑]Use one of:
{{TED talk}}
{{TED talk | ID }}
{{TED talk | ID | NAME }}
{{TED talk | ID | NAME | SPEAKER }}
{{TED talk | ID | NAME | SPEAKER | SPEAKERLINK}}
模板数据
[编辑]This template generates an external link to a speaker page at the TED website.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
ID | 1 | ID string used in the URL. | 字符串 | 可选 |
Name | 2 | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | 字符串 | 可选 |
Speaker | 3 | Name of speaker. Will link to this article if parameter 4 not specified | 字符串 | 可选 |
Speaker link | 4 | 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 | tim_berners_lee_a_magna_carta_for_the_web | A Magna Carta for the web }}
结果模板:
三个参数
[编辑]使用规则:
{{TED talk | tim_berners_lee_a_magna_carta_for_the_web | A Magna Carta for the web | 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) }}
结果模板: