Difference between revisions of "Template:Youtube"

From Team Fortress Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#evp:youtube|{{{1}}}|{{{desc|}}}|{{{width|}}}}}</includeonly>
+
<includeonly>{{#evp:youtube|{{{1}}}|{{{desc|}}}|{{{width|}}}|{{{align|left}}}}}</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:02, 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.