Template:Audioplayer/doc

From PathfinderWiki

{{Audioplayer}} invokes the Audio widget for a provided file. It is simply an easier way to invoke the widget.

Template

{{Audioplayer
| name = 
| url  = 
}}

Usage

You must provide either a url or the name of a file in the File namespace.

name
The name of a file without the File namespace. For instance, to play File:Valeros voice sample.mp3, this parameter's value should be Valeros voice sample.mp3. You can also pass this parameter without using the name parameter by providing the filename itself as the first parameter instead.
url
A full URL to a file. Please do not use this to play files not hosted on PathfinderWiki! Use this only to link to a file on PathfinderWiki, and only if you are unable to do so using name.

Example

{{Audioplayer|name=Valeros voice sample.mp3}}

results in:

{{Audioplayer|Valeros voice sample.mp3}}

results in: