• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Audio"

From Kancolle Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{{#if:{{{file|}}}|
 
{{#if:{{{file|}}}|
{{#ifeq:
+
  {{#switch: {{lc:{{#explode:{{{file|Tenryuu-Secretary_1.ogg}}}|.|-1}}}}
  {{lc:{{#explode:{{{file}}}|.|-1}}}}|ogg|
+
    |ogg
  <sm2>{{{file}}}</sm2>
+
    |mp3 = <sm2>{{{file|Tenryuu-Secretary_1.ogg}}}</sm2>
  |{{#sub:{{file:{{{file}}}}}|7}}
+
    |#default = {{#sub:{{file:{{{file}}}|7}} }}
}}
+
  }}
 
}}
 
}}
 
<noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>
 
<noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>

Revision as of 02:21, 13 August 2016