The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Template:YouTube

From Minecraft Wiki
(Redirected from Template:Yt)
Jump to: navigation, search
[view | edit | history | purge]Documentation
Shortcuts
yt
YT

This template should be used to embed YouTube videos.

Usage[edit]

{{yt|videoid|width|align=}}

Examples[edit]

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

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

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

With an image frame[edit]

Information icon.svg
Minecraft Trailer from 2011

Sometimes it makes sense to put the video in an image frame so that it formats like an image: {{image frame|content={{yt|MmB9b5njVbA}}|caption=Minecraft Trailer|link=Minecraft|align=right|width=425}}

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

See also[edit]

  • {{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.