সাঁচ:Listen/doc
{{Listen/doc}} allows audio files to be embedded in articles. It should be used for audio files that are set off from the text, like music clips or sound recordings. Simple usage{{Listen | filename = | title = | description = | pos = }}
Multiple filesAdditional files can be embedded in an article with one template by appending a number to each parameter. Up to ten files can be included. {{Listen | filename = | title = | alt = | description = | filename2 = | title2 = | alt2 = | description2 = | filename3 = | title3 = | alt3 = | description3 = }}
Style parametersThe template also takes a number of style parameters to control its appearance:
Examples
{{Listen | filename = Accordion chords-01.ogg | title = Accordion chords | description = Chords being played on an accordion }}
{{Listen | header = Inaugural Address | filename = Barack Obama inaugural address.ogv | alt = A black man in a black coat gestures and talks at a lecturn surrounded by teleprompters. Behind him, in the background, are about a dozen warmly-dressed onlookers. | title = Inaugural address of Barack Obama | description = Barack Obama delivers his [[inaugural address]] on January 20, 2009.<br>(Duration: 21 minutes, 21 seconds) | help = no | type = sound }}
{{Listen | filename = Phrase de Neil Armstrong.oga | title = "One small step for a man..." | description = First words spoken on the [[moon]]. | type = speech | pos = left | header = Recordings of this phrase: }}
{{Listen | filename = Accordion chords-01.ogg | title = Accordion chords | plain = yes | style = float:left }}
{{Listen | filename = Accordion chords-01.ogg | title = Accordion chords | description = Chords being played on an accordion | type = music | filename2 = Moonlight.ogg | title2 = ''Moonlight Sonata'' | description2 = [[Beethoven]]'s "Sonata in C-sharp minor" | filename3 = Au_clair_de_la_lune_mode_do.mid | title3 = Au Clair de la Lune | description3 = The traditional French children's song | play3 = no }}
MicroformatThe 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-templatesDate-of-publication ("published") information will only be included in the microformat if For the length or duration of a recording, say 3 minutes 45 seconds, use {{Duration}} thus: Please do not remove instances of these sub-templates. ClasseshAudio uses HTML classes including:
Please do not rename or remove these classes; nor collapse nested elements which use them. See also
|
Portal di Ensiklopedia Dunia