Difference between revisions of "Template:Audio sample/doc"
Jump to navigation
Jump to search
imported>Jc86035 m (updated) |
|||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
| − | === | + | == Usage == |
| − | + | ||
| + | === Syntax === | ||
| + | |||
<pre> | <pre> | ||
{{Audiosample | {{Audiosample | ||
| − | | | + | | file = |
| − | | | + | | header = |
| − | | | + | | type = |
}} | }} | ||
</pre> | </pre> | ||
| − | + | === Parameters === | |
{| class=wikitable | {| class=wikitable | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| − | | | + | | file || Name of the audio file. For example, for [[:File:americaog.ogg]], specify <code>americaog.ogg</code> |
|- | |- | ||
| − | | | + | | header || Putting anything in this parameter adds an infobox header reading "Audio sample". |
|- | |- | ||
| − | | | + | | type || Specifies the background color of the caption from {{tl|Infobox album/color}}; defaults to <code>single</code>. See that template's page for all values. |
|} | |} | ||
Revision as of 11:00, 10 May 2017
| 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
| file =
| header =
| type =
}}
Parameters
| Parameter | Description |
|---|---|
| file | Name of the audio file. For example, for File:americaog.ogg, specify americaog.ogg
|
| header | Putting anything in this parameter adds an infobox header reading "Audio sample". |
| type | Specifies the background color of the caption from {{Infobox album/color}}; defaults to single. See that template's page for all values.
|