From Aether Project Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

This template should be used to embed YouTube videos.


| 1 = Video ID
| 2 = Dimensions
| align = Alignment
| caption = Caption
| nocat = Prevents category to be added
  • Using this template on a page categorizes the page into Category:Pages with videos unless |nocat= is used.


This template adds a video that can be embedded on a page directly instead on needing to upload it directly to the wiki.

Template parameters

This template prefers inline formatting of parameters.

Video ID1

The video ID that must be added.

Video dimensions2

Changes the dimensions of the video.

Video alignmentalign

Changes the alignment of the video.

Video captioncaption

Adds an optional caption for the video.

Category supressornocat

Prevents [[:Category:Pages with videos]] to be added to a page using this template.



Default usage
Custom width
Inline alignment
Custom caption
{{yt|MmB9b5njVbA|caption=''Minecraft'' official trailer.|nocat=y}}

With an image frame

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.

Minecraft Trailer from 2011

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