Template:Listen: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (bolding title)
No edit summary
Line 1: Line 1:
<div class="medialist listenlist" style="width:{{{width|200}}}px">
<div class="medialist listenlist" style="width:{{{width|200}}}px">
{{#if:{{{title}}}|'''[[:Image:{{{filename}}}|{{{title}}}]]'''}}
{{#if:{{{title}}}|'''[[:Image:{{{filename}}}|{{{title}}}]]'''}}
{{#ifeq:{{{ogg}}}|no||[[Image:{{{filename}}}|noicon]]}}
{{#ifeq:{{{ogg}}}|no||[[Image:{{{filename}}}|noicon]]}}
<div style="font-size:8pt;text-align:left;padding:4pt;line-height:1.25em">{{{description|}}}</div>
<div style="font-size:8pt;text-align:left;padding:4pt;line-height:1.25em">{{{description|}}}</div>
{{#ifeq:{{{helpnote}}}|no||<p style="text-align:right;font-size:10pt;line-height:1.25em">''Problems listening to the file? See [[Wikipedia:Media help|media help]].''</p>}}
{{#ifeq:{{{helpnote}}}|no||<p style="text-align:right;font-size:10pt;line-height:1.25em">''Problems listening to the file? See [[Wikipedia:Media help|media help]].''</p>}}
</div><noinclude>
</div><noinclude>[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates| S]]
 
==Use==
<pre><nowiki>{{listen      *optional field
*|title=title shown
|filename=filename without namespace
*|ogg='yes' or 'no'
*|description=description
*|helpnote='yes' or 'no'
}}</pre></nowiki>
</noinclude>
</noinclude>

Revision as of 13:56, June 6, 2008

[[:Image:{{{filename}}}|{{{title}}}]] [[Image:{{{filename}}}|noicon]]

Problems listening to the file? See media help.

Use

<nowiki>{{listen       *optional field
*|title=title shown
|filename=filename without namespace
*|ogg='yes' or 'no'
*|description=description
*|helpnote='yes' or 'no'
}}

</nowiki>