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
Tags: Reverted 2017 source edit
No edit summary
Tags: Reverted 2017 source edit
Line 1: Line 1:
<includeonly><templatestyles src="Appearing Text Effect/styles.css"/><span class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}"><span
<includeonly>
<templatestyles src="Appearing Text Effect/styles.css" />
<span class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}">
<span
class="appear-effect
class="appear-effect
{{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}
{{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}
Line 20: Line 17:
{{#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></span></includeonly><noinclude>
</span>
</includeonly>

<noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 06:27, April 16, 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-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
Fade Directionfadefrom

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

Default
center
Stringoptional

Wow Oh mama Can you believe this shit?