• 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
(forgot to clean up after testing)
Line 1: Line 1:
 
{{#if:{{{file|}}}|
 
{{#if:{{{file|}}}|
   {{#switch: {{lc:{{#explode:{{{file|Tenryuu-Secretary_1.ogg}}}|.|-1}}}}
+
   {{#switch: {{lc:{{#explode:{{{file}}}|.|-1}}}}
 
     |ogg
 
     |ogg
     |mp3 = <sm2>{{{file|Tenryuu-Secretary_1.ogg}}}</sm2>
+
     |mp3 = <sm2>{{{file}}}</sm2>
 
     |#default = {{#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:26, 13 August 2016