Template:Synthlisten/doc

Purpose
This template, similarly to Template:Listen MIDI, allows you to embed a MIDI in a page. However, unlike that template, this template uses Fluidsynth to render the MIDI file into Ogg Vorbis so that it may be played inline.

Example
The following code...

...produces:

TemplateData
{	"description": "", "params": { "pos": { "label": "Position", "type": "string", "required": false, "description": "By default, this temlate creates side box to the right. If this parameter is set to \"left\", the side box appears on the lefthand side." },		"plain": { "label": "Plain?", "type": "string", "required": false, "description": "Normally, the template shows an icon in the side box indicate the type its context. Furthermore, the side box normally has a silver background with gray borders. If this parameter is set to \"yes\", the icon, the background and the border are all omitted." },		"style": { "label": "CSS Style", "type": "string", "required": false, "description": "CSS style for the side box. A good example is width." },		"image": { "label": "Image", "type": "string", "required": false, "description": "Use this parameter to customize the side box icon. Full image synatx is needed. Recommended size is 65x65px. This parameter takes precedence over \"Image\"." },		"type": { "label": "Type", "type": "string", "required": false, "description": "Use this parameter to change the side box icon. Acceptable values are \"music\", \"sound\", \"speech\". Default is \"music\"." },		"header": { "label": "Header", "type": "string", "required": false, "description": "An optional header in large font" },		"filename": { "label": "File name", "type": "string", "required": true, "description": "Name of the first file without \"File:\" (or \"Image:\") prefix" },		"title": { "label": "Title", "type": "string", "required": true, "description": "Title of the first file. Will be wikilinked. Must contain plain text only." },		"description": { "label": "Description", "type": "string", "required": false, "description": "An optional description for the first file. Can contain text and wikicode. By default it is not separated from title with a space character because most of the time, editor wish to supply a footnote here. Use \" \" or \"&#13;\" to prefix a space character." },		"filename2": { "label": "File name 2", "type": "string", "required": false, "description": "Name of the second file without \"File:\" (or \"Image:\") prefix" },		"title2": { "label": "Title 2", "type": "string", "required": false, "description": "Title of the second file. Will be wikilinked. Must contain plain text only." },		"description2": { "label": "Description 2", "type": "string", "required": false, "description": "An optional description for the second file. Can contain text and wikicode. By default it is not separated from title with a space character because most of the time, editor wish to supply a footnote here. Use \" \" or \"&#13;\" to prefix a space character." },		"filename3": { "label": "File name 2", "type": "string", "required": false, "description": "Name of the third file without \"File:\" (or \"Image:\") prefix" },		"title3": { "label": "Title 3", "type": "string", "required": false, "description": "Title of the third file. Will be wikilinked. Must contain plain text only." },		"description3": { "label": "Description 3", "type": "string", "required": false, "description": "An optional description for the third file. Can contain text and wikicode. By default it is not separated from title with a space character because most of the time, editor wish to supply a footnote here. Use \" \" or \"&#13;\" to prefix a space character." },		"filename4": { "label": "File name 4", "type": "string", "required": false, "description": "Name of the fourth file without \"File:\" (or \"Image:\") prefix" },		"title4": { "label": "Title 4", "type": "string", "required": false, "description": "Title of the fourth file. Will be wikilinked. Must contain plain text only." },		"description4": { "label": "Description 4", "type": "string", "required": false, "description": "An optional description for the fourth file. Can contain text and wikicode. By default it is not separated from title with a space character because most of the time, editor wish to supply a footnote here. Use \" \" or \"&#13;\" to prefix a space character." },		"help": { "label": "Help text?", "type": "string", "required": false, "description": "Can be set to \"no\" to suppress the help text appended at the bottom of the side box." }	} }