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
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><templatestyles src="Appearing Text Effect/styles.css"/><div class="appear-effect {{yesno|{{yesno-yes|{{{fadeout|}}}}}|yes=fade-away}} {{#switch: {{{fadefrom|center}}}|left=fade-ltr|right=fade-rtl|center=fade-center}} align-{{{align|{{{position|center}}}}}}" style="
<includeonly><templatestyles src="Appearing Text Effect/styles.css"/><div class="appear-effect-wrapper position-{{{position|{{{align|center}}}}}}"><div class="appear-effect {{yesno|{{yesno-yes|{{{fadeout|}}}}}|yes=fade-away}} {{#switch: {{{fadefrom|center}}}|left=fade-ltr|right=fade-rtl|center=fade-center}}" style="
animation-duration: {{{speed|2s}}};
animation-duration: {{{speed|2s}}};
animation-delay: {{{delay|0s}}};
animation-delay: {{{delay|0s}}};
Line 8: Line 8:
opacity: 0;
opacity: 0;
{{#ifeq: {{{glow|yes}}}|yes|text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}};|text-shadow: none;}}
{{#ifeq: {{{glow|yes}}}|yes|text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}};|text-shadow: none;}}
">{{{text|Insert Text Here}}}</div></includeonly><noinclude>
">{{{text|Insert Text Here}}}</div></div></includeonly><noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 15:55, April 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

yes or no

Default
yes
Stringoptional
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

e.g. 1, infinite

Default
1
Stringoptional
Fade After Appearfadeout

yes to fade away after appearing

Default
no
Stringoptional
Fade Directionfadefrom

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

Default
center
Stringoptional
positionposition

no description

Unknownoptional
Wow
Oh mama
Can you believe this shit?