Template:Listen
Title | |
Template documentation
This documentation is transcluded from Template:Listen/doc. [edit] [history] [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 | 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
{{Listen | title = Quest completion | desc = Plays after a quest is completed. | filename = Quest Completed (1).ogg }}
produces:
Quest completion | |
Plays after a quest is completed.
| |
File:Quest Completed (1).ogg |
OGG file (left-aligned)
{{Listen | title = [[Impulses]] | desc = Plays when near a crop circle. | filename = Impulses.ogg | align = left }}
produces:
Impulses | |
Plays when near a crop circle.
| |
File:Impulses.ogg |
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
| |
File:Jade bolts (e).ogg |
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 inside a box.
|