Template:Listen

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Listen/doc. [edit] [purge]

The Listen template is used to embed an audio file. For a list of audio files, see Category:Audio files.

Parameters

{{Listen
|title    = title (or "no" to hide)
|desc     = description
|filename = filename of the audio
|align    = alignment (left/right; default is right)
}}

Examples

OGG file

{{Listen
|title    = Dream
|desc     = A music track composed by Mod Ian.
|filename = Dream.ogg
}}

produces:

Audio options icon.png
Dream
A music track composed by Mod Ian.

OGG file (no title)

{{Listen
|title    = no
|desc     = A music track composed by Mod Ian.
|filename = Dream.ogg
}}

produces:

Audio options icon.png
A music track composed by Mod Ian.

OGG file (left-aligned)

{{Listen
|title    = Air Guitar
|desc     = Plays when the emote is performed.
|filename = Air Guitar.ogg
|align    = left
}}

produces:

Audio options icon.png
Air Guitar
Plays when the emote is performed.

See also

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

The Listen template is used to embed an audio file. For a list of audio files, see Category:Audio files.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Alignmentalign

Alignment of player

Default
right
Example
left
Auto value
empty
Stringoptional
Filenamefilename

Filename of audio file

Default
empty
Example
Quest completed.ogg
Auto value
empty
Stringrequired
Titletitle

Title of the audio file or 'no' to hide

Default
empty
Example
Quest completion
Auto value
empty
Stringrequired
Descriptiondesc

Description of the audio file

Default
empty
Example
Plays after quest completion
Auto value
empty
Stringoptional