Jump to content

Template:TextAnimations: Difference between revisions

From FC1
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="TextAnimations/styles.css" /><span class="text-animation-container {{#switch:{{lc:{{{Wavy|}}}}}|1|true|yes=wavy}} {{#switch:{{lc:{{{Rainbow|}}}}}|1|true|yes=rainbow}} {{#switch:{{lc:{{{Bold|}}}}}|1|true|yes=force-bold}} {{#switch:{{lc:{{{Italic|}}}}}|1|true|yes=force-italic}}">{{{Text|}}}</span><noinclude>
<templatestyles src="TextAnimations/styles.css" /><span class="text-animation-container {{#switch:{{lc:{{{Wavy|}}}}}|1|true|yes=wavy}} {{#switch:{{lc:{{{Rainbow|}}}}}|1|true|yes=rainbow}} {{#switch:{{lc:{{{Glow|}}}}}|1|true|yes=force-glow}} {{#switch:{{lc:{{{Shadow|}}}}}|1|true|yes=force-shadow}} {{#switch:{{lc:{{{Bold|}}}}}|1|true|yes=force-bold}} {{#switch:{{lc:{{{Italic|}}}}}|1|true|yes=force-italic}}" style="{{#if:{{{Color|}}}|color: {{{Color|}}};}} {{#if:{{{Background|}}}|background-color: {{{Background|}}};}}">{{{Text|}}}</span><noinclude>
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"Text": {
        "Text": {
"label": "Text",
            "label": "Text",
"description": "The text you want to animate.",
            "type": "string",
"type": "string",
            "required": true
"required": true,
        },
"suggested": true
        "Wavy": {
},
            "label": "Wavy Animation",
"Wavy": {
            "type": "boolean",
"label": "Wavy Animation",
            "autovalue": "1",
"description": "Enable the vertical wave effect.",
            "default": "0"
"type": "boolean",
        },
"default": "0"
        "Rainbow": {
},
            "label": "Rainbow Effect",
"Rainbow": {
            "type": "boolean",
"label": "Rainbow Effect",
            "autovalue": "1",
"description": "Enable the shifting rainbow color effect.",
            "default": "0"
"type": "boolean",
        },
"default": "0"
        "Glow": {
},
            "label": "Glow Effect",
"Bold": {
            "description": "Adds a bright outer glow based on the text color.",
"label": "Bold",
            "type": "boolean",
"description": "Force the animated text to be bold.",
            "autovalue": "1",
"type": "boolean",
            "default": "0"
"default": "0"
        },
},
        "Shadow": {
"Italic": {
            "label": "Shadow Effect",
"label": "Italic",
            "description": "Adds a soft drop shadow to the text.",
"description": "Force the animated text to be italicized.",
            "type": "boolean",
"type": "boolean",
            "autovalue": "1",
"default": "0"
            "default": "0"
}
        },
},
        "Bold": {
"description": "Displays text with various animations and color effects.",
            "label": "Bold",
"format": "inline"
            "type": "boolean",
            "autovalue": "1",
            "default": "0"
        },
        "Italic": {
            "label": "Italic",
            "type": "boolean",
            "autovalue": "1",
            "default": "0"
        },
        "Color": {
            "label": "Text Color",
            "type": "string"
        },
        "Background": {
            "label": "Background Color",
            "type": "string"
        }
    },
    "description": "Displays text with various animations and color effects.",
    "format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:59, 16 March 2026

Displays text with various animations and color effects.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TextText

no description

Stringrequired
Wavy AnimationWavy

no description

Default
0
Auto value
1
Booleanoptional
Rainbow EffectRainbow

no description

Default
0
Auto value
1
Booleanoptional
Glow EffectGlow

Adds a bright outer glow based on the text color.

Default
0
Auto value
1
Booleanoptional
Shadow EffectShadow

Adds a soft drop shadow to the text.

Default
0
Auto value
1
Booleanoptional
BoldBold

no description

Default
0
Auto value
1
Booleanoptional
ItalicItalic

no description

Default
0
Auto value
1
Booleanoptional
Text ColorColor

no description

Stringoptional
Background ColorBackground

no description

Stringoptional