Difference between revisions of "Template:Lyrics"

From Detective Conan Wiki
(Removed citation parameters which are now obsolete (due to incompatibility with latest Citation extension). Citations are to be put directly at the bottom in references like on Mune ga Dokidoki)
(Undo revision 308341 by Dubsfirkin 2 (talk))
(Tag: Undo)
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<includeonly>{{#tabs:lyrics|
 
<includeonly>{{#tabs:lyrics|
{{#if: {{{japanese|}}} |
 
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}}}}}}
 
 
{{#if: {{{romaji|}}} |
 
{{#if: {{{romaji|}}} |
 
{{#tab:Romaji|{{#lyrics:{{{romaji}}}}}}}}}
 
{{#tab:Romaji|{{#lyrics:{{{romaji}}}}}}}}}
 
{{#if: {{{english|}}} |
 
{{#if: {{{english|}}} |
{{#tab:English|{{#lyrics:{{{english}}}}}}}}}
+
{{#tab:Japanese translation|{{#lyrics:{{{english}}}}}}}}}
 +
{{#if: {{{japanese|}}} |
 +
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}}}}}}
 +
{{#if: {{{english-dub|}}} |
 +
{{#tab:English Dub|{{#lyrics:{{{english-dub}}}}}}}}}
 +
{{#if: {{{spanish-dub|}}} |
 +
{{#tab:Spanish Dub|{{#lyrics:{{{spanish-dub}}}}}}}}}
 +
{{#if: {{{spanish-sub|}}} |
 +
{{#tab:Spanish Sub|{{#lyrics:{{{spanish-sub}}}}}}}}}
 +
{{#if: {{{spanish-dub-english|}}} |
 +
{{#tab:Spanish translation|{{#lyrics:{{{spanish-dub-english}}}}}}}}}
 +
{{#if: {{{french-dub|}}} |
 +
{{#tab:French Dub|{{#lyrics:{{{french-dub}}}}}}}}}
 +
{{#if: {{{french-dub-english|}}} |
 +
{{#tab:French translation|{{#lyrics:{{{french-dub-english}}}}}}}}}
 +
{{#if: {{{german-dub|}}} |
 +
{{#tab:German Dub|{{#lyrics:{{{german-dub}}}}}}}}}
 +
{{#if: {{{german-dub-english|}}} |
 +
{{#tab:German translation|{{#lyrics:{{{german-dub-english}}}}}}}}}
 +
{{#if: {{{valencian-dub|}}} |
 +
{{#tab:Valencian Dub|{{#lyrics:{{{valencian-dub}}}}}}}}}
 +
{{#if: {{{valencian-dub-english|}}} |
 +
{{#tab:Valencian translation|{{#lyrics:{{{valencian-dub-english}}}}}}}}}
 +
{{#if: {{{balearic-dub|}}} |
 +
{{#tab:Balearic Dub|{{#lyrics:{{{balearic-dub}}}}}}}}}
 +
{{#if: {{{balearic-dub-english|}}} |
 +
{{#tab:Balearic translation|{{#lyrics:{{{balearic-dub-english}}}}}}}}}
 +
{{#if: {{{galician-dub|}}} |
 +
{{#tab:Galician Dub|{{#lyrics:{{{galician-dub}}}}}}}}}
 +
{{#if: {{{galician-dub-english|}}} |
 +
{{#tab:Galician translation|{{#lyrics:{{{galician-dub-english}}}}}}}}}
 +
{{#if: {{{basque-dub|}}} |
 +
{{#tab:Basque Dub|{{#lyrics:{{{basque-dub}}}}}}}}}
 +
{{#if: {{{basque-dub-english|}}} |
 +
{{#tab:Basque translation|{{#lyrics:{{{basque-dub-english}}}}}}}}}
 +
{{#if: {{{korean-dub|}}} |
 +
{{#tab:Korean Dub|{{#lyrics:{{{korean-dub}}}}}}}}}
 +
{{#if: {{{korean-romaji|}}} |
 +
{{#tab:Korean Romaji|{{#lyrics:{{{korean-romaji}}}}}}}}}
 
{{#if: {{{kanji|}}} |
 
{{#if: {{{kanji|}}} |
 
{{#tab:Kanji|{{#lyrics:{{{kanji}}}}}}}}}
 
{{#tab:Kanji|{{#lyrics:{{{kanji}}}}}}}}}
{{#if: {{{english-dub|}}} |
+
{{#if: {{{hindi-dub|}}} |
{{#tab:English Dub|{{#lyrics:{{{english-dub}}}}}}}}}
+
{{#tab:Hindi Dub|{{#lyrics:{{{hindi-dub}}}}}}}}}
 +
{{#if: {{{hindi-dub-english|}}} |
 +
{{#tab:Hindi Translation|{{#lyrics:{{{hindi-dub-english}}}}}}}}}
 
}}</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.
Line 18: Line 56:
 
<pre>
 
<pre>
 
{{Lyrics
 
{{Lyrics
| japanese              =    (Optional) Japanese lyrics
 
| japanese-citation    =    (Obsolete) Citation to the Japanese lyrics
 
 
| romaji                =    (Optional) Romaji lyrics
 
| romaji                =    (Optional) Romaji lyrics
 
| romaji-citation      =    (Obsolete) Citation to the Romaji lyrics
 
| romaji-citation      =    (Obsolete) Citation to the Romaji lyrics
 
| english              =    (Optional) English Lyrics
 
| english              =    (Optional) English Lyrics
 
| english-citation      =    (Obsolete) Citation to the English lyrics
 
| english-citation      =    (Obsolete) Citation to the English lyrics
 +
| japanese              =    (Optional) Japanese lyrics
 +
| japanese-citation    =    (Obsolete) Citation to the Japanese lyrics
 
| english-dub          =    (Optional) FUNimation English Lyrics
 
| english-dub          =    (Optional) FUNimation English Lyrics
 
| english-dub-citation  =    (Obsolete) Citation to the FUNimation English Lyrics
 
| english-dub-citation  =    (Obsolete) Citation to the FUNimation English Lyrics
 +
| spanish-dub          =    (Optional) Latinamerican Spanish Lyrics
 +
| spanish-sub          =    (Optional) Castilian Spanish Lyrics (not dubbed, subbed)
 +
| spanish-dub-english  =    (Optional) Latinamerican Spanish translated Lyrics
 +
| french-dub            =    (Optional) AB French Lyrics
 +
| french-dub-english    =    (Optional) AB French translated Lyrics
 +
| german-dub            =    (Optional) German Lyrics
 +
| german-dub-english    =    (Optional) German translated Lyrics
 +
| valencian-dub        =    (Optional) RTVV Catalan Lyrics
 +
| valencian-dub-english =    (Optional) RTVV Catalan translated Lyrics
 +
| hindi-dub            =    (Optional) Hindi Lyrics
 +
| hindi-dub-english    =    (Optional) Hindi translated Lyrics
 +
| balearic-dub          =    (Optional) IB3 Catalan Lyrics
 +
| balearic-dub-english  =    (Optional) IB3 Catalan translated Lyrics
 +
| galician-dub          =    (Optional) TVG Galician Lyrics
 +
| galician-dub-english  =    (Optional) TVG Galician translated Lyrics
 +
| basque-dub            =    (Optional) EiTB Basque Lyrics
 +
| basque-dub-english    =    (Optional) EiTB Basque translated Lyrics
 +
| korean-dub            =    (Optional) Korean Lyrics
 +
| korean-romaji        =    (Optional) Korean Romaji Lyrics
 
| kanji                =    (Obsolete) Same as japanese
 
| kanji                =    (Obsolete) Same as japanese
 
| kanji-citation        =    (Obsolete) Same as japanese-citation
 
| kanji-citation        =    (Obsolete) Same as japanese-citation
Line 31: Line 88:
 
</pre>
 
</pre>
  
 +
== Example ==
 +
{{Lyrics
 +
| romaji=
 +
Konnichiha, sekai!
 +
| english              =
 +
Hello, World! (English)
 +
| japanese=
 +
こんにちは、世界!
 +
| english-dub=
 +
Hello, World! (English Dub)
 +
}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:45, 29 March 2022

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
| romaji                =    (Optional) Romaji lyrics
| romaji-citation       =    (Obsolete) Citation to the Romaji lyrics
| english               =    (Optional) English Lyrics
| english-citation      =    (Obsolete) Citation to the English lyrics
| japanese              =    (Optional) Japanese lyrics
| japanese-citation     =    (Obsolete) Citation to the Japanese lyrics
| english-dub           =    (Optional) FUNimation English Lyrics
| english-dub-citation  =    (Obsolete) Citation to the FUNimation English Lyrics
| spanish-dub           =    (Optional) Latinamerican Spanish Lyrics
| spanish-sub           =    (Optional) Castilian Spanish Lyrics (not dubbed, subbed)
| spanish-dub-english   =    (Optional) Latinamerican Spanish translated Lyrics
| french-dub            =    (Optional) AB French Lyrics
| french-dub-english    =    (Optional) AB French translated Lyrics
| german-dub            =    (Optional) German Lyrics
| german-dub-english    =    (Optional) German translated Lyrics
| valencian-dub         =    (Optional) RTVV Catalan Lyrics
| valencian-dub-english =    (Optional) RTVV Catalan translated Lyrics
| hindi-dub             =    (Optional) Hindi Lyrics
| hindi-dub-english     =    (Optional) Hindi translated Lyrics
| balearic-dub          =    (Optional) IB3 Catalan Lyrics
| balearic-dub-english  =    (Optional) IB3 Catalan translated Lyrics
| galician-dub          =    (Optional) TVG Galician Lyrics
| galician-dub-english  =    (Optional) TVG Galician translated Lyrics
| basque-dub            =    (Optional) EiTB Basque Lyrics
| basque-dub-english    =    (Optional) EiTB Basque translated Lyrics
| korean-dub            =    (Optional) Korean Lyrics
| korean-romaji         =    (Optional) Korean Romaji Lyrics
| kanji                 =    (Obsolete) Same as japanese
| kanji-citation        =    (Obsolete) Same as japanese-citation
}}

Example