Template:Listen/doc
< Template:Listen
Jump to navigation
Jump to search
Revision as of 22:27, 4 October 2022 by Jacmob (talk | contribs) (Created page with "{{documentation}} The '''Listen''' template is used to embed an audio file. For a list of audio files, see Category:Audio files. ==Parameters== <pre>{{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) }}</pre> ==Examples== ===MIDI file=== * <span style="color: red;">'''Note:''' May r...")
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:
Quest completion | |
Plays after a quest is completed.
| |
noicon |
OGG file
{{Listen | title = Dream | desc = Plays west of Lumbridge Castle. | filename = Dream.ogg }}
produces:
Dream | |
Plays west of Lumbridge Castle.
| |
noicon |
OGG file (left-aligned)
{{Listen | title = [[Impulses]] | desc = Plays when near a crop circle. | filename = Impetuous 2.ogg | align = left }}
produces:
Impulses | |
Plays when near a crop circle.
| |
noicon |
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:
Earth's Fury | |
A player activates the Earth's Fury effect
| |
noicon |