Template:Sound/doc

This template is used to provide a button to play a sound effect, with a HTML audio player as a fallback if JavaScript is disabled. This is intended primarily for short sound effects, as there is no seeking ability.

The script and styles are provided by the sound gadget (MediaWiki:Gadget-sound.js, MediaWiki:Gadget-sound.css, MediaWiki:Gadget-sound-styles.css).

The template was ported from the Minecraft Wiki.

Usage
Displayed wikitext. A speaker icon is displayed next to it indicating the playing status. Clicking the text (if not a link) or icon will stop any other sounds, and start/stop this sound.
 * First unnamed parameter

Name of the audio file, without.
 * Second unnamed parameter

Display speaker icon before description text.
 * iconfirst

Examples

 * Basic&#58;

The announces the spawn of a boss. The announces the spawn of a boss.
 * Icon first&#58;


 * "Auto" mode&#58;