Difference between revisions of "Template:Youtube tn"

From Team Fortress Wiki
Jump to: navigation, search
(simple template to add youtube videos using the embedvideo extension)
 
m (missing brace.)
Line 1: Line 1:
<includeonly>{{#evp:youtube|{{{1}}}|{{{description|}}|right|{{{width|100}}}}}</includeonly>
+
<includeonly>{{#evp:youtube|{{{1}}}|{{{description|}}}|right|{{{width|100}}}}}</includeonly>
 
<noinclude>Template to add a YouTube video with thumbnail caption.
 
<noinclude>Template to add a YouTube video with thumbnail caption.
  

Revision as of 23:44, 9 June 2010

Template to add a YouTube video with thumbnail caption.

Syntax

Basic:

{{youtube tn|someYoutubeId}}

With a defined thumbnail width:

{{youtube tn|someYoutubeId|description|width}}
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.