Template:LyricsKai/doc

From Moegirlpedia
< Template:LyricsKai
Revision as of 15:33, 18 November 2023 by LiaMinina (talk | contribs) (Added info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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. The corresponding module for this template is Module:Lyrics.

To use multiple colors in lyrics to distinguish between different singers, please refer to the use of {{LyricsKai/colors}}. Note: It is not recommended to use this template for articles about songs with only one singer.

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. When not specified, the default value is Japanese (ja).
  • rlang: Translated language label. The default value is 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. The default value 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
}}