Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/YouTube link/doc

Template page

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


es:Plantilla:EnlaceYouTube/doc fr:Modèle:LienYoutube/doc ko:틀:YouTubeLink/doc nl:Sjabloon:YouTubeLink/doc ru:Шаблон:Ссылка/YouTube/док pl:Szablon:Ytl/opis pt:Predefinição:YouTubeLink/doc tr:Template:YouTubeLink/Doküman uk:Шаблон:Посилання/YouTube/док zh:Template:YouTubeLink/doc