Difference between revisions of "Template:VideoBox"

From ALttP Speedrunning Wiki
Jump to: navigation, search
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|280}}}px;">
 
<p class="title">{{{title|Title}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time|0'0}}}</span> }}</p>
 
<p class="title">{{{title|Title}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time|0'0}}}</span> }}</p>
 
<html5media loop muted>{{{file}}}</html5media>
 
<html5media loop muted>{{{file}}}</html5media>
 
<p class="description">{{{description|Description}}}</p>
 
<p class="description">{{{description|Description}}}</p>
 
</div>
 
</div>

Revision as of 13:58, 8 January 2017

Title

Html5mediator: not a valid URL

Description