Jump to content

Template:TextAnimations: Difference between revisions

From FC1
No edit summary
No edit summary
 
(5 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:{{{Pulse|}}}}}|1|true|yes=pulse}} {{#switch:{{lc:{{{Jolt|}}}}}|1|true|yes=jolt}} {{#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",
"description": "The text you want to animate.",
"type": "string",
"type": "string",
"required": true,
"required": true
"suggested": true
},
},
"Wavy": {
"Wavy": {
"label": "Wavy Animation",
"label": "Wavy Animation",
"description": "Enable the vertical wave effect.",
"type": "boolean",
"type": "boolean",
"autovalue": "1",
"default": "0",
"description": "Makes a wave go through the text, up and down."
},
"Rainbow": {
"label": "Rainbow Animation",
"type": "boolean",
"autovalue": "1",
"default": "0",
"description": "Makes the colors of the rainbow run through the text."
},
"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"
},
"Pulse": {
"label": "Pulse Animation",
"description": "Makes the text pulse dimmer and brighter in a loop.",
"type": "boolean",
"autovalue": "1",
"default": "0"
"default": "0"
},
},
"Rainbow": {
"Jolt": {
"label": "Rainbow Effect",
"label": "Wiggle Animation",
"description": "Enable the shifting rainbow color effect.",
"description": "Makes all letters wiggle.",
"type": "boolean",
"type": "boolean",
"autovalue": "1",
"default": "0"
"default": "0"
},
},
"Bold": {
"Bold": {
"label": "Bold",
"label": "Bold",
"description": "Force the animated text to be bold.",
"type": "boolean",
"type": "boolean",
"default": "0"
"autovalue": "1",
"default": "0",
"description": "Makes text bold, to be used in combination with other effects as you can't style these templated texts normally."
},
},
"Italic": {
"Italic": {
"label": "Italic",
"label": "Italic",
"description": "Force the animated text to be italicized.",
"type": "boolean",
"type": "boolean",
"default": "0"
"autovalue": "1",
"default": "0",
"description": "Makes text italic, to be used in combination with other effects as you can't style these templated texts normally."
},
"Color": {
"label": "Text Color",
"type": "string",
"description": "Uses html color names or hex codes.",
"example": "https://www.w3schools.com/tags/ref_colornames.asp"
},
"Background": {
"label": "Background Color",
"type": "string",
"description": "Uses html color names or hex codes.",
"example": "https://www.w3schools.com/tags/ref_colornames.asp"
}
}
},
},
"description": "Displays text with various animations and color effects.",
"description": "Displays text with various animations and color effects.",
"format": "inline"
"format": "inline",
"paramOrder": [
"Text",
"Color",
"Background",
"Glow",
"Shadow",
"Wavy",
"Rainbow",
"Pulse",
"Jolt",
"Bold",
"Italic"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 11:52, 18 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
Text ColorColor

Uses html color names or hex codes.

Example
https://www.w3schools.com/tags/ref_colornames.asp
Stringoptional
Background ColorBackground

Uses html color names or hex codes.

Example
https://www.w3schools.com/tags/ref_colornames.asp
Stringoptional
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
Wavy AnimationWavy

Makes a wave go through the text, up and down.

Default
0
Auto value
1
Booleanoptional
Rainbow AnimationRainbow

Makes the colors of the rainbow run through the text.

Default
0
Auto value
1
Booleanoptional
Pulse AnimationPulse

Makes the text pulse dimmer and brighter in a loop.

Default
0
Auto value
1
Booleanoptional
Wiggle AnimationJolt

Makes all letters wiggle.

Default
0
Auto value
1
Booleanoptional
BoldBold

Makes text bold, to be used in combination with other effects as you can't style these templated texts normally.

Default
0
Auto value
1
Booleanoptional
ItalicItalic

Makes text italic, to be used in combination with other effects as you can't style these templated texts normally.

Default
0
Auto value
1
Booleanoptional