Difference between revisions of "Template:Extra music sample/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (→‎Usage: typo)
imported>Jc86035
m (→‎Usage: removed the underscores in the file name)
Line 20: Line 20:
 
<pre>{{Extra music sample
 
<pre>{{Extra music sample
 
| type          = single
 
| type          = single
| filename      = The_Beatles_-_Ticket_to_Ride.ogg
+
| filename      = The Beatles - Ticket to Ride.ogg
 
| title          = "Ticket to Ride"
 
| title          = "Ticket to Ride"
 
| description    =  
 
| description    =  

Revision as of 14:32, 10 May 2017

This template is for adding a music sample within {{Infobox song}} or {{Infobox single}}.

Usage

{{Extra music sample
| type           = 
| filename       = 
| title          = 
| description    = 
}}
  • type should be "song" for songs and "single" for singles (without the quotes).
  • filename is the name of the audio file.
  • title is the name of the song.
  • description should probably be left blank in this context; otherwise, provide a brief description specific to the sample such as the duration.
{{Extra music sample
| type           = single
| filename       = The Beatles - Ticket to Ride.ogg
| title          = "Ticket to Ride"
| description    = 
}}

Note: This template must be wrapped in an infobox; it does not provide the outer table markup and relies on a table being open when used. See "Ticket to Ride" for an example.

Microformat

Template:UF-audio