Difference between revisions of "Template:Extra music sample/doc"
Jump to navigation
Jump to search
imported>Lachlan Foley m (→Usage: Fixed capitalisation.) |
(→Usage) |
||
| Line 8: | Line 8: | ||
==Usage== | ==Usage== | ||
<pre>{{Extra music sample | <pre>{{Extra music sample | ||
| − | | | + | | type = |
| − | | | + | | filename = |
| − | | | + | | title = |
| − | | | + | | description = |
}}</pre> | }}</pre> | ||
| Line 18: | Line 18: | ||
*'''title''' is the name of the song. | *'''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. | *'''description''' should probably be left blank in this context; otherwise, provide a brief description specific to the sample such as the duration. | ||
| + | |||
| + | <pre>{{Extra music sample | ||
| + | | Type = single | ||
| + | | Filename = The_Beatles_-_Ticket_to_Ride.ogg | ||
| + | | Title = "Ticket to Ride" | ||
| + | | Description = | ||
| + | }}</pre> | ||
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. | 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. | ||
Revision as of 21:25, 2 April 2012
| This is a documentation subpage for Template:Extra music sample. It contains usage information, categories and other content that is not part of the original template page. |
This template is for adding a music sample within {{Infobox song}} or {{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.
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