Template:Listen: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
Line 60: Line 60:
{{todo|This template probably needs an update...}}
{{todo|This template probably needs an update...}}


[[Category:Media templates]]
[[Category:Media templates]]</noinclude>
</noinclude>

Revision as of 00:43, August 30, 2019

[[:File:{{{filename}}}|{{{title}}}]] [[File:{{{filename}}}|noicon]]

Problems listening to the file? See media help.

Info

Use this template to present an audio file for the reader to hear.

Parameters

Parameter Mandatory Default Detailed description
filename Yes File name, without namespace, with extension.
title No Title to show for the file.
ogg No If this is an OGG file, give this the value "yes". Otherwise, "no".
description No Description for the file.
helpnote No Whether or not to display the help note ("yes" or "no").

Skeleton

{{listen
|filename    = 
|title       = 
|ogg         = 
|description = 
|helpnote    = 
}}

Examples

Code Result
{{listen
|filename=Hoard.ogg
|title=Treasure Hoard music
|ogg=yes
|description=Music that plays on the Treasure Hoard.
|helpnote=yes}}

Treasure Hoard

Music that plays on the Treasure Hoard.

Problems listening to the file? See media help.


To do: This template probably needs an update...
Care to do so?