Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Appearing Text Effect: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tags: Manual revert 2017 source edit
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Appearing Text Effect/styles.css"/><div class="appear-effect-wrapper"><div class="appear-effect {{yesno|{{yesno-yes|{{{fadeout|}}}}}|yes=fade-away}} {{#switch: {{{fadefrom|center}}}|left=fade-ltr|right=fade-rtl|center=fade-center}} position-{{{position|{{{align|center}}}}}}" style="
<includeonly><templatestyles src="Appearing Text Effect/styles.css"/><div class="appear-effect {{yesno|{{yesno-no|{{{fadeout|}}}}}|yes=fade-away}} fade-{{{fadefrom|center}}} position-{{{position|{{{align|center}}}}}}" style="
animation-duration: {{{speed|2s}}};
animation-duration: {{{speed|2s}}};
animation-delay: {{{delay|0s}}};
animation-delay: {{{delay|0s}}};
Line 6: Line 6:
font-size: {{{fontsize|16px}}};
font-size: {{{fontsize|16px}}};
color: {{{color|#ffffff}}};
color: {{{color|#ffffff}}};
{{yesno|{{yesno-yes|{{{glow|}}}}}|yes=text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}};|text-shadow: none;}}
opacity: 0;
">{{{text|Insert Text Here}}}</div></includeonly><noinclude>
{{#ifeq: {{{glow|yes}}}|yes|text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}};|text-shadow: none;}}
">{{{text|Insert Text Here}}}</div></div></includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 35: Line 34:
"glow": {
"glow": {
"label": "Glow Effect",
"label": "Glow Effect",
"type": "string",
"type": "boolean",
"default": "yes",
"default": "true"
"description": "yes or no"
},
},
"glowcolor": {
"glowcolor": {
Line 60: Line 58:
"type": "string",
"type": "string",
"default": "1",
"default": "1",
"description": "e.g. 1, infinite"
"example": "infinite"
},
},
"fadeout": {
"fadeout": {
"label": "Fade After Appear",
"label": "Fade After Appear",
"type": "string",
"type": "boolean",
"default": "no",
"default": "false",
"description": "yes to fade away after appearing"
"description": "To fade away after appearing"
},
},
"fadefrom": {
"fadefrom": {
Line 74: Line 72:
"description": "Direction of fade: center, left (left-to-right), or right (right-to-left)"
"description": "Direction of fade: center, left (left-to-right), or right (right-to-left)"
},
},
"position": {}
"position": {
"label": "Position",
"type": "string",
"default": "center"
}
},
},
"description": "Animates text to appear with optional delay, glow, fading, position, direction, speed, and repeat.",
"description": "Animates text to appear with optional delay, glow, fading, position, direction, speed, and repeat.",

Latest revision as of 04:09, September 18, 2025

Animates text to appear with optional delay, glow, fading, position, direction, speed, and repeat.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Texttext

The content that appears

Default
Insert Text Here
Stringoptional
Text Colorcolor

no description

Default
#ffffff
Stringoptional
Font Familyfont

no description

Default
var(--font-family-serif)
Stringoptional
Font Sizefontsize

no description

Default
16px
Stringoptional
Glow Effectglow

no description

Default
true
Booleanoptional
Glow Colorglowcolor

no description

Default
#ccc
Stringoptional
Animation Speedspeed

How fast the appearance animation runs

Default
2s
Stringoptional
Delaydelay

Time before animation starts

Default
0s
Stringoptional
Repeat Countrepeat

no description

Default
1
Example
infinite
Stringoptional
Fade After Appearfadeout

To fade away after appearing

Default
false
Booleanoptional
Fade Directionfadefrom

Direction of fade: center, left (left-to-right), or right (right-to-left)

Default
center
Stringoptional
Positionposition

no description

Default
center
Stringoptional
Wow
Oh mama
Can you believe this shit?