Difference between revisions of "Template:Audio embed"
From BroaDWcast
Jump to navigationJump to searchJohn Lavalie (talk | contribs) |
John Lavalie (talk | contribs) |
||
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div style="max-width:{{{width|30%}}}; float:{{{ | + | <div style="max-width:{{{width|30%}}}; float:{{{align}}};"> |
<center>{{{top caption}}}</center> | <center>{{{top caption}}}</center> | ||
{{#Widget:Html5media|height={{{height|30}}}|url={{filepath:{{{file}}} }} }} | {{#Widget:Html5media|height={{{height|30}}}|url={{filepath:{{{file}}} }} }} |
Revision as of 20:46, 21 October 2018
{{Audio embed|file= |align= |width= |height= |top caption= |bottom caption= }}
- Do not include 'File:' before file name.
- 'width' can be % or em.
- 'width' and 'height' must have values, or remove reference to them to use defaults (30em, 30)