User:LiaMinina/Template:LyricsKai/doc
This template provides an easy way to create large paragraphs with translated lyrics.
The template will then follow the rows for you-- Correspondence generates a contrast between the original and the translated text. At high resolution, this will be a left-right aligned control. At low resolution, the original and the translation will each take up one line.
Parameters
The template currently has the following parameter:
- original: The song's original lyrics.
- translated: The song's translated lyrics. The number of lines in the original lyrics and the translation need to match.
- llang: Original language label. Defaults to Japanese (ja) when not specified.
- rlang: Translated language label. Defaults to English (en). Format as above.
- lstyle: Style of the original text. Colors and other styles can be specified here.
- rstyle: Style of the translated text. Colors and other styles can be specified here.
- width: Width of the design template. Default is 100%.
- containerstyle: Styles applied to the entire container. Styles such as background colors that work on both the original and translated text can be specified here.
Furthermore, there is also a parameter related to copyright marking:
- Author: Lyricist/song copyright owner. If there is an article on the site, it can be written in the form of an internal link.
Example usage
※Note: If you try to change the style (lstyle, rstyle, containerstyle), please note the use of colons as well as semicolons.
{{LyricsKai |lstyle=color:left-font-color; |rstyle=color:right-font-color; |original= Original text |translated= Translated text }}
Background color example
The above example demonstrates changing the font color, this example is used to change the background color of the entire lyrics section.
{{LyricsKai |containerstyle=background:bcolor; |original= Original text |translated= Translated text }}