Template:TextAnimations: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision 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}}" style="{{#if:{{{Color|}}}|color: {{{Color|}}};}} {{#if:{{{Background|}}}|background-color: {{{Background|}}};}}">{{{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> | ||
{ | { | ||
| Line 5: | Line 5: | ||
"Text": { | "Text": { | ||
"label": "Text", | "label": "Text", | ||
"type": "string", | "type": "string", | ||
"required | "required": true | ||
}, | }, | ||
"Wavy": { | "Wavy": { | ||
"label": "Wavy Animation", | "label": "Wavy Animation", | ||
"type": "boolean", | "type": "boolean", | ||
"default": " | "autovalue": "1", | ||
"default": "0" | |||
}, | |||
"Rainbow": { | "Rainbow": { | ||
"label": "Rainbow Effect", | "label": "Rainbow Effect", | ||
"type": "boolean", | "type": "boolean", | ||
"default": "1" | "autovalue": "1", | ||
"default": "0" | |||
}, | |||
"Glow": { | |||
"label": "Glow Effect", | |||
"description": "Adds a bright outer glow based on the text color.", | |||
"type": "boolean", | |||
"autovalue": "1", | |||
"default": "0" | |||
}, | |||
"Shadow": { | |||
"label": "Shadow Effect", | |||
"description": "Adds a soft drop shadow to the text.", | |||
"type": "boolean", | |||
"autovalue": "1", | |||
"default": "0" | |||
}, | }, | ||
"Bold": { | "Bold": { | ||
"label": "Bold", | "label": "Bold", | ||
"type": "boolean", | "type": "boolean", | ||
"default": " | "autovalue": "1", | ||
"default": "0" | |||
}, | }, | ||
"Italic": { | "Italic": { | ||
"label": "Italic", | "label": "Italic", | ||
"type": "boolean", | "type": "boolean", | ||
"default": " | "autovalue": "1", | ||
"default": "0" | |||
}, | }, | ||
"Color": { | "Color": { | ||
"label": "Text Color", | "label": "Text Color", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Background": { | "Background": { | ||
"label": "Background Color", | "label": "Background Color", | ||
"type": "string" | "type": "string" | ||
} | } | ||
Latest revision as of 18:59, 16 March 2026
Displays text with various animations and color effects.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | Text | no description | String | required |
| Wavy Animation | Wavy | no description
| Boolean | optional |
| Rainbow Effect | Rainbow | no description
| Boolean | optional |
| Glow Effect | Glow | Adds a bright outer glow based on the text color.
| Boolean | optional |
| Shadow Effect | Shadow | Adds a soft drop shadow to the text.
| Boolean | optional |
| Bold | Bold | no description
| Boolean | optional |
| Italic | Italic | no description
| Boolean | optional |
| Text Color | Color | no description | String | optional |
| Background Color | Background | no description | String | optional |