Difference between revisions of "Template:YouTubeVideo"
Jump to navigation
Jump to search
m (tweek margins) |
m (tweek) |
||
Line 6: | Line 6: | ||
|{{t|code}}= Mandatory. YouTube video code<br/> | |{{t|code}}= Mandatory. YouTube video code<br/> | ||
|{{t|caption}}= Optional. video caption - standard wikitext including links<br/> | |{{t|caption}}= Optional. video caption - standard wikitext including links<br/> | ||
− | |{{t|width}}= Optional. video width - whole number only - no'px' (default 360)<br/> | + | |{{t|width}}= Optional. video width - whole number only - ie no 'px' (default 360)<br/> |
− | |{{t|height}}= Optional. video height - whole number only - no'px' (default 300)<br/> | + | |{{t|height}}= Optional. video height - whole number only - ie no 'px' (default 300)<br/> |
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</noinclude><includeonly> | </noinclude><includeonly> |
Revision as of 07:00, 8 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 - ie no 'px' (default 360)
|height= Optional. video height - whole number only - ie no 'px' (default 300)
}}