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
< Template:YouTube
Revision as of 18:45, 3 September 2024 by BakiDance (talk | contribs) (Created page with " <templatedata> { "params": { "align": { "label": "Video alignment", "description": "How the video should be aligned on the page. This value likely does nothing.", "suggestedvalues": [ "left", "right", "center" ], "default": "center" }, "width": { "label": "Width", "description": "The initial width of the video. Do not include \"px\"", "example": "800", "type": "number", "default": "800" }, "height": { "label": "Hei...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"

Default
800
Example
800
Numberoptional
Heightheight

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

Default
500
Numberoptional