Template:YouTube

Revision as of 04:25, 1 April 2025 by Zippitjean (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Documentation

This template was borrowed from the Minecraft Wiki

"yt" and "YT" can be used as a shortcut for this template.

Usage

{{Youtube
| 1 = Video ID
| 2 = Width (defaults to 425)
| 3 = Height (defaults to width ÷ (16÷9) rounded to the nearest integer)
| align = Alignment
| caption = Caption
| nocat = Prevents category to be added
}}

Examples

Default usage

{{yt|KqreWm5ZpHw}}

= Custom width

{{yt|KqreWm5ZpHw|720}}

Custom width and height

{{yt|KqreWm5ZpHw|560|280}}

Inline alignment

{{yt|KqreWm5ZpHw|align=inline}}
{{yt|KqreWm5ZpHw|align=inline}}

Custom caption

{{yt|KqreWm5ZpHw|caption=''My Singing Monsters'' gameplay trailer.}}
My Singing Monsters gameplay trailer.