Difference between revisions of "Template:Lyrics"

From Detective Conan Wiki
(Undo revision 308341 by Dubsfirkin 2 (talk))
(Tag: Undo)
 
(31 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="margin: auto"
+
<includeonly>{{#tabs:lyrics|
 +
{{#if: {{{romaji|}}} |
 +
{{#tab:Romaji|{{#lyrics:{{{romaji}}}}}}}}}
 +
{{#if: {{{english|}}} |
 +
{{#tab:Japanese translation|{{#lyrics:{{{english}}}}}}}}}
 
{{#if: {{{japanese|}}} |
 
{{#if: {{{japanese|}}} |
! Japanese
+
{{#tab:Japanese|{{#lyrics:{{{japanese}}}}}}}}}
{{!}}-
+
{{#if: {{{english-dub|}}} |
{{!}} style="text-align:center; padding: 5px;" {{!}} {{{japanese}}}
+
{{#tab:English Dub|{{#lyrics:{{{english-dub}}}}}}}}}
{{!}}- }}
+
{{#if: {{{spanish-dub|}}} |
{{#if: {{{english|}}} |
+
{{#tab:Spanish Dub|{{#lyrics:{{{spanish-dub}}}}}}}}}
! English
+
{{#if: {{{spanish-sub|}}} |
{{!}}-
+
{{#tab:Spanish Sub|{{#lyrics:{{{spanish-sub}}}}}}}}}
{{!}} style="text-align:center; padding: 5px;" {{!}} {{{english}}}
+
{{#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|}}} |
! Japanese Kanji
+
{{#tab:Kanji|{{#lyrics:{{{kanji}}}}}}}}}
{{!}}-
+
{{#if: {{{hindi-dub|}}} |
{{!}} style="text-align:center; padding: 5px;" {{!}} {{{kanji}}}
+
{{#tab:Hindi Dub|{{#lyrics:{{{hindi-dub}}}}}}}}}
{{!}}}}
+
{{#if: {{{hindi-dub-english|}}} |
|}</includeonly><noinclude>
+
{{#tab:Hindi Translation|{{#lyrics:{{{hindi-dub-english}}}}}}}}}
Creates a table with lyrics of a song in both Japanese and English.
+
}}</includeonly><noinclude>
 +
Creates a table with lyrics of a song in Japanese and/or English.
  
 
== Usage ==
 
== Usage ==
Line 23: Line 56:
 
<pre>
 
<pre>
 
{{Lyrics
 
{{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              =    (Optional) Japanese lyrics
| english               =    (Optional) English Lyrics
+
| japanese-citation    =    (Obsolete) Citation to the Japanese lyrics
| kanji                =    (Optional) Japanese Kanji 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
 
}}
 
}}
 
</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