Difference between revisions of "Template:VideoBox"
From ALttP Speedrunning Wiki
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
.videobox { | .videobox { | ||
display: inline-block; | display: inline-block; | ||
− | |||
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| | + | <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| | + | <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]]