Jump to content

Template:Listen MIDI/doc

Ka Wikipedia

The following code...

{{Listen MIDI
| pos          = left
| header       = Header
| filename     = X.mid
| title        = XX
| description  =  ...
| filename2    = Y.mid
| title2       = YY
| description2 = ...
| filename3    = Z.mid
| title3       = ZZ
}}

...produces:

TemplateData

[wax ka badal xogta]
Kani waa dukumintigaTemplateData ee ee qaab dhismeedkan ay adeegsadeen VisualEditor iyo qalab kale; fiiri warbixinta adeegsiga cabirka ee template kaan.

TemplateData for Listen MIDI

Template parameters

ParameterDescriptionTypeStatus
Positionpos

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.

Stringoptional
Plain?plain

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.

Stringoptional
CSS Stylestyle

CSS style for the side box. A good example is width.

Stringoptional
Imageimage

Use this parameter to customize the side box icon. Full image synatx is needed. Recommended size is 65x65px. This parameter takes precedence over "Image".

Stringoptional
Typetype

Use this parameter to change the side box icon. Acceptable values are "music", "sound", "speech". Default is "music".

Stringoptional
Headerheader

An optional header in large font

Stringoptional
File namefilename

Name of the first file without "File:" (or "Image:") prefix

Stringrequired
Titletitle

Title of the first file. Will be wikilinked. Must contain plain text only.

Stringrequired
Descriptiondescription

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 "
" to prefix a space character.

Stringoptional
File name 2filename2

Name of the second file without "File:" (or "Image:") prefix

Stringoptional
Title 2title2

Title of the second file. Will be wikilinked. Must contain plain text only.

Stringoptional
Description 2description2

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 "
" to prefix a space character.

Stringoptional
File name 2filename3

Name of the third file without "File:" (or "Image:") prefix

Stringoptional
Title 3title3

Title of the third file. Will be wikilinked. Must contain plain text only.

Stringoptional
Description 3description3

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 "
" to prefix a space character.

Stringoptional
File name 4filename4

Name of the fourth file without "File:" (or "Image:") prefix

Stringoptional
Title 4title4

Title of the fourth file. Will be wikilinked. Must contain plain text only.

Stringoptional
Description 4description4

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 "
" to prefix a space character.

Stringoptional
Help text?help

Can be set to "no" to suppress the help text appended at the bottom of the side box.

Stringoptional

Template:Audio templates