• 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)
m
Line 1: Line 1:
{{#if:{{{file|}}}|
+
<includeonly>{{#if:{{{file|}}}|{{#switch:{{lc:{{#explode:{{{file}}}|.|-1}}}}|ogg|mp3=<sm2>{{{file}}}</sm2>|#default={{#sub:{{file:{{{file}}}|7}}}}}}}}</includeonly><noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>
  {{#switch: {{lc:{{#explode:{{{file}}}|.|-1}}}}
 
    |ogg
 
    |mp3 = <sm2>{{{file}}}</sm2>
 
    |#default = {{#sub:{{file:{{{file}}}|7}} }}
 
  }}
 
}}
 
<noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>
 

Revision as of 22:10, 23 June 2019