Jump to content

Template:ShadowText

From SpongeBob Wiki

Shadowed text

Usage

This template is used to add a shadow effect to text.

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

Eat at the Krusty Krab!

  • The variable color= controls the color of the shadow. The default setting is black at 50% opacity. If you set it to another color, it won't be at 50% opacity unless you code that in yourself using RGBA values.
    {{ShadowText|color=red|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
    {{ShadowText|color=rgba(255,0,0,0.5)|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
  • The variable distance= controls how far away the shadow is from the text. The default value is 2.
    {{ShadowText|distance=1|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
    {{ShadowText|distance=5|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
  • The variable softness= controls how blurry the shadow is. The default value is 2.
    {{ShadowText|softness=1|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!
    {{ShadowText|softness=5|Eat at the Krusty Krab!}}
    Eat at the Krusty Krab!

See also