Difference between revisions of "Template:Example box"

From HPC Wiki
Jump to navigation Jump to search
m (Mukund-pondkule-6a11@uni-paderborn.de moved page Template:Note to Template:Warning box)
m (Mukund-pondkule-6a11@uni-paderborn.de moved page Template:Example box to Template:Example box)
 
(7 intermediate revisions 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>
+
<div style="background: #ffCC99; border: 1px solid #aaaaaa; padding: 6pt; margin: 12pt 0.5em; width: -0.5em">
Template embeds a YouTube video thumbnail.
+
[[Image:Example.png|40px|left|Example]]'''Example:'''<br />
== Syntax ==
+
{{{1}}}
Basic:
+
</div>
<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.
 

Latest revision as of 19:00, 16 September 2020

Example
Example:

{{{1}}}