Audio file must be named with the format: <Character> - <Audio Name>.wav.
If audioText
is not specified, the text tag will be the determined from the name of the file (<Audio Name>).
This is for desktop only. For mobile, it will render the default wiki sound player generated by File:SoundFile.wav
.
Usage[]
{{Sm2|audioFileName}}
{{Sm2|audioFileName|audioText}}
Parameters[]
audioFileName
– Name of the audio file.audioText
– Text to be placed next to the sm2 audio embed button. (Optional)
Examples[]
{{Sm2|Zoidberg - Whoop.wav|Zoidberg - Whoop}}▶️
Zoidberg - Whoop
{{Sm2|Zoidberg - Whoop.wav}}▶️
Whoop
The above documentation is transcluded from Template:Sm2/doc. (edit | history)