Template:Metallic Shine 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 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<templatestyles src="Metallic Shine |
<templatestyles src="Metallic Shine/styles.css" /> |
||
<span |
<span |
||
class="metallic-shine-text shiny-{{{align|center}}}" |
class="metallic-shine-text shiny-{{{align|center}}}" |
||
| Line 10: | Line 10: | ||
animation-delay: {{{delay|0s}}}; |
animation-delay: {{{delay|0s}}}; |
||
animation-iteration-count: {{{repeat|infinite}}}; |
animation-iteration-count: {{{repeat|infinite}}}; |
||
{{#ifeq: {{{glow|yes}}}|yes| |
{{#ifeq: {{{glow|yes}}}|yes| |
||
text-shadow: |
|||
0 0 {{{glowintensity|6px}}} {{{glowcolor|#ffffff}}}, |
|||
0 0 calc({{{glowintensity|6px}}} * 2) {{{glowcolor|#cccccc}}}; |
|||
|text-shadow: none;}} |
|||
" |
" |
||
>{{{text|Shiny Text}}}</span> |
>{{{text|Shiny Text}}}</span> |
||
| Line 57: | Line 61: | ||
"label": "Glow Color", |
"label": "Glow Color", |
||
"type": "string", |
"type": "string", |
||
"default": "# |
"default": "#cccccc", |
||
"description": "Color of the glow if enabled" |
"description": "Color of the glow if enabled" |
||
}, |
|||
"glowintensity": { |
|||
"label": "Glow Intensity", |
|||
"type": "string", |
|||
"default": "6px", |
|||
"description": "How strong the glow appears (e.g. 4px, 10px)" |
|||
}, |
}, |
||
"duration": { |
"duration": { |
||
| Line 79: | Line 89: | ||
} |
} |
||
}, |
}, |
||
"description": "Applies an animated metallic shine effect to inline text with |
"description": "Applies an animated metallic shine effect to inline text with options for glow color, intensity, size, font, color, duration, delay, and repeat.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
<!-- Left to Right (default), serif font, medium glow --> |
|||
{{Metallic Shine |
|||
| text = Shiny shiny shine |
|||
| align = center |
|||
| font = var(--font-family-citizen-serif) |
|||
| size = 28px |
|||
| color = transparent |
|||
| glow = yes |
|||
| glowcolor = #ffccff |
|||
| glowintensity = 8px |
|||
| duration = 3s |
|||
| delay = 0s |
|||
| repeat = infinite |
|||
}} |
|||
<span class="metallic-shine-text shiny-center" style=" |
|||
font-family: 'JetBrains Mono'; |
|||
font-size: 26px; |
|||
animation-direction: reverse; |
|||
animation-duration: 4s; |
|||
animation-delay: 0.5s; |
|||
animation-iteration-count: infinite; |
|||
text-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff; |
|||
">Shiny shiny shine</span> |
|||
{{Metallic Shine |
|||
| text = Shiny shiny shine |
|||
| align = right |
|||
| font = var(--font-family-citizen-monospace) |
|||
| size = 32px |
|||
| color = transparent |
|||
| glow = yes |
|||
| glowcolor = #00ffff |
|||
| glowintensity = 4px |
|||
| duration = 1.2s |
|||
| delay = 0s |
|||
| repeat = infinite |
|||
}} |
|||
{{Metallic Shine |
|||
| text = Shiny shiny shine |
|||
| align = left |
|||
| font = 'Cinzel' |
|||
| size = 30px |
|||
| color = transparent |
|||
| glow = yes |
|||
| glowcolor = #ff69b4 |
|||
| glowintensity = 10px |
|||
| duration = 5s |
|||
| delay = 1s |
|||
| repeat = infinite |
|||
}} |
|||
</noinclude> |
</noinclude> |
||
Revision as of 14:53, April 16, 2025
Applies an animated metallic shine effect to inline text with options for glow color, intensity, size, font, color, duration, delay, and repeat.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | text | no description
| String | optional |
| Text Alignment | align | left, center, or right
| String | optional |
| Font Size | size | Font size (e.g. 24px)
| String | optional |
| Font Family | font | Font to use for the text
| String | optional |
| Text Color | color | Color of the base text (transparent recommended for full shine)
| String | optional |
| Glow Effect | glow | yes or no
| String | optional |
| Glow Color | glowcolor | Color of the glow if enabled
| String | optional |
| Glow Intensity | glowintensity | How strong the glow appears (e.g. 4px, 10px)
| String | optional |
| Animation Duration | duration | Time for one full shine cycle
| String | optional |
| Animation Delay | delay | Delay before the shine animation starts
| String | optional |
| Repeat Count | repeat | Number of times the animation should repeat (e.g. 1, infinite)
| String | optional |
Template:Metallic Shine Template:Metallic Shine Template:Metallic Shine