Template:Spoken Wikipedia
Script error: No such module "Spoken Wikipedia".
| This template is used on approximately 1,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
This template links to the spoken version of the article, adds a small sound icon at the top of the article with a link to the audio file, and adds the article into Category:Spoken articles.
Usage
Place this template in the "External links" section of the article:
{{Spoken Wikipedia|date=YYYY-MM-DD|Filename 1.ogg|Filename 2.ogg|Filename 3.ogg ...}}
Where date is of article revision that corresponds to the audio file, in any format, supported by Module:Date, e.g. ISO 8601. See also Template:Date/doc#Examples.
Example at Black:
{{Spoken Wikipedia|date=2005-08-16|black.ogg}}
Parameters
|1=,|2=,|3=...- Filenames for the recording. Arbitrary amount of files is supported. At least one file must be specified.
|date=- Date of the recording.
|page=- Which page is read in the recording. Defaults to subject page name. Can be used to put the template on pages, other than the subject's page.
Tracking categories
- When filenames are missing, page is added to Category:Spoken Wikipedia without file.
- When parameter
|date=is missing, page is added to Category:Spoken Wikipedia without date.
Microformat
(In this case, the required class="fn" is emitted by the sub-template {{Spoken Wikipedia boilerplate}}.)
See also
TemplateData
TemplateData for Spoken Wikipedia
Adds a box and topicon for readers to play the spoken version of a page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Date of recording | date | Date of the version of the article spoken. Should be formatted using [[Template:Start date]].
| Unknown | required |
| Filename | 1 | Filename of the audio file for the spoken version (without the File: prefix). Use |2=, |3=, and so on for multiple files.
| File | required |
| 2nd filename | 2 | Second filename
| File | optional |
| 3rd filename | 3 | Third filename.
| File | optional |
| Page | page | Specifies that the recording is of a page other than the page where the template appears. Do not use for same page. | Page | optional |
| Nocat | nocat | no description | Unknown | optional |
| The above documentation is transcluded from Template:Spoken Wikipedia/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |