• 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:Music"

From Kancolle Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
{{#if:{{{audio2|}}}|{{!}}-
 
{{#if:{{{audio2|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''2'''
 
{{!}}style="text-align:center"{{!}}'''2'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio2}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio2|-}}}|-|{{Audio|file={{{audio2}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja2|}}}|「{{{ja2}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja2|}}}|「{{{ja2}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro2|}}}|''{{{ro2}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro2|}}}|''{{{ro2}}}''|-}}
Line 21: Line 21:
 
{{#if:{{{audio3|}}}|{{!}}-
 
{{#if:{{{audio3|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''3'''
 
{{!}}style="text-align:center"{{!}}'''3'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio3}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio3|-}}}|-|{{Audio|file={{{audio3}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja3|}}}|「{{{ja3}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja3|}}}|「{{{ja3}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro3|}}}|''{{{ro3}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro3|}}}|''{{{ro3}}}''|-}}
Line 27: Line 27:
 
{{#if:{{{audio4|}}}|{{!}}-
 
{{#if:{{{audio4|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''4'''
 
{{!}}style="text-align:center"{{!}}'''4'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio4}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio4|-}}}|-|{{Audio|file={{{audio4}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja4|}}}|「{{{ja4}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja4|}}}|「{{{ja4}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro4|}}}|''{{{ro4}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro4|}}}|''{{{ro4}}}''|-}}
Line 33: Line 33:
 
{{#if:{{{audio5|}}}|{{!}}-
 
{{#if:{{{audio5|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''5'''
 
{{!}}style="text-align:center"{{!}}'''5'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio5}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio5|-}}}|-|{{Audio|file={{{audio5}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja5|}}}|「{{{ja5}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja5|}}}|「{{{ja5}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro5|}}}|''{{{ro5}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro5|}}}|''{{{ro5}}}''|-}}
Line 39: Line 39:
 
{{#if:{{{audio6|}}}|{{!}}-
 
{{#if:{{{audio6|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''6'''
 
{{!}}style="text-align:center"{{!}}'''6'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio6}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio6|-}}}|-|{{Audio|file={{{audio6}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja6|}}}|「{{{ja6}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja6|}}}|「{{{ja6}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro6|}}}|''{{{ro6}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro6|}}}|''{{{ro6}}}''|-}}
Line 45: Line 45:
 
{{#if:{{{audio7|}}}|{{!}}-
 
{{#if:{{{audio7|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''7'''
 
{{!}}style="text-align:center"{{!}}'''7'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio7}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio7|-}}}|-|{{Audio|file={{{audio7}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja7|}}}|「{{{ja7}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja7|}}}|「{{{ja7}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro7|}}}|''{{{ro7}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro7|}}}|''{{{ro7}}}''|-}}
Line 51: Line 51:
 
{{#if:{{{audio8|}}}|{{!}}-
 
{{#if:{{{audio8|}}}|{{!}}-
 
{{!}}style="text-align:center"{{!}}'''8'''
 
{{!}}style="text-align:center"{{!}}'''8'''
{{!}}style="text-align:center"{{!}}{{Audio|file={{{audio8}}}}}
+
{{!}}style="text-align:center"{{!}}{{#if:{{{audio8|-}}}|-|{{Audio|file={{{audio8}}}}}}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja8|}}}|「{{{ja8}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ja8|}}}|「{{{ja8}}}」|「-」}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro8|}}}|''{{{ro8}}}''|-}}
 
{{!}}style="text-align:center"{{!}}{{#if:{{{ro8|}}}|''{{{ro8}}}''|-}}

Revision as of 10:10, 29 December 2018

Usage:

{{:Music/Row|title, no bolding, just text or link|background color, name or hex
|audio1 = file.ogg, no File:
|ja1 = Japanese title
|en1 = English title
|ro1 = romaji
...
}}