Template:Media table


 * Help:Media • Having trouble playing?

Usage
The table above is produced by the following syntax:

Parameters
The purpose of this template is to cleanly insert audio and video files into pages. The following parameters may be defined when using it. Replace  with a number.


 * - Can be set to either "audio" or "video". This parameter controls the icon displayed next to the file and how to handle the media link.
 * - The filename, excluding the "File:" prefix. So for the file at "File:Example.oga", this parameter would be defined as "Example.oga".
 * - A title for the file as it will appear on the page.
 * - A short description of the file that will appear next to the title.
 * - M:SS format.

Note that for all the values, additional files can be added to the list by incrementing the number in the parameter.

Code documentation
Calls for audio files and  for video files with a switch statement.