Template:Fading 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 2: | Line 2: | ||
<div style="text-align:{{{align|center}}}; font-family:{{{font|var(--font-family-serif)}}}; color:{{{color|#ffffff}}};"> |
<div style="text-align:{{{align|center}}}; font-family:{{{font|var(--font-family-serif)}}}; color:{{{color|#ffffff}}};"> |
||
{{#ifexpr: {{{lines|4}}} >= 1 | |
{{#ifexpr: {{{lines|4}}} >= 1 | |
||
<span style="display:block; font-size:{{{fontsize| |
<span style="display:block; font-size:{{{fontsize|16px}}}; margin-bottom:{{{spacing|5px}}}; opacity:1; {{#ifeq:{{{glow|yes}}}|yes|text-shadow:0 0 8px {{{glowcolor|white}}}, 0 0 12px {{{glowcolor|#ccc}}};|text-shadow:none;}}">{{{text|Insert Text Here}}}</span> |
||
}} |
}} |
||
{{#ifexpr: {{{lines|4}}} >= 2 | |
{{#ifexpr: {{{lines|4}}} >= 2 | |
||
<span style="display:block; font-size:{{{fontsize| |
<span style="display:block; font-size:{{{fontsize|16px}}}; margin-bottom:{{{spacing|5px}}}; opacity:0.6; {{#ifeq:{{{glow|yes}}}|yes|text-shadow:0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#aaa}}};|text-shadow:none;}}">{{{text|Insert Text Here}}}</span> |
||
}} |
}} |
||
{{#ifexpr: {{{lines|4}}} >= 3 | |
{{#ifexpr: {{{lines|4}}} >= 3 | |
||
<span style="display:block; font-size:{{{fontsize| |
<span style="display:block; font-size:{{{fontsize|16px}}}; margin-bottom:{{{spacing|5px}}}; opacity:0.3; {{#ifeq:{{{glow|yes}}}|yes|text-shadow:0 0 4px {{{glowcolor|white}}}, 0 0 6px {{{glowcolor|#888}}};|text-shadow:none;}}">{{{text|Insert Text Here}}}</span> |
||
}} |
}} |
||
{{#ifexpr: {{{lines|4}}} >= 4 | |
{{#ifexpr: {{{lines|4}}} >= 4 | |
||
<span style="display:block; font-size:{{{fontsize| |
<span style="display:block; font-size:{{{fontsize|16px}}}; margin-bottom:{{{spacing|5px}}}; opacity:0.1; {{#ifeq:{{{glow|yes}}}|yes|text-shadow:0 0 2px {{{glowcolor|white}}}, 0 0 4px {{{glowcolor|#666}}};|text-shadow:none;}}">{{{text|Insert Text Here}}}</span> |
||
}} |
}} |
||
</div> |
</div> |
||
| Line 51: | Line 51: | ||
}, |
}, |
||
"fontsize": { |
"fontsize": { |
||
"label": "Font Size", |
"label": "Font Size (in px)", |
||
"type": "string", |
"type": "string", |
||
"default": " |
"default": "16px" |
||
}, |
}, |
||
"spacing": { |
"spacing": { |
||
| Line 70: | Line 70: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
| ⚫ | |||
== Examples == |
|||
| ⚫ | |||
{{Fading Text Effect|text=I should be on the left (I also shouldn't be glowing)|color=blue|align=left|glow=no}} |
|||
{{Fading Text Effect|glow=yes|text=I should be on the right (also I should be glowing)|color=red|align=right}} |
|||
</noinclude> |
</noinclude> |
||
Revision as of 08:34, March 30, 2025
Displays fading text repeated several times with customizable glow, alignment, font, and spacing.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | text | no description
| String | optional |
| Color | color | no description
| String | optional |
| Font | font | no description
| String | optional |
| Text Alignment | align | no description
| String | optional |
| Glow | glow | no description
| String | optional |
| Glow Color | glowcolor | no description
| String | optional |
| Font Size (in px) | fontsize | no description
| String | optional |
| Line Spacing | spacing | no description
| String | optional |
| Number of Lines | lines | no description
| String | optional |
I should be in the center - with some goofy comic sans, and also I should be glowing I should be in the center - with some goofy comic sans, and also I should be glowing I should be in the center - with some goofy comic sans, and also I should be glowing I should be in the center - with some goofy comic sans, and also I should be glowing