Template:YouTubeVideo

From Wikispooks
Revision as of 11:34, 12 June 2019 by Peter (talk | contribs) (fix margins)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is for placing a YouTube video and caption in a right-floating box.
The caption text will wrap within the box border and the borders will expand to accommodate whatever width & height are specified for the video

Usage:
{{YouTubeVideo
|code= Mandatory. YouTube video code
|align= Optional. {left,right} - defaults to "right"
|caption= Optional. video caption - standard wikitext including links
|width= Optional. video width - whole number only - ie no 'px' (default 360)
|height= Optional. video height - whole number only - ie no 'px' (default 300)
}}