[view | edit | history | purge]Documentation

This template should be used to embed YouTube videos.


{{yt|videoid|width|align=|nocat=}} Using this template on a page categorizes the page into Category:Pages with videos.


Default width (425px): {{yt|MmB9b5njVbA}}

Custom width: {{yt|MmB9b5njVbA|720}}

Inline alignment: {{yt|MmB9b5njVbA|align=inline}}

With an image frame

Minecraft Trailer from 2011

Sometimes it makes sense to put the video in an image frame so that it formats like an image: {{FakeImage|{{yt|MmB9b5njVbA|nocat=y}}|Minecraft Trailer from 2011|align=right}}

This can unclutter the pages a lot. You also get to add a caption.

See also

  • {{YouTubeLink}} – to link to a video, rather than embed it
  • {{CollapsedVideo}} – to put an embedded video in a collapsed table that links to YouTube
[view | edit | history | purge]The above documentation is transcluded from Template:YouTube/doc.
Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.