- 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"
Jump to navigation
Jump to search
IbarakiIbuki (talk | contribs) |
IbarakiIbuki (talk | contribs) (forgot to clean up after testing) |
||
Line 1: | Line 1: | ||
{{#if:{{{file|}}}| | {{#if:{{{file|}}}| | ||
− | {{#switch: {{lc:{{#explode:{{{file | + | {{#switch: {{lc:{{#explode:{{{file}}}|.|-1}}}} |
|ogg | |ogg | ||
− | |mp3 = <sm2>{{{file | + | |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> |