Template:Listen voice/doc

From WikiProjectMed
Jump to navigation Jump to search

This template is intended to be used as a module in template {{Infobox person}}. This is a wrapper around template {{Listen}}.

Usage

{{Infobox person
|module= {{Listen voice
|filename=
|recorded=
}}
}}

Parameters

|filename=
File with the recording of the person's voice, without the File: prefix. Required.
|recorded= or |published=
Date of the recording (preferred) or date of the publishing (if date of the recording isn't available). Technically optional, but highly recommended. The date is used to construct the text below the audio player "Recorded/Published date". The text can be expanded using parameter |description=. Otherwise the description defaults to the filename.

Optional parameters

|description=
Provide additional description of what the person is talking about. Optional.
|title=
Override the whole title of the {{Listen}} box (text above audio player), which defaults to "Jane Doe's voice". Optional.
|name=
Override person's name in the default title, which defaults to {{PAGENAMEBASE}}. Optional.

Example

Wikitext Result
{{Infobox person
|name=Example
|image=Example.png
|module={{Listen voice
|name=Example
|filename=Example.ogg
|description=Example providing a voice sample
|recorded=August 2005
}}
}}
Example