Template:MC/YouTube link
More actions
Template:Documentation header Template:Shortcut
This template should be used for linking to YouTube videos in External Links sections and refs.
Usage
{{YouTube link|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 | ||
Template:P 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 Template:P.
Examples
| Code | Product |
|---|---|
| {{YouTube link|F9t3FREAZ-k}} | Template:Ytl |
| {{YouTube link|F9t3FREAZ-k|t=1m32s}} | Template:Ytl |
| {{YouTube link|F9t3FREAZ-k|Cave game}} | Template:Ytl |
| {{YouTube link|F9t3FREAZ-k|name=cave|t=1m32s}} | Template:Ytl |
| {{YouTube link|cave|t=2m24s}} | Template:Ytl |
| {{YouTube link|F9t3FREAZ-k|Cave game tech test|May 13, 2009}} | Template:Ytl |
| {{YouTube link|F9t3FREAZ-k|Cave game tech test|Nizzotch|May 13, 2009}} | Template:Ytl |
See also
- {{YouTube}} - To embed a video, rather than link to it
de:Vorlage:YouTubeLink es:Plantilla:EnlaceYouTube fr:Modèle:LienYoutube it:Template:YouTubeLink ko:틀:YouTubeLink nl:Sjabloon:YouTubeLink ru:Шаблон:Ссылка/YouTube pl:Szablon:Ytl pt:Predefinição:YouTubeLink tr:Template:YouTubeLink uk:Шаблон:Посилання/YouTube
zh:Template:YouTubeLinkIf you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/YouTube link/doc. (View all subpages of this page.)