Changes

no edit summary
Line 1: Line 1: −
{{#if:{{{file|}}}|
+
<includeonly>{{#if:{{{1|{{{file|}}}}}}|{{#switch:{{lc:{{#explode:{{{1|{{{file|}}}}}}|.|-1}}}}|ogg|mp3=<sm2>{{{1|{{{file|}}}}}}</sm2>|#default={{#sub:{{file:{{{1|{{{file|}}}}}}|7}}}}}}}}</includeonly><noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>
{{#ifeq:
  −
  {{lc:{{#explode:{{{file}}}|.|-1}}}}|ogg|
  −
  <sm2>{{{file}}}</sm2>
  −
  |{{#sub:{{file:{{{file}}}}}|7}}
  −
}}
  −
<script>
  −
soundManager.setup({
  −
defaultOptions: {
  −
    // set global default volume for all sound objects
  −
    volume: 33
  −
  }
  −
});
  −
</script>
  −
}}
 
cssedit, gkautomate
7,064

edits