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

Template:YouTube/doc

Template page

Embeds a YouTube video into an article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Video URLvideo

The YouTube video's URL to embed

Example
https://youtu.be/dQw4w9WgXcQ
URLrequired
Video alignmentalign

How the video should be aligned on the page. This value likely does nothing.

Suggested values
left right center
Default
center
Unknownoptional
Widthwidth

The initial width of the video. Do not include "px". This value is not necessarily required since the width is dynamic.

Default
800
Example
800
Numberoptional
Heightheight

The height of the video. Do not include "px".

Default
500
Example
500
Numbersuggested