Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation
Shortcuts

This template should be used to embed YouTube videos.

Usage

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

Examples

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.
Advertisement