m (loathing) |
(change default to center, add category) |
||
Line 1: | Line 1: | ||
<includeonly><div style=""><div id="musicplayer" class="musicplayer" style="border:solid #000000 1px; margin:auto; margin-{{{align| | <includeonly><div style=""><div id="musicplayer" class="musicplayer" style="border:solid #000000 1px; margin:auto; margin-{{{align|center}}}:unset; font-size:80%; background:#404040; color:#CCCCCC; width:300px; overflow:clip; padding:1px; text-align:center;"> | ||
<div>'''{{{title|Audio}}}'''</div> | <div>'''{{{title|Audio}}}'''</div> | ||
<div style="background:#222222;">{{#if:{{{filename|}}} | <div style="background:#222222;">{{#if:{{{filename|}}} | ||
Line 6: | Line 6: | ||
</div></div></div></includeonly> | </div></div></div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | |||
{{ | [[Category:Formatting templates]] | ||
</noinclude> | |||
Revision as of 20:44, 19 May 2024
Documentation (for the above template, sometimes hidden or invisible)
Normal text
Test right
Text with thumb image prior
Test center
An image prior to an aligned one shows up in the box for some reason
Test left, very long title, thumbnail image directly prior (with same alignment), and no filename specified
No filename specified
Normal text
No title
'
Parameters
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The title or caption to display with the audio player.
| String | suggested |
filename | filename | The filename of the audio file to embed.
| File | required |
align | align | Alignment within the page.
| String | optional |
Visit Template:Audio/doc to edit this text! (How does this work?)