Template:Youtube: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<includeonly>{{#ev:youtube |id={{{1|}}} |dimensions={{{2|640x360px}}} |alignment={{{alignment|left}}} }}</includeonly><noinclude>{{/doc}}</noinclude>"
 
mNo edit summary
Line 2: Line 2:
|id={{{1|}}}
|id={{{1|}}}
|dimensions={{{2|640x360px}}}
|dimensions={{{2|640x360px}}}
|alignment={{{alignment|left}}}
|alignment={{{align|left}}}
}}</includeonly><noinclude>{{/doc}}</noinclude>
}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 17:51, 22 October 2024

Embeds a YouTube video. Wrapper around the EmbedVideo parser function.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ID1

The ID of the YouTube video. If a video's URL is "https://www.youtube.com/watch?v=ju4n5PmjhSM", then its ID is "ju4n5PmjhSM".

Example
ju4n5PmjhSM
Stringrequired
Dimensions2

The dimensions of the video.

Default
640x360px
Example
1280x720px
Stringoptional
Alignmentalign

The alignment of the video. Causes it to float left or right.

Suggested values
left right
Stringoptional

Example usage

{{youtube|ju4n5PmjhSM|320x180px|align=right}}