Template:Listen

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Audio
Listen to this text
(help | [[commons:Media:{{{filename}}}|download]] | [[commons:Image:{{{filename}}}|file info]])

Usage[edit]

All parameters except the filename are optional. The template will link to Commons (which is preferred) if the file doesn't exist on Meta.

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)
No category
{{listen
 |title    = Alice's Adventures in Wonderland/Chapter 1
 |filename = Alice's Adventures in Wonderland, chapter 1.ogg
 |filesize = 7.5MB
 |category =
}}
Audio
Alice's Adventures in Wonderland/Chapter 1
(7.5MB, help | download | file info)