Template:Media table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<br clear="all">
<br clear="all">
<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black;border-bottom:2px solid black"><tr><td>The {{SITENAME}} has {{#if:{{{name2|}}}||a}} media file{{#if:{{{name2|}}}|s}} for ''{{PAGENAME}}''. To view the audio or video, click the name of the file. Details for each file succeed the link. [[Image:Soundcheck.png|30px|right]]</td></tr></table>
<table style="padding:4px;width:100%;text-align:center;border-collapse:collapse;border:1px solid black;border-bottom:2px solid black"><tr><td>The {{SITENAME}} has {{#if:{{{name2|}}}||a}} media file{{#if:{{{name2|}}}|s}} for ''{{PAGENAME}}''.<br>To view the audio or video, click the name of the file. Details for each file succeed the link.</td></tr></table>
<!-- BIG MESS AHEAD -- ONLY EDIT IF YOU KNOW THE CODE -->
<!-- BIG MESS AHEAD -- ONLY EDIT IF YOU KNOW THE CODE -->
{{#if:{{{name1|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black"><tr><td>{{#switch:{{{type1}}}|audio|Audio=[[Image:Audio.png{{!}}25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name1}}}.ogg{{!}}{{{pipe1{{!}}{{{name1}}}}}}]]''' <span style="font-size:95%"> {{{description1}}} </span>
{{#if:{{{name1|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black;border-top:2px solid black"><tr><td>{{#switch:{{{type1}}}|audio|Audio=[[Image:Audio.png{{!}}25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name1}}}.ogg{{!}}{{{pipe1{{!}}{{{name1}}}}}}]]''' <span style="font-size:95%"> {{{description1}}} </span>
<td style="text-align:right;width:6%"><small>{{{length1}}}</small><br><small>[[:Image:{{{name1}}}.ogg|File info]]</small>}}{{#if:{{{name2|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black"><tr><td>{{#switch:{{{type2}}}|audio|Audio=[[Image:Audio.png|25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name2}}}.ogg{{!}}{{{pipe2{{!}}{{{name2}}}}}}]]''' <span style="font-size:95%">{{{description2}}} </span>
<td style="text-align:right;width:6%"><small>{{{length1}}}</small><br><small>[[:Image:{{{name1}}}.ogg|File info]]</small>}}{{#if:{{{name2|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black"><tr><td>{{#switch:{{{type2}}}|audio|Audio=[[Image:Audio.png|25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name2}}}.ogg{{!}}{{{pipe2{{!}}{{{name2}}}}}}]]''' <span style="font-size:95%">{{{description2}}} </span>
<td style="text-align:right;width:6%"><small>{{{length2}}}</small><br><small>[[:Image:{{{name2}}}.ogg|File info]]</small>}}{{#if:{{{name3|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black"><tr><td>{{#switch:{{{type3}}}|audio|Audio=[[Image:Audio.png|25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name3}}}.ogg{{!}}{{{pipe3{{!}}{{{name3}}}}}}]]''' <span style="font-size:95%"> {{{description3}}} </span>
<td style="text-align:right;width:6%"><small>{{{length2}}}</small><br><small>[[:Image:{{{name2}}}.ogg|File info]]</small>}}{{#if:{{{name3|}}}|<table style="padding:4px;width:100%;border-collapse:collapse;border:1px solid black"><tr><td>{{#switch:{{{type3}}}|audio|Audio=[[Image:Audio.png|25px]]|video|Video=[[Image:Video.png|25px]]}} '''[[Media:{{{name3}}}.ogg{{!}}{{{pipe3{{!}}{{{name3}}}}}}]]''' <span style="font-size:95%"> {{{description3}}} </span>

Revision as of 23:38, November 21, 2007


The Super Mario Wiki has a media file for Media table.
To view the audio or video, click the name of the file. Details for each file succeed the link.
Having trouble playing?

1-16 files supported now. If you edit this page, be careful, it contains highly esoteric (complex) coding.