(audio template import from yume nikki wikia) |
(i hate html) |
||
Line 1: | Line 1: | ||
<includeonly><div id="musicplayer" class="musicplayer" style=" | <includeonly><div style="clear:both;"><div id="musicplayer" class="musicplayer" style="{{{align|right}}}:-38%; position:relative; border:solid #000000 1px; margin:auto; font-size:80%; background:#404040; color:#CCCCCC; width:300px; overflow:clip; padding:1px; text-align:center;"> | ||
<div | <div>'''{{{title|Audio}}}'''</div> | ||
<div style=" | <div style="background:#222222">{{#if:{{{filename|}}} | ||
|[[File:{{{filename}}}|Upload file]] | |||
|No filename specified}} | |||
</div></div></div></includeonly> | |||
<noinclude> | |||
text | |||
{{audio|title=Test right|filename=Nya-.wav|align=right}} | |||
< | text | ||
{{audio|title=Test center|filename=Nya-.wav|align=center}} | |||
text | |||
{{audio|title=Test left, very long title, and no filename specified|filename=|align=left}} | |||
text | |||
{{audio|title=Test right with image[[File:KALIMBA.png|center]]|filename=Nya-.wav|align=right}} | |||
{{documentation}}</noinclude> |
Revision as of 20:26, 29 April 2024
text
Test right
text
Test center
text
Test left, very long title, and no filename specified
No filename specified
text
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?)