Difference between revisions of "Template:Youtube tn"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{#evp:youtube|{{{1}}}|{{{2|{{BASEPAGENAME}}}}}|left|{{{width|400}}}}}{{clr}}</includeonly><noinclude>Template to add a YouTube video with thumbnail caption.
+
{{Youtube|{{{1}}}|width={{{width|500}}}|align={{{align|left}}}}}
 
 
== Syntax ==
 
Basic:
 
<nowiki>{{youtube tn|someYoutubeId}}</nowiki>
 
 
 
With a defined thumbnail width:
 
<nowiki>{{youtube tn|someYoutubeId|description|width=value}}</nowiki>
 
 
 
;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.
 
[[Category:Formatting templates|Youtube tn]]</noinclude>
 

Revision as of 14:43, 14 September 2010

EmbedVideo received the bad id "{{{1}}}" for the service "youtube".