Template:Listen/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Listen.
It contains usage information, categories, and other content that is not part of the original template page.

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

Parameters

{{Listen
| title     = title
| desc      = description
| image     = filename of an image to use (optional)
| filename  = filename of the audio (spaces should be included as "_")
| align     = alignment (left/right; default is right)
}}

Examples

MIDI file

  • Note: May require installation of certain plug-ins to work.
{{Listen
| title     = Quest completion
| desc      = Plays after a quest is completed.
| filename  = Quest_completed.ogg
}}

produces:

Audio options icon.png
Quest completion
Plays after a quest is completed.

OGG file

{{Listen
| title     = Dream
| desc      = Plays west of Lumbridge Castle.
| filename  = Dream.ogg
}}

produces:

Audio options icon.png
Dream
Plays west of Lumbridge Castle.

OGG file (left-aligned)

{{Listen
| title     = Impetuous
| desc      = Plays when near a crop circle.
| filename  = Impetuous 2.ogg
| align     = left
}}

produces:

Audio options icon.png
Impetuous
Plays when near a crop circle.

With image

{{Listen
|title = Earth's Fury
|filename = Jade bolts (e).ogg
|image = [[File:Jade bolts special.gif|200px]]
|desc = A player activates the ''Earth's Fury'' effect
}}

produces:

Audio options icon.png
Earth's Fury
Jade bolts special.gif
A player activates the Earth's Fury effect

See also