Template:Listen: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "wikipedia:Media help" to "wikipedia:Help:Media")
No edit summary
Line 4: Line 4:
{{#if:{{{description|}}}|<div style="font-size:8pt;text-align:left;padding:4pt;line-height:1.25em">{{{description}}}</div>}}
{{#if:{{{description|}}}|<div style="font-size:8pt;text-align:left;padding:4pt;line-height:1.25em">{{{description}}}</div>}}
{{#ifeq:{{{helpnote|}}}|no||<p style="text-align:right;font-size:10pt;line-height:1.25em">''Problems listening to the file? See [[wikipedia:Help:Media|media help]].''</p>}}
{{#ifeq:{{{helpnote|}}}|no||<p style="text-align:right;font-size:10pt;line-height:1.25em">''Problems listening to the file? See [[wikipedia:Help:Media|media help]].''</p>}}
</div><noinclude>
</div><templatestyles src="Listen/styles.css"/><noinclude>


==Info==
==Info==

Revision as of 07:57, March 11, 2022

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

Problems listening to the file? See media help.

Page Template:Listen/styles.css has no content.

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.

Page Template:Listen/styles.css has no content.


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