Difference between revisions of "Template:Youtube"

From Team Fortress Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#evp:youtube|{{{1}}}|{{{width|500}}}|{{{align|left}}}}}</includeonly><noinclude>Template to add a YouTube video.
+
<includeonly><div style="float:{{{align|left}}}">{{#evp:youtube|{{{1}}}|{{{width|500}}}}}</div></includeonly><noinclude>Template to add a YouTube video.
 
== Syntax ==
 
== Syntax ==
 
Basic:
 
Basic:

Revision as of 14:45, 14 September 2010

Template to add a YouTube video.

Syntax

Basic:

{{youtube|YouTube id}}

With a defined thumbnail width:

{{youtube|YouTube id|width=value|align=alignment}}
YouTube Video Id
The YouTube video id of the video to include.
Width
Width of the video, in pixels. Height is automatically calculated. Default is 500px.
Align
Horizontal alignment of video. Default is left.