Difference between revisions of "Template:Audio embed"

From BroaDWcast
Jump to navigationJump to search
Line 5: Line 5:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div style="max-width:{{{width}}}">
+
<div style="max-width:{{{width|30%}}}">
 
<center>{{{top caption}}}</center>
 
<center>{{{top caption}}}</center>
{{#Widget:Html5media|height={{{height}}}|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:36, 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.