Difference between revisions of "Template:Listen"

From CIDI Wiki
Jump to navigation Jump to search
(removed ifequal strings)
(New template format)
Line 1: Line 1:
<div class="medialist listenlist" style="width:{{{width|200}}}px">
{{side box
[[Image:speaker.png|speaker]]
|position  = {{{pos|}}}
<div style="font-size:8pt;text-align:left;padding:1pt; padding-right:1.5em; line-height:1.25em">{{{description|}}}</div>
|textstyle = line-height:1.1em;
</div><noinclude>
|image    = [[Image:{{#switch:{{lc:{{{type|}}}}}
</noinclude>
  | sound    = Exquisite-kmixdocked mute.png
  | music
  | #default = Gnome-speakernotes.svg
}}|65x50px|center]]
|text      = <table style="width:100%; background:transparent; border-collapse:collapse; padding:0; margin:0;">
{{#if:{{{header|}}}|<tr>
<th colspan="2" style="background:transparent; text-align:left; padding:2px;">{{{header}}}</th>
</tr>}}
{{listen/core
|filename    = {{{filename|}}}
|title      = {{{title|}}}
|description = {{{description|}}}
|play        = {{{play|}}}
}}  {{#if:{{{filename2|}}}|
{{listen/core
|filename    = {{{filename2|}}}
|title      = {{{title2|}}}
|description = {{{description2|}}}
|play        = {{{play2|}}}
}}}}{{#if:{{{filename3|}}}|
{{listen/core
|filename    = {{{filename3|}}}
|title      = {{{title3|}}}
|description = {{{description3|}}}
|play        = {{{play3|}}}
}}}}{{#if:{{{filename4|}}}|
{{listen/core
|filename    = {{{filename4|}}}
|title      = {{{title4|}}}
|description = {{{description4|}}}
|play        = {{{play4|}}}
}}}}{{#if:{{{filename5|}}}|
{{listen/core
|filename    = {{{filename5|}}}
|title      = {{{title5|}}}
|description = {{{description5|}}}
|play        = {{{play5|}}}
}}}}</table>
|below = <span style="font-size:smaller;">''Problems listening to {{#if:{{{filename2|}}}{{{filename3|}}}{{{filename4|}}}{{{filename5|}}}|these files|this file}}? See [[Wikipedia:Media help|media help]].''</span>
}}<noinclude>{{documentation}}</noinclude>

Revision as of 12:31, 10 December 2008