Difference between revisions of "Template:Lyrics"

From Detective Conan Wiki
m (Testing solution to broken <ref> issue within template)
(Fixed broken citations from within templates.)
Line 1: Line 1:
<includeonly><span style="display:none;">{{#if:{{{japanese-citation|}}}|<ref>{{{japanese-citation}}}</ref>}}{{#if:{{{romaji-citation|}}}|{{#tag:ref|{{{romaji-citation}}}}}}}{{#if:{{{english-citation|}}}|<ref>{{{english-citation}}}</ref>}}{{#if:{{{kanji-citation|}}}|<ref>{{{kanji-citation}}}</ref>}}{{#if:{{{english-dub-citation|}}}|<ref>{{{english-dub-citation}}}</ref>}}</span>{{#tabs:lyrics|
+
<includeonly><span style="display:none;">{{#if:{{{japanese-citation|}}}|{{#tag:ref|{{{japanese-citation}}}}}}}{{#if:{{{romaji-citation|}}}|{{#tag:ref|{{{romaji-citation}}}}}}}{{#if:{{{english-citation|}}}|{{#tag:ref|{{{english-citation}}}}}}}{{#if:{{{kanji-citation|}}}|{{#tag:ref|{{{kanji-citation}}}}}}}{{#if:{{{english-dub-citation|}}}|{{#tag:ref|{{{english-dub-citation}}}}}}}</span>{{#tabs:lyrics|
 
{{#if: {{{japanese|}}} |
 
{{#if: {{{japanese|}}} |
 
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}}}}}}
 
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}}}}}}

Revision as of 17:04, 20 November 2010

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
| romaji                =    (Optional) Romaji lyrics
| romaji-citation       =    (Optional) Citation to the Romaji lyrics
| english               =    (Optional) English Lyrics
| english-citation      =    (Optional) Citation to the English lyrics
| english-dub           =    (Optional) FUNimation English Lyrics
| english-dub-citation  =    (Optional) Citation to the FUNimation English Lyrics
| kanji                 =    (Obsolete) Same as japanese
| kanji-citation        =    (Obsolete) Same as japanese-citation
}}