テンプレート:YouTube link
(テンプレート:Ytlから転送)
ショートカット
This template should be used for linking to YouTube videos, especially in refs.
Usage[ソースを編集]
{{ytl|video id|archive=archive id (optional)|display name (optional)|uploader (optional)|upload date (optional)|t=time stamp (optional)}}
Consider this YouTube link:
https://youtube.com/watch?v=F9t3FREAZ-k&t=1m32s | |||
https://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=
.
Examples[ソースを編集]
Code | Product |
---|---|
{{ytl|F9t3FREAZ-k}} |
https://youtube.com/watch?v=F9t3FREAZ-k |
{{ytl|F9t3FREAZ-k|t=1m32s}} |
https://youtube.com/watch?v=F9t3FREAZ-k&t=1m32s |
{{ytl|F9t3FREAZ-k|Cave game}} |
"Cave game" |
{{ytl|F9t3FREAZ-k|name=cave|t=1m32s}} |
https://youtube.com/watch?v=F9t3FREAZ-k&t=1m32s |
{{ytl|cave|t=2m24s}} |
https://youtube.com/watch?v=F9t3FREAZ-k&t=2m24s |
{{ytl|F9t3FREAZ-k|Cave game tech test|May 13, 2009}} |
"Cave game tech test" – May 13, 2009 on YouTube |
{{ytl|F9t3FREAZ-k|Cave game tech test|Nizzotch|May 13, 2009}} |
"Cave game tech test" – Nizzotch on YouTube, 5月 13, 2009 |
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の記事は次のページから転記しています: テンプレート:YouTube link/doc.