User:LiaMinina/Template:LyricsKai/colors/doc

From Moegirlpedia
< User:LiaMinina
Revision as of 16:40, 17 November 2023 by LiaMinina (talk | contribs) (Created page with "This template is a derivative of the {{tl|LyricsKai}} template, mainly used for easy operation of using multiple colors to distinguish different singers in lyrics. '''Note:''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is a derivative of the {{LyricsKai}} template, mainly used for easy operation of using multiple colors to distinguish different singers in lyrics.

Note: {{LyricsKai}} provides the text, as well as the lyrics and translation coloring, when the lyrics don't require a lot of complex variations in coloring, please use {{LyricsKai}}, to prevent special symbols in lyrics to be parsed as tokens, or cause unnecessary loss of performance.

Parameters

  • colors: Colors for all characters, separated by the use of an intermediate ;, supports up to 99. It supports setting an alias for a color, Automatically removes leading and trading spaces and line feeds between colors.
In addition to normal color values, there is also support for utilizing the CSS3 background-clip property and gradient color function to generate gradient colored text.
    • lg: Linear gradient. The most commonly-used gradient mode, it is written as lg(parameter), this is true for all the following, in a similar fashion, for specific parameter writing, please refer to this page, you can also refer to the gradient color write up in {{Gradient Text}}.
    • rg: Radial gradient. For specific parameter usage, please refer to this page.