Jump to content

Template:Listen

From Meta, a Wikimedia project coordination wiki
Audio Listen to this text (help | [[Media:{{{filename}}}|download]] | [[:File:{{{filename}}}|file info]])
Template documentation

This template shows an audio file that can be played right on the page, with links to the description page and help and to download it.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
file name1 filename

The audio file’s file name (without the “File:” prefix)

Default
Bach - cantata 140. 1. chorus.ogg
Example
Bach - cantata 140. 1. chorus.ogg
Filerequired
titletitle

The title of the audio file, by default “Listen to this text” (localized)

Linesuggested
file sizefilesize

The size of the audio file

Example
583KB
Lineoptional
Description Usage Output
Lazy
{{listen|Bach - cantata 140. 1. chorus.ogg}}
Audio Listen to this text (help | download | file info)
Normal
{{listen
 |title    = Bach - cantata 140. 1
 |filename = Bach - cantata 140. 1. chorus.ogg
 |filesize = 583KB
}}
Audio Bach - cantata 140. 1 (583KB, help | download | file info)