Jump to content

Template:Audio/doc

From SPS Wiki

This template helps add an inline sound player for audio files using OggPlayer script.

Syntax

[edit source]
  • 1 — Name of the file, including the file extension.
  • left-margin — A number, indicating how many px the player should be shifted to the right.

Examples

[edit source]

{{Audio | Cassie VO Greet 1.ogg }}

Template Data

[edit source]

Inline Audio File Player

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File Name1

Audio file to be played

Filerequired
Left Marginleft-margin

How many px the player should be moved from the left. (See CSS margin-left property)

Stringoptional
Show on Mobilemobile

Show player on mobile if set to 1. (Player is hidden on mobile by default)

Booleanoptional