Difference between revisions of "Template:Youtube tn"

From Team Fortress Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="thumb t{{{float|right}}}"><div class="thumbinner" style="width:{{{width|350}}};">{{Youtube|{{{1|I3yKmjMmo6M}}}|width={{{width|500}}}}}<div class="thumbcaption">{{{2|<noinclude>Caption goes here</noinclude>}}}</div></div></div><noinclude>Template embeds a YouTube video thumbnail.
+
<div class="thumb t{{{float|right}}}"><div class="thumbinner" style="width:{{{width|350}}};">{{Youtube|{{{1|I3yKmjMmo6M}}}|width={{{width|500}}}}}<div class="thumbcaption">{{{2|<noinclude>Caption goes here</noinclude>}}}</div></div></div><noinclude>
 +
{{Doc begin}} Template embeds a YouTube video thumbnail.
 
== Syntax ==
 
== Syntax ==
 
Basic:
 
Basic:
Line 13: Line 14:
 
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 350px.
 
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 350px.
 
;Float: Horizontal direction video floats. Default is right.
 
;Float: Horizontal direction video floats. Default is right.
 +
 +
== See also ==
 +
* {{tl|Youtube}}
 +
 
[[Category:Formatting templates|Youtube]]
 
[[Category:Formatting templates|Youtube]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:11, 14 September 2010

Caption goes here

Documentation for Youtube tn

Template embeds a YouTube video thumbnail.

Syntax

Basic:

{{youtube tn|YouTube id}}

Caption:

{{youtube tn|YouTube id|Caption}}

With all definable characters:

{{youtube tn|YouTube id|Caption|width=value|float=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 350px.
Float
Horizontal direction video floats. Default is right.

See also