Template:Lyrics: Difference between revisions
Appearance
Black Demon (talk | contribs) m Put Eng-dub behind to fix a gap issue |
testing... (templates are not rendered in the preview) |
||
| Line 9: | Line 9: | ||
{{#tab:English Dub|{{#lyrics:{{{english-dub}}}}}}}}} | {{#tab:English Dub|{{#lyrics:{{{english-dub}}}}}}}}} | ||
{{#if: {{{kanji|}}} | | {{#if: {{{kanji|}}} | | ||
{{#tab:Kanji|{{#lyrics:{{{kanji}}}}}}}}} | {{#tab:Kanji|{{#lyrics:{{{kanji}}}}}}}}} | | ||
{{#if: {{{kanji|}}} or {{{english-dub|}}} or {{{english|}}} or {{{romaji|}}} | | |||
{{#tab:All|{{#lyrics: | |||
{| | |||
| | |||
{{{kanji}}} | |||
| | |||
{{{romaji}}} | |||
| | |||
{{{english}}} | |||
| | |||
{{{english-dub}}} | |||
|} | |||
}}}}}} | |||
}}</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 31: | Line 44: | ||
</pre> | </pre> | ||
== Example == | |||
{{Lyrics | |||
| romaji= | |||
Konnichiha, sekai! | |||
| english = | |||
Hello, World! (English) | |||
| japanese= | |||
こんにちは、世界! | |||
| english-dub= | |||
Hello, World! (English Dub) | |||
}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 20:49, 26 July 2013
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
| kanji = (Obsolete) Same as japanese
| kanji-citation = (Obsolete) Same as japanese-citation
}}
Example
{{#tabs:lyrics|
{{#lyrics:Konnichiha, sekai!}}
{{#lyrics:Hello, World! (English)}}
{{#lyrics:こんにちは、世界!}}
{{#lyrics:Hello, World! (English Dub)}}
|
{{#lyrics:
}}
|
{{{kanji}}} |
Konnichiha, sekai! |
Hello, World! (English) |
Hello, World! (English Dub) |
}}