VOOZH about

URL: https://minecraft.wiki/w/Template:YouTube_playlist

⇱ Template:YouTube playlist – Minecraft Wiki


Template:YouTube playlist

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:Video, a script written in Lua.
Shortcuts

This template should be used to embed YouTube playlists.

{{playlist
| 1 = Playlist 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
}}

Parameters

[edit source]

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Video ID1

The video ID that must be added.

Stringsuggested
Video width2

Changes the width of the video. Defaults to 425

Stringoptional
Video height3

Changes the height of the video. Defaults to width ÷ (16÷9) rounded to the nearest integer

Stringoptional
Video alignmentalign

Changes the alignment of the video.

Stringoptional
Video captioncaption

Adds an optional caption for the video.

Stringoptional
Category supressornocat

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

Stringoptional

Examples

[edit source]
Default usage
{{YouTube playlist|PLZHdY_46KnYtVpQLh8DrmgO4g6311mWPF}}

See also

[edit source]
  • {{YouTubeLink}} – to link to a video, rather than embed it
  • {{YouTube}} – for an individual video
  • {{CollapsedVideo}} – to put an embedded video in a collapsed table that links to YouTube
  • {{Vimeo}} – to post a video from Vimeo
[view] [edit] [history] [purge]The above documentation is transcluded from Template:YouTube playlist/doc.
Retrieved from "https://minecraft.wiki/w/Template:YouTube_playlist?oldid=2778564"

Navigation menu