Template:Appearing Text Effect: Difference between revisions
Template page
More actions
Content deleted Content added
LordSkorne7 (talk | contribs) No edit summary Tag: 2017 source edit |
LordSkorne7 (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 3: | Line 3: | ||
<span 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}} |
|||
| ⚫ | |||
{{#switch: {{{fadefrom|center}}} |
|||
| left = fade-ltr |
|||
| ⚫ | |||
| right = fade-rtl |
|||
| ⚫ | |||
| center = fade-center |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
animation-duration: {{{speed|2s}}}; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
" |
|||
| ⚫ | |||
</span> |
</span> |
||
</includeonly> |
</includeonly> |
||
| Line 89: | Line 95: | ||
"default": "no", |
"default": "no", |
||
"description": "yes to fade away after appearing" |
"description": "yes to fade away after appearing" |
||
}, |
|||
"fadefrom": { |
|||
"label": "Fade Direction", |
|||
"type": "string", |
|||
"default": "center", |
|||
"description": "Direction of fade: center, left (left-to-right), or right (right-to-left)" |
|||
} |
} |
||
}, |
}, |
||
"description": "Animates text to appear with optional delay, glow, fading, position, speed, and repeat.", |
"description": "Animates text to appear with optional delay, glow, fading, position, direction, speed, and repeat.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
{{Appearing Text Effect|text=wwwwwwwwwww|repeat=infinite|fadeout=yes}} |
|||
</noinclude> |
</noinclude> |
||
Revision as of 05:43, April 16, 2025
Animates text to appear with optional delay, glow, fading, position, direction, speed, and repeat.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | text | The content that appears
| String | optional |
| Text Color | color | no description
| String | optional |
| Font Family | font | no description
| String | optional |
| Font Size | fontsize | no description
| String | optional |
| Glow Effect | glow | yes or no
| String | optional |
| Glow Color | glowcolor | no description
| String | optional |
| Text Alignment | align | left, center, right
| String | optional |
| Screen Position | position | e.g. top: 10px; left: 100px;
| String | optional |
| Animation Speed | speed | How fast the appearance animation runs
| String | optional |
| Delay | delay | Time before animation starts
| String | optional |
| Repeat Count | repeat | e.g. 1, infinite
| String | optional |
| Fade After Appear | fadeout | yes to fade away after appearing
| String | optional |
| Fade Direction | fadefrom | Direction of fade: center, left (left-to-right), or right (right-to-left)
| String | optional |