テンプレート:YouTubeLink

提供: Minecraft Wiki
移動先: 案内検索
ショートカット
ytl

This template should be used for linking to YouTube videos, especially in refs.

使用法[ソースを編集]

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

Consider this YouTube link:

https://www.youtube.com/watch?v=F9t3FREAZ-k&t=1m32s
https:/­/www.youtube.com/watch?v= F9t3FREAZ-k &t= 1m32s
video id time stamp

{{{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}}}.

[ソースを編集]

Code Product
{{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" – via YouTube
{{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=F9t3FREAZ-k&t=2m24s
{{ytl|F9t3FREAZ-k|Cave game tech test||May 13, 2009}} "Cave game tech test" – 2009年5月13日 – via YouTube
{{ytl|F9t3FREAZ-k||Nizzotch|May 13, 2009}} https://www.youtube.com/watch?v=F9t3FREAZ-kNizzotch、2009年5月13日 – via YouTube

参考[ソースを編集]

{{YouTube}} - To embed a video, rather than link to it

[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の解説は、テンプレート:YouTubeLink/docから参照されています。