Difference between revisions of "Template:Youtube"
Line 1: | Line 1: | ||
− | <includeonly>{{#evp:youtube|{{{1}}}|{{{desc|}}}|{{{align|left}}}|{{{width|}}}}}</includeonly> | + | <includeonly>{{#evp:youtube|{{{1}}}|{{{desc|}}}|{{{align|left}}}|{{{width|500}}}}}</includeonly> |
<noinclude>Template to add a YouTube video with thumbnail caption. | <noinclude>Template to add a YouTube video with thumbnail caption. | ||
Revision as of 17:16, 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.