Difference between revisions of "Template:Tl"

From HPC Wiki
Jump to navigation Jump to search
(Removed redirect to Template:Doc begin)
Tag: Removed redirect
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>
+
<code>{{[[Template:{{{1}}}|{{{1}}}]]}}</code><noinclude>
{{Doc begin}} Template embeds a YouTube video thumbnail.
+
* <code><nowiki>{{tl|cleanup}}</nowiki></code> generates {{tl|cleanup}}.
== Syntax ==
+
* For subst: and multiple parameter functionality, see {{tl|tlx}}.
Basic:
+
[[Category:Formatting templates|Tl]]
<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>
 
</noinclude>

Revision as of 16:53, 16 September 2020

{{[[Template:{{{1}}}|{{{1}}}]]}}

  • {{tl|cleanup}} generates {{cleanup}}.
  • For subst: and multiple parameter functionality, see {{tlx}}.