• 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
(test)
 
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{{filename|}}}|
+
<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>
{{#ifeq:
 
  {{lc:{{#explode:{{{filename}}}|.|-1}}}}|ogg|
 
  <span class="audio_button">[[Media:{{{filename}}}|Play]]</span>
 
  |{{#sub:{{filepath:{{{filename}}}}}|7}}
 
}}
 
}}
 

Latest revision as of 06:23, 22 September 2021