Template:Listen

From Darkan
Jump to navigation Jump to search

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Listen/doc.

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
| 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. Contact Azliq7 if you do not see a player appearing here.
{{Listen
| title     = Quest completion
| desc      = Plays after a quest is completed.
| filename  = Quest_completed.ogg
}}

produces:

Listen to audio.
Quest completion (link)
Plays after a quest is completed.

OGG file

{{Listen
| title     = Telephone tone
| desc      = Sample OGG file.
| filename  = Dream.ogg
}}

produces:

Listen to audio.
Telephone dial tone (link)
Sample OGG file.

OGG file (left-aligned)

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

produces:

Listen to audio.
Air Guitar (link)
Plays when the emote is performed.

See also