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>
<includeonly>
<templatestyles src="Appearing Text Effect/styles.css" />
<templatestyles src="Appearing Text Effect/styles.css" />
<div class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}">
<span class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}">
<span
<span
class="appear-effect {{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}"
class="appear-effect {{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}"
Line 12: Line 12:
color: {{{color|#ffffff}}};
color: {{{color|#ffffff}}};
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}}}</span>
>{{{text|Insert Text Here}}}</span>
</div>
</span>
</includeonly>
</includeonly>

<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 94: Line 95:
}
}
</templatedata>
</templatedata>
{{Appearing Text Effect
| text=Are you seeing this?
| speed=4s
| delay=1s
| fadeout=yes
| repeat=infinite
| font=Cinzel
| fontsize=20px
| color=#DF0049
| glow=yes
| glowcolor=#DF0049
}}
</noinclude>
</noinclude>

Revision as of 02:02, April 15, 2025


Animates text to appear with optional delay, glow, fading, position, 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-citizen-serif)
Stringoptional
Font Sizefontsize

no description

Default
16px
Stringoptional
Glow Effectglow

yes or no

Default
yes
Stringoptional
Glow Colorglowcolor

no description

Default
#ccc
Stringoptional
Text Alignmentalign

left, center, right

Default
center
Stringoptional
Screen Positionposition

e.g. top: 10px; left: 100px;

Default
top: 0;
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