×
Create a new article
Write your page title here:
We currently have 3,023 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,023Articles

Template:Audio: Difference between revisions

m (still hate it)
m (loathing)
Line 1: Line 1:
<includeonly><div style="clear:both;"><div id="musicplayer" class="musicplayer" style="float:; border:solid #000000 1px; margin:auto; margin-{{{align|right}}}:unset; font-size:80%; background:#404040; color:#CCCCCC; width:300px; overflow:clip; padding:1px; text-align:center;">
<includeonly><div style=""><div id="musicplayer" class="musicplayer" style="border:solid #000000 1px; margin:auto; margin-{{{align|right}}}: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|}}}
|[[File:{{{filename}}}|Upload file]]
|[[File:{{{filename}}}|Upload file]]
|No filename specified}}
|No filename specified}}
</div></div></div></includeonly>
</div></div></div></includeonly>
<noinclude>
<noinclude>
text
Normal text
{{audio|title=Test right|filename=Nya-.wav|align=right}}
{{audio|title=Test right|filename=Nya-.wav|align=right}}
text
Text with thumb image prior
[[File:YN Big Red.png|thumb|center]]
{{audio|title=Test center|filename=Nya-.wav|align=center}}
{{audio|title=Test center|filename=Nya-.wav|align=center}}
text
An image prior to an aligned one shows up in the box for some reason
{{audio|title=Test left, very long title, and no filename specified|filename=|align=left}}
[[File:YN Big Red.png|thumb|left]]
text
{{audio|title=Test left, very long title, thumbnail image directly prior (with same alignment), and no filename specified|filename=|align=left}}
{{audio|title=Test right with image[[File:KALIMBA.png|center]]|filename=Nya-.wav|align=right}}
Normal text
{{audio|title=Test default with image inside title[[File:KALIMBA.png|right]]|filename=Nya-.wav}}
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 21:48, 29 April 2024


Normal text

Text with thumb image prior

YN Big Red.png

An image prior to an aligned one shows up in the box for some reason

YN Big Red.png
Test left, very long title, thumbnail image directly prior (with same alignment), and no filename specified
No filename specified

Normal text

Test default with image inside title
KALIMBA.png
Documentation (for the above template, sometimes hidden or invisible)

Normal text

Text with thumb image prior

YN Big Red.png

An image prior to an aligned one shows up in the box for some reason

YN Big Red.png
Test left, very long title, thumbnail image directly prior (with same alignment), and no filename specified
No filename specified

Normal text

Test default with image inside title
KALIMBA.png

No title


Parameters

Template parameters

ParameterDescriptionTypeStatus
titletitle

The title or caption to display with the audio player.

Example
Pink Sea (Original Speed)
Auto value
filename
Stringsuggested
filenamefilename

The filename of the audio file to embed.

Example
BGM_008.ogg
Filerequired
alignalign

Alignment within the page.

Suggested values
left right center
Stringoptional



Visit Template:Audio/doc to edit this text! (How does this work?)