📌 Current mission: start filling the wiki — create pages, upload images, and join the Discord!
Template:Glow: Difference between revisions
From Asylum Wiki
Jump to navigationJump to search
m Protected "Template:Glow": High-use template — admin only ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Fix pulse class: parser trims leading space inside ifeq, fusing the class names |
||
| Line 1: | Line 1: | ||
<includeonly><span class="asy-glow{{#ifeq:{{{pulse|}}}|yes| asy-glow-pulse|}}" style="text-shadow: 0 0 3px {{{color|#3cff00}}}, 0 0 8px {{{color|#3cff00}}}, 0 0 14px {{{color|#3cff00}}};{{#if:{{{textcolor|}}}| color: {{{textcolor}}};|}}">{{{1|{{{text|}}}}}}</span></includeonly><noinclude> | <includeonly><span class="asy-glow {{#ifeq:{{{pulse|}}}|yes|asy-glow-pulse|}}" style="text-shadow: 0 0 3px {{{color|#3cff00}}}, 0 0 8px {{{color|#3cff00}}}, 0 0 14px {{{color|#3cff00}}};{{#if:{{{textcolor|}}}| color: {{{textcolor}}};|}}">{{{1|{{{text|}}}}}}</span></includeonly><noinclude> | ||
Glowing text, soyjak.wiki-style. Any CSS color works: hex codes like <code>#ff40c0</code> or names like <code>cyan</code>. | Glowing text, soyjak.wiki-style. Any CSS color works: hex codes like <code>#ff40c0</code> or names like <code>cyan</code>. | ||
Latest revision as of 19:48, 12 July 2026
Glowing text, soyjak.wiki-style. Any CSS color works: hex codes like #ff40c0 or names like cyan.
Examples:
{{Glow|a Gem}}→ a Gem{{Glow|hot pink glow|color=#ff40c0}}→ hot pink glow{{Glow|pulsing|color=cyan|pulse=yes}}→ pulsing{{Glow|glow + text color|color=#ffd700|textcolor=#b8860b}}→ glow + text color
Glowing text with a customizable glow color.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 text | no description | String | required |
| Glow color | color | Any CSS color (hex like #ff40c0, or a name like cyan)
| String | suggested |
| Text color | textcolor | Color of the letters themselves (optional) | String | optional |
| Pulse? | pulse | Set to yes for a pulsing animation | String | optional |