Template:Listen/doc

From Darkan
Revision as of 07:18, 3 May 2012 by imported>Blaze fire12
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation 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
| 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