Difference between revisions of "Template:Audio sample/doc"
Jump to navigation
Jump to search
imported>Lam-ang |
imported>Pigsonthewing |
||
| Line 27: | Line 27: | ||
[[Category:Exclude in print]] | [[Category:Exclude in print]] | ||
[[Category:Music infobox templates|Audiosample]] | [[Category:Music infobox templates|Audiosample]] | ||
| + | [[Category:Embeddable templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 10:54, 30 December 2013
| This is a documentation subpage for Template:Audio sample. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Syntax
{{Audiosample
| Audio file = <!--Without "File:" prefix-->
| Upper caption = <!--Omit to disable caption-->
| Background = <!--Color or 'Song'; defaults to 'khaki'-->
}}
- Parameter description
| Parameter | Description |
|---|---|
| Audio file | Name of the audio file without "File:" prefix. For example, for File:americaog.ogg, simply specify americaog.ogg
|
| Upper caption | Specifies whether there is an upper caption that reads "Audio sample". Putting anything in this parameter, even a space character after equal sign, activates the caption. Omitting it removes the caption. |
| Background | Optional. Specifies the background color of the caption. Acceptable values are valid CSS color values. (See Web colors article.) The default (when this parameter is omitted) is khaki. The special word "Song" (first letter capitalized) results in the same color as that of the song infobox. |