• 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)
 
(One intermediate revision by the same user not shown)
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>
  {{#switch: {{lc:{{#explode:{{{file}}}|.|-1}}}}
 
    |ogg
 
    |mp3 = <sm2>{{{file}}}</sm2>
 
    |#default = {{#sub:{{file:{{{file}}}|7}} }}
 
  }}
 
}}
 
<noinclude>[[Category:Templates]] [[Category:Audio]]</noinclude>
 

Latest revision as of 06:23, 22 September 2021