Difference between revisions of "Template:AudioFile"

From MegaDrive Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{|cellpadding="0" cellspacing="0" style="max-width: 220px; min-width: 220px; padding: 3px; display: inline; float: {{{float}}}; background-color: #F9F9F9; border: 1px #AAA solid; overflow: hidden; {{{padding}}}"
+
{|cellpadding="0" cellspacing="0" style="max-width: 235px; min-width: 235px; padding: 3px; display: inline; float: {{{float}}}; background-color: #F9F9F9; border: 1px #AAA solid; overflow: hidden; {{{padding}}}"
| style="max-height: 24px; max-width: 275px;"| [[File:{{{file}}}|noicon]]
+
| style="max-height: 24px; max-width: 275px; text-align: center;"| [[File:{{{file}}}|noicon]]
 
|-
 
|-
 
|{{{text}}}
 
|{{{text}}}

Revision as of 13:02, 21 August 2012


This template will place an audio player on the page it's placed in. All parameters are required:

{{AudioFile
| file = File Name
| float = right/left
| text = Text to display under player
}}

This is a possible example of it's usage;

File:1kSquareWave.ogg
A 1 kHz square wave.