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: Reverted 2017 source edit
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Appearing Text Effect/styles.css" />
<templatestyles src="Emerging Animation/styles.css" />
<div class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}">
<div class="emerge-effect-wrapper emerge-{{{align|center}}}" style="{{{position|top: 0;}}}">
<span
<span
class="appear-effect {{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}"
class="emerge-effect {{#ifeq: {{{fadeout|no}}}|yes|emerge-fade}} {{#ifeq: {{{reverse|no}}}|yes|descend-motion}}"
style="
style="
animation-duration: {{{speed|2s}}};
animation-duration: {{{speed|2s}}};
Line 11: Line 11:
font-size: {{{fontsize|16px}}};
font-size: {{{fontsize|16px}}};
color: {{{color|#ffffff}}};
color: {{{color|#ffffff}}};
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;}}
"
"
Line 24: Line 23:
"label": "Text",
"label": "Text",
"type": "string",
"type": "string",
"default": "Insert Text Here",
"default": "Insert Text Here"
"description": "The content that appears"
},
},
"color": {
"color": {
Line 45: Line 43:
"label": "Glow Effect",
"label": "Glow Effect",
"type": "string",
"type": "string",
"default": "yes",
"default": "yes"
"description": "yes or no"
},
},
"glowcolor": {
"glowcolor": {
Line 63: Line 60:
"type": "string",
"type": "string",
"default": "top: 0;",
"default": "top: 0;",
"description": "e.g. top: 10px; left: 100px;"
"description": "CSS like top: 10px; left: 50%;"
},
},
"speed": {
"speed": {
"label": "Animation Speed",
"label": "Animation Speed",
"type": "string",
"type": "string",
"default": "2s",
"default": "2s"
"description": "How fast the appearance animation runs"
},
},
"delay": {
"delay": {
"label": "Delay",
"label": "Delay Before Start",
"type": "string",
"type": "string",
"default": "0s",
"default": "0s"
"description": "Time before animation starts"
},
},
"repeat": {
"repeat": {
"label": "Repeat Count",
"label": "Repeat Count",
"type": "string",
"type": "string",
"default": "1",
"default": "1"
"description": "e.g. 1, infinite"
},
},
"fadeout": {
"fadeout": {
"label": "Fade After Appear",
"label": "Fade Out After Emerge",
"type": "string",
"default": "no",
"description": "yes or no"
},
"reverse": {
"label": "Use Descending Effect",
"type": "string",
"type": "string",
"default": "no",
"default": "no",
"description": "yes to fade away after appearing"
"description": "yes to use a zoom-up instead of zoom-out"
}
}
},
},
"description": "Animates text to appear with optional delay, glow, fading, position, speed, and repeat.",
"description": "Displays text that emerges from the background into view with optional fading and direction control.",
"format": "inline"
"format": "inline"
}
}

Revision as of 15:21, April 1, 2025


Displays text that emerges from the background into view with optional fading and direction control.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Texttext

no description

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

no description

Default
yes
Stringoptional
Glow Colorglowcolor

no description

Default
#ccc
Stringoptional
Text Alignmentalign

left, center, right

Default
center
Stringoptional
Screen Positionposition

CSS like top: 10px; left: 50%;

Default
top: 0;
Stringoptional
Animation Speedspeed

no description

Default
2s
Stringoptional
Delay Before Startdelay

no description

Default
0s
Stringoptional
Repeat Countrepeat

no description

Default
1
Stringoptional
Fade Out After Emergefadeout

yes or no

Default
no
Stringoptional
Use Descending Effectreverse

yes to use a zoom-up instead of zoom-out

Default
no
Stringoptional

Page Template:Emerging Animation/styles.css has no content.

I appear and then fade.