Difference between revisions of "Template:VideoBox"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
.videobox {
 
.videobox {
 
   display: inline-block;
 
   display: inline-block;
  width: {{{width|280}}}px;
 
 
   vertical-align: top;
 
   vertical-align: top;
 
   margin-right: 12px;
 
   margin-right: 12px;
Line 30: Line 29:
 
   text-align: right;
 
   text-align: right;
 
}
 
}
}}<div class="videobox">
+
}}<div class="videobox" style="width: {{{width|380}}}px; float:{{{float|none}}};">
<p class="title">{{{title|Title}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time|0'0}}}</span> }}</p>
+
<p class="title">{{{title|}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time}}}</span> }}</p>
 
<html5media loop muted>{{{file}}}</html5media>
 
<html5media loop muted>{{{file}}}</html5media>
<p class="description">{{{description|Description}}}</p>
+
<p class="description">{{{description|{{{caption|}}}}}}
 +
<span style="float:right;">[[:{{{file}}}|File]]</span>
 +
<span style="display:none;">[[{{{file}}}|link=|0x0px]]</span><!--- to have file usage working --->
 +
</p>
 
</div>
 
</div>

Latest revision as of 10:52, 16 May 2019

Html5mediator: not a valid URL

[[:{{{file}}}|File]] [[{{{file}}}|link=|0x0px]]