The best sound markup in most situations is
This help page is a how-to guide. It details processes or procedures of some aspect(s) of Wikipedia's norms and practices. It is not one of Wiki's policies or guidelines, and may reflect varying levels of consensus and vetting. |
{{listen |filename=FILENAME.ogg |title=TITLE |description=DESCRIPTION }}
Before a file can be used, it must be uploaded to either Wikipedia or the Wiki Commons sister project. Uploading to Commons is recommended as files can be used by other sister projects. Files being used under fair use provisions must be stored on Wiki English. The markup is the same regardless of where it is uploaded.
The following sound formats may be uploaded:
Normally, sound files are presented on Wikipedia pages using the Template:Listen or its related templates.
This is an example, displaying common usage:
{{listen |filename=Accordion chords-01.ogg |title=Accordion chords |description=Chords being played on an accordion }}
This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like.
{{Audio|name of sound file|text to use as link to soundfile}}
Example:
'''Eisenhüttenstadt''' ({{Audio|De-Eisenhüttenstadt.ogg|pronunciation}}) is a town in ...
gives this:
{{Audio|soundfile.ogg|pronunciation}}
Normally, sound files are presented on Wikipedia pages using the Template:Listen or its related templates. However, it is also possible to present an audio file without any template.
[[File:Accordion chords-01.ogg]]
The parameter |thumb
may be used to give the file a caption. That will also float the playbutton to the right.
[[File:Accordion chords-01.ogg|thumb|Caption]]
The size of the player can be specified:
[[File:Accordion chords-01.ogg|233px]]
Combining size and caption:
[[File:Accordion chords-01.ogg|thumb|240px|Caption]]
None of these examples provide links to Help:Media. Thus, whenever this method is used, the Template:Inline audio must be shown on the page.
To link to a description page, put a colon before the prefix.
[[:File:Example.ogg]]
You can also link directly to the file using "Media:
" instead of "File:
". This method must not be used solely for a file under a license which requires attribution, such as CC-BY licenses.
[[Media:Example.ogg]]
In both cases piped links also work.
This article uses material from the Wikipedia English article Help:Sound file markup, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Content is available under CC BY-SA 4.0 unless otherwise noted. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki English (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.