সাঁচ:Spoken Wikipedia
[[Image:{{{1}}}|noicon|200px|center]]
Purpose
[সম্পাদনা কৰক]This template links to the spoken version of the article.
Location
[সম্পাদনা কৰক]This template should be placed in the External links section of the article.
Usage
[সম্পাদনা কৰক]{{Spoken Wikipedia|Name of file.ogg|{{Start date|YYYY|MM|DD}}|optional size to warn a user who might download if very large}}
Where YYYY|MM|DD is the date of article revision that corresponds to the audio file, in year|month|day format.
Generally, the final (size) parameter can be omitted for files which are less than 3 or 4 megabytes. This is merely to warn people on a slow connection that the file may take a long time to download.
Example at Black
{{Spoken Wikipedia|black.ogg|{{Start date|2005|08|16}}|5.9 mega}}
Note
[সম্পাদনা কৰক]This template adds a small sound icon at the top of the article
Category
[সম্পাদনা কৰক]This template adds the article into Category:Spoken articles
Project
[সম্পাদনা কৰক]This template is part of Wikipedia:WikiProject Spoken Wikipedia.
Microformat
[সম্পাদনা কৰক]The HTML mark up produced by this template includes an hAudio microformat, which makes the recording's details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a playlist or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[সম্পাদনা কৰক]Date-of-publication ("published") information will only be included in the microformat if {{Start date}}
(or {{Start date and age}}
where appropriate) is used in a parent template or infobox (but do not use these if the date is before 1583 CE).
For the length or duration of a recording, say 3 minutes 45 seconds, use {{Duration}} thus: {{Duration|m=3|s=45}}
, which renders as 3:45. An optional h parameter can be used for hours.
Please do not remove instances of these sub-templates.
Classes
[সম্পাদনা কৰক]hAudio uses HTML classes including:
- haudio
- fn
- album
- description
- category
- contributor
- duration
- h
- item
- min
- photo
- position
- price
- published
- s
Please do not rename or remove these classes; nor collapse nested elements which use them.
(In this case, the required class="fn"
is emitted by the sub-template {{Spoken Wikipedia boilerplate}}.)
See also
[সম্পাদনা কৰক] The above documentation is transcluded from সাঁচ:Spoken Wikipedia/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |