Template:Listen: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(New documentation style.)
No edit summary
Line 29: Line 29:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{listen
{{listen

Revision as of 10:32, April 8, 2015

[[: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?