sound File Markup

The best sound markup in most situations is

{{listen |filename=FILENAME.ogg |title=TITLE |description=DESCRIPTION }}


File types

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:

Using templates

To the side

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 }}

Inline

Template:Audio

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:

    Eisenhüttenstadt () is a town in ...

Other inline templates

In an infobox

Directly using a file

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]]


Caption

The parameter |thumbmay 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:

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.

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.

In both cases piped links also work.

See also

Tags:

sound File Markup File typessound File Markup Using templatessound File Markup Directly using a filesound File Markup Link to a file without displaying itsound File Markup

🔥 Trending searches on Wiki English:

Kingdom of the Planet of the ApesBabes in the Wood murders (Brighton)Kato KaelinTimothy McVeighDua LipaFlipkartIndian Premier LeagueHuey LewisNick OffermanAdolf HitlerKilling of Lacey FletcherDakota FanningJeffrey DahmerDick Van Dyke2024 AFC U-23 Asian CupDune (2021 film)WikipediaBoeing 787 DreamlinerKu Klux KlanInterstellar (film)Pakistan2021 storming of the United States CapitolC (programming language)Paul McCartneyGene TierneyParis Saint-Germain F.C.Rama NavamiKingdom of Heaven (film)Elizabeth IIShōgun (1980 miniseries)AzerbaijanBradley BarcolaWolfgang Amadeus MozartAbigail (2024 film)GmailDevin HaneyThe BeatlesCole PalmerJennifer LawrenceBaldwin IV of JerusalemUEFA Euro 2024Jill HalfpennyRobin WilliamsJohn LennonPlanet of the ApesColumbine High School massacreArsenal F.C.Lawrence BishnoiReal Madrid CFWomen's National Basketball AssociationKim KardashianADX FlorenceJon Bon JoviKendrick LamarRyan ReynoldsNeymarAlbert EinsteinNapoleonO. J. SimpsonThe Talented Mr. Ripley (film)Michael DouglasLana Del ReyMichael JordanWorld War IIIAtomic bombings of Hiroshima and NagasakiWarwick DavisNacho (footballer, born 1990)Carlo AncelottiCoachellaBoston Marathon bombingKirsten DunstLockheed Martin F-35 Lightning IINew Orleans PelicansAssyrian peopleWiki FoundationNazi GermanyMegan Leavey🡆 More