Difference between revisions of "Template:Audio embed"

From BroaDWcast
Jump to navigationJump to search
Line 7: Line 7:
 
<div style="max-width:{{{width|30%}}}">
 
<div style="max-width:{{{width|30%}}}">
 
<center>{{{top caption}}}</center>
 
<center>{{{top caption}}}</center>
{{#Widget:Html5media|height={{{height|30}}}|url={{filepath:{{{file}}} }} }}
+
{{#Widget:Html5media|height={{{height|30%}}}|url={{filepath:{{{file}}} }} }}
 
<center>{{{bottom caption}}}</center>
 
<center>{{{bottom caption}}}</center>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 19:40, 21 October 2018

{{Audio embed|file=|width=30%|height=30|top caption= |bottom caption= }}

Do not include 'File' before file name. Default values shown. 'Width' can be % or em.