Difference between revisions of "Template:VideoBox"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
.videobox {
 
.videobox {
 
   display: inline-block;
 
   display: inline-block;
  width: 300px;
 
 
   vertical-align: top;
 
   vertical-align: top;
 
   margin-right: 12px;
 
   margin-right: 12px;
Line 18: Line 17:
 
.videobox video {
 
.videobox video {
 
   width: 100%;
 
   width: 100%;
 +
}
  
 
.videobox .description {
 
.videobox .description {
   font-size: 0.9em;
+
   font-size: 0.85em;
 
   padding-left: 8px;
 
   padding-left: 8px;
 
   padding-right: 8px;
 
   padding-right: 8px;
Line 29: Line 29:
 
   text-align: right;
 
   text-align: right;
 
}
 
}
}}
+
}}<div class="videobox" style="width: {{{width|380}}}px; float:{{{float|none}}};">
 
+
<p class="title">{{{title|}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time}}}</span> }}</p>
<div class="videobox">
+
<html5media loop muted>{{{file}}}</html5media>
<p class="title">{{{title|Title}}} <span class="time" title="mins:secs'frames">{{{time|0'0}}}</span></p>
+
<p class="description">{{{description|{{{caption|}}}}}}
<html5media width="400" loop muted>{{{file}}}</html5media>
+
<span style="float:right;">[[:{{{file}}}|File]]</span>
<p class="description">{{{description|Description}}}</p>
+
<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]]