Difference between revisions of "Template:Youtube"
Line 1: | Line 1: | ||
− | <includeonly>{{#evp:youtube|{{{1}}}|{{{ | + | <includeonly>{{#evp:youtube|{{{1}}}|{{{desc|}}}|{{{align|}}}|{{{width|}}}}}</includeonly> |
<noinclude>Template to add a YouTube video with thumbnail caption. | <noinclude>Template to add a YouTube video with thumbnail caption. | ||
Line 7: | Line 7: | ||
With a defined thumbnail width: | With a defined thumbnail width: | ||
− | <nowiki>{{youtube|YouTube id|description|width=value}}</nowiki> | + | <nowiki>{{youtube|YouTube id|desc=description|width=value|align=alignment}}</nowiki> |
;YouTube Video Id: The YouTube video id of the video to include. | ;YouTube Video Id: The YouTube video id of the video to include. | ||
;Description: Text description that appears under the video. | ;Description: Text description that appears under the video. | ||
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 300px. | ;Width: Width of the video, in pixels. Height is automatically calculated. Default is 300px. |
Revision as of 16:58, 29 June 2010
Template to add a YouTube video with thumbnail caption.
Syntax
Basic:
{{youtube|YouTube id}}
With a defined thumbnail width:
{{youtube|YouTube id|desc=description|width=value|align=alignment}}
- YouTube Video Id
- The YouTube video id of the video to include.
- Description
- Text description that appears under the video.
- Width
- Width of the video, in pixels. Height is automatically calculated. Default is 300px.