This page is a translated version of the page Template:Listen and the translation is 100% complete.
音频 听这段文字 (帮助 | [[Media:{{{filename}}}|下载]] | [[:File:{{{filename}}}|文件信息]])
模板文档

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
描述 用法 Output
懒人式
{{listen|Bach - cantata 140. 1. chorus.ogg}}
音频 听这段文字 (帮助 | 下载 | 文件信息)
一般式
{{listen
 |title    = Bach - cantata 140. 1
 |filename = Bach - cantata 140. 1. chorus.ogg
 |filesize = 583KB
}}
音频 Bach - cantata 140. 1 (583KB, 帮助 | 下载 | 文件信息)