Difference between revisions of "Template:YouTubeVideo"

From Wikispooks
Jump to navigation Jump to search
m (fix)
m (tidy instructions)
Line 1: Line 1:
<noinclude>This template is for placing a You Yube video and caption in a right-floating box
+
<noinclude>'''This template is for placing a YouTube video and caption in a right-floating box.'''<br/>
 +
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:'''<br/>
 
'''Usage:'''<br/>

Revision as of 15:42, 7 September 2014

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
|caption= Optional. video caption - standard wikitext including links
|width= Optional. video width - whole number only - no'px' (default 360)
|height= Optional. video height - whole number only - no'px' (default 300)
}}