快捷方式:ytl

模板:YouTubeLink

出自Minecraft基岩版开发Wiki
[檢視 | 編輯 | 歷史 | 清除緩存]文件頁面


這個模板用於連結到YouTube影片,比如參考資料。

用法[編輯]

{{ytl|video id|display name (optional)|uploader (optional)|upload date (optional)|t=time stamp (optional)}}

說明:
https://www.youtube.com/watch?v=F9t3FREAZ-k&t=1m32s
https:/­/www.youtube.com/watch?v= F9t3FREAZ-k &t= 1m32s
影片ID 時間戳

{{{name}}} can be set to define a name to the youtube video ID, allowing it to be called later with a different time stamp. To call a previously defined ID, simply use the name instead of the video ID in {{{1}}}.

範例[編輯]

輸入 輸出
{{ytl|F9t3FREAZ-k}} https://www.youtube.com/watch?v=F9t3FREAZ-k
{{ytl|F9t3FREAZ-k|t=1m32s}} https://www.youtube.com/watch?v=F9t3FREAZ-k&t=1m32s
{{ytl|F9t3FREAZ-k|Cave game}} Cave game
{{ytl|F9t3FREAZ-k|name=cave|t=1m32s}} https://www.youtube.com/watch?v=F9t3FREAZ-k&t=1m32s
{{ytl|cave|t=2m24s}} https://www.youtube.com/watch?v=cave&t=2m24s
{{ytl|F9t3FREAZ-k|Cave game tech test||May 13, 2009}} Cave game tech test
{{ytl|F9t3FREAZ-k||Nizzotch|May 13, 2009}} https://www.youtube.com/watch?v=F9t3FREAZ-k

另見[編輯]

{{YouTube}} - 內嵌一個影片而不是單純的連結。