Template:Lyrics: Difference between revisions
Appearance
m Added support for Japanese Kanji version and reformatted table. |
line breaks issue fixed with the help of Extension:Poem |
||
| (68 intermediate revisions by 12 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div style="display: flow-root; clear: none; margin-bottom: 1em;"><tabs> | |||
{{#if: {{{japanese|}}} | | {{#if: {{{romaji|}}} | {{#tab:Romaji|{{#tag:poem|{{{romaji}}} }} }} }} | ||
{{#if: {{{english|}}} | {{#tab:Japanese translation|{{#tag:poem|{{{english}}} }} }} }} | |||
{{ | {{#if: {{{japanese|}}} | {{#tab:Japanese|{{#tag:poem|{{{japanese}}} }} }} }} | ||
{{ | {{#if: {{{kanji|}}} | {{#tab:Kanji|{{#tag:poem|{{{kanji}}} }} }} }} | ||
{{ | {{#if: {{{english-dub|}}} | {{#tab:English Dub|{{#tag:poem|{{{english-dub}}} }} }} }} | ||
{{#if: {{{english|}}} | | {{#if: {{{indonesian|}}} | {{#tab:Indonesian|{{#tag:poem|{{{indonesian}}} }} }} }} | ||
{{#if: {{{catalan|}}} | {{#tab:Catalan|{{#tag:poem|{{{catalan}}} }} }} }} | |||
{{ | {{#if: {{{thai|}}} | {{#tab:Thai|{{#tag:poem|{{{thai}}} }} }} }} | ||
{{ | {{#if: {{{vietnamese|}}} | {{#tab:Vietnamese|{{#tag:poem|{{{vietnamese}}} }} }} }} | ||
{{ | {{#if: {{{spanish-dub|}}} | {{#tab:Spanish Dub|{{#tag:poem|{{{spanish-dub}}} }} }} }} | ||
{{#if: {{{ | {{#if: {{{spanish-sub|}}} | {{#tab:Spanish Sub|{{#tag:poem|{{{spanish-sub}}} }} }} }} | ||
{{#if: {{{spanish-dub-english|}}} | {{#tab:Spanish translation|{{#tag:poem|{{{spanish-dub-english}}} }} }} }} | |||
{{ | {{#if: {{{french-dub|}}} | {{#tab:French Dub|{{#tag:poem|{{{french-dub}}} }} }} }} | ||
{{ | {{#if: {{{french-dub-english|}}} | {{#tab:French translation|{{#tag:poem|{{{french-dub-english}}} }} }} }} | ||
{{ | {{#if: {{{german-dub|}}} | {{#tab:German Dub|{{#tag:poem|{{{german-dub}}} }} }} }} | ||
|}<noinclude> | {{#if: {{{german-dub-english|}}} | {{#tab:German translation|{{#tag:poem|{{{german-dub-english}}} }} }} }} | ||
Creates a table with lyrics of a song in | {{#if: {{{valencian-dub|}}} | {{#tab:Valencian Dub|{{#tag:poem|{{{valencian-dub}}} }} }} }} | ||
{{#if: {{{valencian-dub-english|}}} | {{#tab:Valencian translation|{{#tag:poem|{{{valencian-dub-english}}} }} }} }} | |||
{{#if: {{{balearic-dub|}}} | {{#tab:Balearic Dub|{{#tag:poem|{{{balearic-dub}}} }} }} }} | |||
{{#if: {{{balearic-dub-english|}}} | {{#tab:Balearic translation|{{#tag:poem|{{{balearic-dub-english}}} }} }} }} | |||
{{#if: {{{galician-dub|}}} | {{#tab:Galician Dub|{{#tag:poem|{{{galician-dub}}} }} }} }} | |||
{{#if: {{{galician-dub-english|}}} | {{#tab:Galician translation|{{#tag:poem|{{{galician-dub-english}}} }} }} }} | |||
{{#if: {{{basque-dub|}}} | {{#tab:Basque Dub|{{#tag:poem|{{{basque-dub}}} }} }} }} | |||
{{#if: {{{basque-dub-english|}}} | {{#tab:Basque translation|{{#tag:poem|{{{basque-dub-english}}} }} }} }} | |||
{{#if: {{{korean-dub|}}} | {{#tab:Korean Dub|{{#tag:poem|{{{korean-dub}}} }} }} }} | |||
{{#if: {{{korean-romaji|}}} | {{#tab:Korean Romaji|{{#tag:poem|{{{korean-romaji}}} }} }} }} | |||
{{#if: {{{hindi-dub|}}} | {{#tab:Hindi Dub|{{#tag:poem|{{{hindi-dub}}} }} }} }} | |||
{{#if: {{{hinglish|}}} | {{#tab:Hinglish|{{#tag:poem|{{{hinglish}}} }} }} }} | |||
{{#if: {{{hindi-dub-english|}}} | {{#tab:Hindi Translation|{{#tag:poem|{{{hindi-dub-english}}} }} }} }} | |||
{{#if: {{{italian-dub|}}} | {{#tab:Italian Dub|{{#tag:poem|{{{italian-dub}}} }} }} }} | |||
{{#if: {{{italian-translation|}}} | {{#tab:Italian translation|{{#tag:poem|{{{italian-translation}}} }} }} }} | |||
</tabs></div></includeonly> | |||
<noinclude> | |||
Creates a table with lyrics of a song in Japanese and/or English. | |||
== Usage == | == Usage == | ||
| Line 23: | Line 41: | ||
<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 | | japanese-citation = (Obsolete) Citation to the Japanese lyrics | ||
| kanji = (Optional) | | 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 (Hungama/Disney XD) | |||
| hinglish = (Optional) Hinglish Lyrics (Hungama/Disney XD) | |||
| hindi-dub-english = (Optional) Hindi translated Lyrics (Hungama/Disney XD) | |||
| 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 | |||
| italian-dub = (Optional) Italian Lyrics | |||
| italian-dub-english = (Optional) Italian translated Lyrics | |||
}} | }} | ||
</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 10:03, 15 July 2026
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 (Hungama/Disney XD)
| hinglish = (Optional) Hinglish Lyrics (Hungama/Disney XD)
| hindi-dub-english = (Optional) Hindi translated Lyrics (Hungama/Disney XD)
| 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
| italian-dub = (Optional) Italian Lyrics
| italian-dub-english = (Optional) Italian translated Lyrics
}}
Example
Konnichiha, sekai!
Hello, World! (English)
こんにちは、世界!
Hello, World! (English Dub)