Difference between revisions of "Template:AudioFile"
From MegaDrive Wiki
Line 1: | Line 1: | ||
+ | <includeonly> | ||
{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 200px; padding: 4px; margin-left: 15px; display: inline; float: {{{float}}}; background-color: #F9F9F9; border: 1px #AAA solid; overflow: hidden;" | {|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 200px; padding: 4px; margin-left: 15px; display: inline; float: {{{float}}}; background-color: #F9F9F9; border: 1px #AAA solid; overflow: hidden;" | ||
| style="max-height: 24px;"| [[File:{{{file}}}|noicon]] | | style="max-height: 24px;"| [[File:{{{file}}}|noicon]] | ||
Line 4: | Line 5: | ||
|{{{text}}} | |{{{text}}} | ||
|} | |} | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | |||
+ | This template will place an audio player on the page it's placed in. All parameters are required: | ||
+ | |||
+ | <pre> | ||
+ | {{AudioFile | ||
+ | | file = File Name | ||
+ | | float = right/left | ||
+ | | text = Text to display under player | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude> |
Revision as of 22:18, 7 September 2011
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 }}