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="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": { | |||
"Text": { | |||
"label": "Text", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Wavy": { | |||
"label": "Wavy Animation", | |||
"type": "boolean", | |||
"autovalue": "1", | |||
"default": "0" | |||
}, | |||
"Rainbow": { | |||
"label": "Rainbow Effect", | |||
"type": "boolean", | |||
"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": { | |||
"label": "Bold", | |||
"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.
| 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 |