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: | ||
<div class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}"> |
<div class="appear-effect-wrapper appear-{{{align|center}}}" style="{{{position|top: 0;}}}"> |
||
<span |
<span |
||
class="appear-effect" |
class="appear-effect {{#ifeq: {{{fadeout|yes}}}|yes|fade-away}}" |
||
style=" |
style=" |
||
animation-duration: {{{speed|2s}}}; |
animation-duration: {{{speed|2s}}}; |
||
| Line 21: | Line 21: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"text": { |
|||
| ⚫ | |||
"label": "Text", |
|||
"type": "string", |
|||
| ⚫ | |||
"fontsize": { "label": "Font Size", "type": "string", "default": "16px" }, |
|||
"description": "The content that appears" |
|||
"glow": { "label": "Glow Effect", "type": "string", "default": "yes" }, |
|||
}, |
|||
"glowcolor": { "label": "Glow Color", "type": "string", "default": "#ccc" }, |
|||
"color": { |
|||
"align": { "label": "Text Alignment", "type": "string", "default": "center" }, |
|||
"label": "Text Color", |
|||
"type": "string", |
|||
"default": "#ffffff" |
|||
}, |
|||
"repeat": { "label": "Repeat Count", "type": "string", "default": "1" } |
|||
"font": { |
|||
"label": "Font Family", |
|||
"type": "string", |
|||
"default": "var(--font-family-citizen-serif)" |
|||
}, |
|||
"fontsize": { |
|||
"label": "Font Size", |
|||
"type": "string", |
|||
"default": "16px" |
|||
}, |
|||
"glow": { |
|||
"label": "Glow Effect", |
|||
"type": "string", |
|||
"default": "yes", |
|||
"description": "yes or no" |
|||
}, |
|||
"glowcolor": { |
|||
"label": "Glow Color", |
|||
"type": "string", |
|||
"default": "#ccc" |
|||
}, |
|||
"align": { |
|||
"label": "Text Alignment", |
|||
"type": "string", |
|||
"default": "center", |
|||
"description": "left, center, right" |
|||
}, |
|||
"position": { |
|||
"label": "Screen Position", |
|||
"type": "string", |
|||
"default": "top: 0;", |
|||
"description": "e.g. top: 10px; left: 100px;" |
|||
}, |
|||
"speed": { |
|||
"label": "Animation Speed", |
|||
"type": "string", |
|||
"default": "2s", |
|||
"description": "How fast the appearance animation runs" |
|||
}, |
|||
"delay": { |
|||
"label": "Delay", |
|||
"type": "string", |
|||
"default": "0s", |
|||
"description": "Time before animation starts" |
|||
}, |
|||
"repeat": { |
|||
"label": "Repeat Count", |
|||
"type": "string", |
|||
"default": "1", |
|||
"description": "e.g. 1, infinite" |
|||
}, |
|||
"fadeout": { |
|||
"label": "Fade After Appear", |
|||
"type": "string", |
|||
"default": "no", |
|||
"description": "yes to fade away after appearing" |
|||
} |
|||
}, |
}, |
||
"description": " |
"description": "Animates text to appear with optional delay, glow, fading, position, speed, and repeat.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
{{Appearing Text Effect |
{{Appearing Text Effect |
||
| text=I appear and then fade. |
|||
| speed=2s |
|||
| delay=1s |
|||
| fadeout=yes |
|||
| repeat=infinite |
|||
| font=Cinzel |
|||
| fontsize=20px |
|||
| color=#ffcc00 |
|||
| glow=yes |
|||
| glowcolor=#ffee88 |
|||
}} |
|||
</noinclude> |
</noinclude> |
||
Revision as of 15:11, April 1, 2025
Animates text to appear with optional delay, glow, fading, position, 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 |
I appear and then fade.