<span class="mw-page-title-namespace">Template</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Mp3</span>
Fabrice P. Lauss𝕪s ootaxonomic Web

Plays an mp3.

{{mp3|MadRush}}

The extension is optional — {{mp3|MadRush.mp3}} does the same thing — and the file is one uploaded here, found with {{filepath:}}. If there is no such file the template says so in red rather than building a player that cannot play.

parameter what it does
1 the file, with or without its .mp3. name= is accepted as a synonym, which is what the old {{Audio}} used.
2 what to call the track — used for the tooltip, for a screen reader, and as the line that gets printed on paper. Defaults to the file name. title= is a synonym.
url= play something that is not on this wiki. Given this, 1 is ignored.
len= the length in seconds, if you want it shown before anything is fetched. Optional: without it the player finds out for itself as the row comes into view, and remembers it for next time.

The player is a rule that thickens as it plays: see MediaWiki:Gadget-mp3-styles.css for the drawing and MediaWiki:Gadget-mp3.js for how it behaves. Nothing is downloaded until you press play. Only one player sounds at a time. With JavaScript switched off you get the browser's own <audio> control, which is what this wiki used until 2026.

Replaced Template:Audio, which still works and now calls this.