Jump to content

Template:GradientText

From SpongeBob Wiki
Revision as of 19:17, 17 April 2021 by imported>AMK152
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gradient text

Usage

This template is used to clip a gradient over plain text. Using the template by itself results in a disappearing effect.

{{GradientText|Eat at the Krusty Krab!}}

Eat at the Krusty Krab!

  • The variable colors= controls which two or more colors make up the gradient. Color names and hex codes must be separated by commas. Recognized color names are listed here.
    {{GradientText|colors=red, orange|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
    {{GradientText|colors=red, orange, gold, limegreen, deepskyblue, darkviolet, mediumvioletred|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
  • The variable direction= controls the direction of the gradient.
    {{GradientText|direction=to bottom|colors=red, orange|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
    {{GradientText|direction=to bottom right|colors=red, orange|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!

See also