Template:Extra musicsample

From Wikipedia, the free encyclopedia

Music sample

"[[Media:{{{filename}}}|{{{title}}}]]" ([[:Image:{{{filename}}}|file info]])
Play in browser (beta)

Problems? See media help.

[edit] Purpose

Use this template to add a music sample within {{Template:Infobox song}} or {{Template:Infobox single}}.

Please think carefully—and test—before changing it, and make sure you explain the change in your edit summary. Any unexplained changes may be reverted.

[edit] Usage

{{Extra musicsample
| filename       = The_Beatles_-_Ticket_to_Ride.ogg
| format         = [[Ogg]]
| title          = Ticket to Ride
| artist         = The Beatles
| description    = 
}}
Music sample

The Beatles
"Ticket to Ride" (file info)
Play in browser (beta)

Problems? See media help.
  • filename and format have the same meaning and use as on the {{listen}} template.
  • title is the name of the song.
  • artist is the name of the performer, band, etc.; should probably be omitted in most cases (infoboxes already contain the performer's name); if supplied itt can be wikilinked
  • description has the same meaning and use as on the {{listen}} template; should probably be left blank in this context; otherwise, provide a brief description specific to the sample such as the duration.

Note: {{Extra musicsample}} must be wrapped in an Infobox; it does not provide the table markup and relies on a table being open when used. See Ticket to Ride for an example.