Jump to content

Template:TextAnimations: Difference between revisions

From FC1
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="TextAnimations/styles.css" /><span class="{{#switch:{{lc:{{{Wavy|}}}}}|1|true|yes=wavy}} {{#switch:{{lc:{{{Rainbow|}}}}}|1|true|yes=rainbow}}">
<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>
{{{Text|}}}
<templatedata>
</span><noinclude>
{
{{Documentation}}
"params": {
"Text": {
"label": "Text",
"description": "The text you want to animate.",
"type": "string",
"required": true,
"suggested": true
},
"Wavy": {
"label": "Wavy Animation",
"description": "Enable the vertical wave effect.",
"type": "boolean",
"default": "0"
},
"Rainbow": {
"label": "Rainbow Effect",
"description": "Enable the shifting rainbow color effect.",
"type": "boolean",
"default": "0"
},
"Bold": {
"label": "Bold",
"description": "Force the animated text to be bold.",
"type": "boolean",
"default": "0"
},
"Italic": {
"label": "Italic",
"description": "Force the animated text to be italicized.",
"type": "boolean",
"default": "0"
}
},
"description": "Displays text with various animations and color effects.",
"format": "inline"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 08:17, 14 March 2026

Displays text with various animations and color effects.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TextText

The text you want to animate.

Stringrequired
Wavy AnimationWavy

Enable the vertical wave effect.

Default
0
Booleanoptional
Rainbow EffectRainbow

Enable the shifting rainbow color effect.

Default
0
Booleanoptional
BoldBold

Force the animated text to be bold.

Default
0
Booleanoptional
ItalicItalic

Force the animated text to be italicized.

Default
0
Booleanoptional