Template:AudioLoader

From Gigantic Wiki
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:AudioLoader/doc to edit this documentation. (How does this work?)
Description
This templates creates a block with an audio file, which is not initially loaded on the page. After clicking the "Load" prompt, the file loads and can be played by pressing "Play" button. It's primarily used by Template:AQ to not overload hero pages with high amount of audio files of their voice lines.
The template is based on Template:MediaLoader from Inkipedia. It uses JS script from MediaWiki:Common.js (originally also taken from Inkipedia, see MediaWiki:All.js). This template is not styled.
Syntax
Type:
{{AudioLoader
|file = 
|name = }}