Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

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

Template:Citation see also

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:YouTubeLink
The above text is transcluded from Template:MC/YouTube link/doc; you can change it or view its history.
If 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.)