Difference between revisions of "Template:Lyrics"

From Detective Conan Wiki
(Testing new extension with dynamic JS Tabs (mainly for lyrics))
m
Line 1: Line 1:
 
<includeonly>{{#tabs:lyrics|
 
<includeonly>{{#tabs:lyrics|
 
{{#if: {{{japanese|}}} |
 
{{#if: {{{japanese|}}} |
{{#tab:Japanese {{{japanese-citation|}}}|{{#lyrics:{{{japanese}}}}}}}}}
+
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}} {{{japanese-citation|}}} }}}}
 
{{#if: {{{english|}}} |
 
{{#if: {{{english|}}} |
{{#tab:English {{{english-citation|}}}|{{#lyrics:{{{english}}}}}}}}}
+
{{#tab:English|{{#lyrics:{{{english}}}}} {{{english-citation|}}} }}}}
 
{{#if: {{{kanji|}}} |
 
{{#if: {{{kanji|}}} |
{{#tab:Kanji {{{kanji-citation|}}}|{{#lyrics:{{{kanji}}}}}}}}}
+
{{#tab:Kanji|{{#lyrics:{{{kanji}}}}} {{{kanji-citation|}}} }}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
Creates a table with lyrics of a song in Japanese and/or English.
 
Creates a table with lyrics of a song in Japanese and/or English.

Revision as of 07:47, 7 December 2009

Creates a table with lyrics of a song in Japanese and/or English.

Usage

The following is a list of required or optional parameters:

{{Lyrics
| japanese              =    (Optional) Japanese lyrics
| japanese-citation     =    (Optional) Citation to the Japanese lyrics
| english               =    (Optional) English Lyrics
| english-citation      =    (Optional) Citation to the English lyrics
| kanji                 =    (Optional) Japanese Kanji Lyrics
| kanji-citation        =    (Optional) Citation to the Kanji lyrics
}}