Template:TextAnimations: Difference between revisions
Appearance
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="{{#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|}}} | |||
</span><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "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> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 08:17, 14 March 2026
Displays text with various animations and color effects.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | Text | The text you want to animate. | String | required |
| Wavy Animation | Wavy | Enable the vertical wave effect.
| Boolean | optional |
| Rainbow Effect | Rainbow | Enable the shifting rainbow color effect.
| Boolean | optional |
| Bold | Bold | Force the animated text to be bold.
| Boolean | optional |
| Italic | Italic | Force the animated text to be italicized.
| Boolean | optional |