Template:Listen/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (1 revision imported: Audio pkayback ssupport)
(removed red links)
Line 39: Line 39:
* '''filename''' ''(Required)'': the pagename of the media file, ''without'' the File: (formerly Image:) prefix
* '''filename''' ''(Required)'': the pagename of the media file, ''without'' the File: (formerly Image:) prefix
* '''title''' ''(Required)'': the title of the audio file, to be displayed.
* '''title''' ''(Required)'': the title of the audio file, to be displayed.
* '''alt''': alt text for the image displayed for the file, for visually impaired readers; see ''[[Wikipedia:Alternative text for images]]''. This is needed for file formats such as [[Ogg]]'s <code>.ogv</code> format that include video as well as sound. The alt text should describe just the initial static image, not the entire video or its sound.
* '''alt''': alt text for the image displayed for the file, for visually impaired readers; see ''{{w|Wikipedia:Alternative text for images}}''. This is needed for file formats such as Ogg's <code>.ogv</code> format that include video as well as sound. The alt text should describe just the initial static image, not the entire video or its sound.
* '''description''': a description of the audio file
* '''description''': a description of the audio file


Line 61: Line 61:
| title = Accordion chords
| title = Accordion chords
| description = Chords being played on an accordion
| description = Chords being played on an accordion
| help = no
}}
}}
<pre style="overflow:auto;">
<pre style="overflow:auto;">
Line 67: Line 68:
| title = Accordion chords
| title = Accordion chords
| description = Chords being played on an accordion
| description = Chords being played on an accordion
| help = no
}}
}}
</pre>
</pre>
Line 78: Line 80:
| 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.
| 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
| title = Inaugural address of Barack Obama
| description = Barack Obama's [[First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
| description = Barack Obama's first inaugural address, January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
}}
}}
<pre style="overflow:auto;">
<pre style="overflow:auto;">
Line 87: Line 89:
| 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.
| 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
| title = Inaugural address of Barack Obama
| description = Barack Obama's [[First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
| description = Barack Obama's first inaugural address, January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
}}
}}
</pre>
</pre>
Line 96: Line 98:
| header = Recordings of this phrase:
| header = Recordings of this phrase:
| type = speech
| type = speech
| help = no
| filename = Frase de Neil Armstrong.ogg
| filename = Frase de Neil Armstrong.ogg
| title = "One small step for a man..."
| title = "One small step for a man..."
| description = First words spoken on the [[Moon]]
| description = First words spoken on the Moon
}}
}}
<pre style="overflow:auto;">
<pre style="overflow:auto;">
Line 104: Line 107:
| header = Recordings of this phrase:
| header = Recordings of this phrase:
| type = speech
| type = speech
| help = no
| filename = Frase de Neil Armstrong.ogg
| filename = Frase de Neil Armstrong.ogg
| title = "One small step for a man..."
| title = "One small step for a man..."
| description = First words spoken on the [[Moon]].
| description = First words spoken on the Moon]
}}
}}
</pre>
</pre>
Line 163: Line 167:
| filename2 = Moonlight.ogg
| filename2 = Moonlight.ogg
| title2 = ''Moonlight Sonata''
| title2 = ''Moonlight Sonata''
| description2 = [[Ludwig van Beethoven|Beethoven]]'s [[Piano Sonata No. 14 (Beethoven)|Sonata in C-sharp minor]]
| description2 = Ludwig van Beethoven's Piano Sonata No. 14
| filename3 = Brahms-waltz15.ogg
| filename3 = Brahms-waltz15.ogg
| title3 = Waltz No. 15
| title3 = Waltz No. 15
| description3 = From [[Sixteen Waltzes, Op. 39 (Brahms)|Sixteen Waltzes, Op. 39]] by [[Johannes Brahms|Brahms]]
| description3 = From Sixteen Waltzes, Op. 39 by Johannes Brahms
| help = no
}}
}}
<syntaxhighlight lang="moin" style="overflow:auto;">
<syntaxhighlight lang="moin" style="overflow:auto;">
Line 176: Line 181:
| filename2 = Moonlight.ogg
| filename2 = Moonlight.ogg
| title2 = ''Moonlight Sonata''
| title2 = ''Moonlight Sonata''
| description2 = [[Ludwig van Beethoven|Beethoven]]'s [[Piano Sonata No. 14 (Beethoven)|Sonata in C-sharp minor]]
| description2 = Ludwig van Beethoven's Piano Sonata No. 14
| filename3 = Brahms-waltz15.ogg
| filename3 = Brahms-waltz15.ogg
| title3 = Waltz No. 15
| title3 = Waltz No. 15
| description3 = From [[Sixteen Waltzes, Op. 39 (Brahms)|Sixteen Waltzes, Op. 39]] by [[Johannes Brahms|Brahms]]
| description3 = From Sixteen Waltzes, Op. 39 by Johannes Brahms
| help = no
}}
}}
</syntaxhighlight>
</syntaxhighlight>
{{-}}
{{-}}


===Microformat===
{{UF-audio}}

===See also===
{{Audio templates}}
{{Film- and television-related infobox templates}}


<includeonly>{{Sandbox other||
<includeonly>
[[Category:Audio templates]]
[[Category:Audio templates]]
</includeonly>
[[Category:Embeddable templates]]
[[Category:Exclude in print]]
[[Category:Templates that add a tracking category]]
}}</includeonly>