Difference between revisions of "Template:Tl"

From HPC Wiki
Jump to navigation Jump to search
(Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Doc begin)
Tag: New redirect
 
(Removed redirect to Template:Doc begin)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:Doc begin]]
+
<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 ==
 +
Basic:
 +
<nowiki>{{youtube tn|YouTube id}}</nowiki>
 +
 
 +
Caption:
 +
<nowiki>{{youtube tn|YouTube id|Caption}}</nowiki>
 +
 
 +
With all definable characters:
 +
<nowiki>{{youtube tn|YouTube id|Caption|width=value|float=alignment}}</nowiki>
 +
 
 +
;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.
 +
</noinclude>

Revision as of 16:49, 16 September 2020

Note: I3yKmjMmo6M

Caption goes here

Documentation for Tl

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.