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 |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
font-size: {{{size|24px}}}; |
font-size: {{{size|24px}}}; |
||
font-family: {{{font|var(--font-family-citizen-serif)}}}; |
font-family: {{{font|var(--font-family-citizen-serif)}}}; |
||
color: |
color: transparent; |
||
background-image: linear-gradient( |
|||
to right, |
|||
{{{shinecolor|#aaa}}} 20%, |
|||
#fff 40%, |
|||
{{{shinecolor|#aaa}}} 60% |
|||
| ⚫ | |||
animation-duration: {{{duration|2s}}}; |
animation-duration: {{{duration|2s}}}; |
||
animation-delay: {{{delay|0s}}}; |
animation-delay: {{{delay|0s}}}; |
||
| Line 12: | Line 18: | ||
{{#ifeq: {{{glow|yes}}}|yes| |
{{#ifeq: {{{glow|yes}}}|yes| |
||
text-shadow: |
text-shadow: |
||
0 0 {{{ |
0 0 {{{shineintensity|6px}}} {{{shinecolor|#ffffff}}}, |
||
0 0 calc({{{ |
0 0 calc({{{shineintensity|6px}}} * 2) {{{shinecolor|#cccccc}}}; |
||
|text-shadow: none;}} |
|text-shadow: none;}} |
||
" |
" |
||
| Line 46: | Line 52: | ||
"description": "Font to use for the text" |
"description": "Font to use for the text" |
||
}, |
}, |
||
" |
"shinecolor": { |
||
"label": " |
"label": "Shine Color", |
||
"type": "string", |
"type": "string", |
||
"default": " |
"default": "#aaa", |
||
"description": "Color |
"description": "Color used in the animated shine effect" |
||
}, |
}, |
||
"glow": { |
"glow": { |
||
"label": " |
"label": "Enable Shine Glow", |
||
"type": "string", |
"type": "string", |
||
"default": "yes", |
"default": "yes", |
||
"description": "yes or no" |
"description": "yes or no" |
||
}, |
}, |
||
" |
"shineintensity": { |
||
"label": " |
"label": "Shine Intensity", |
||
"type": "string", |
|||
"default": "#cccccc", |
|||
"description": "Color of the glow if enabled" |
|||
| ⚫ | |||
"glowintensity": { |
|||
"label": "Glow Intensity", |
|||
"type": "string", |
"type": "string", |
||
"default": "6px", |
"default": "6px", |
||
"description": "How strong the glow appears (e.g. 4px, 10px)" |
"description": "How strong the shine glow appears (e.g. 4px, 10px)" |
||
}, |
}, |
||
"duration": { |
"duration": { |
||
| Line 89: | Line 89: | ||
} |
} |
||
}, |
}, |
||
"description": "Applies an animated metallic shine effect to inline text with |
"description": "Applies an animated metallic shine effect to inline text, with customizable shine color, glow intensity, font, and animation settings. Fully compatible with MediaWiki.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
{{Metallic Shine Effect|shinecolor=Blue|duration=5s|text=KINGDOM HEARTS!!!!! FILL ME WITH THE POWER OF DARKNESS.......SUPREME DAAAAARRRRKKKKKNEESSSS~}} |
|||
{{Metallic Shine Effect |
|||
|text=Shiny shiny shine |
|||
|align=center |
|||
|size=28px |
|||
|font=var(--font-family-citizen-serif) |
|||
|color=#111 |
|||
|glow=yes |
|||
|glowcolor=#ffffff |
|||
|glowintensity=10px |
|||
|duration=1.5s |
|||
|delay=0s |
|||
|repeat=infinite |
|||
}} |
|||
{{Metallic Shine Effect |
|||
|text=Shiny shiny shine |
|||
|align=left |
|||
|size=32px |
|||
|font=var(--font-family-citizen-base) |
|||
|color=#000 |
|||
|glow=yes |
|||
|glowcolor=#ff69b4 |
|||
|glowintensity=12px |
|||
|duration=2.5s |
|||
|delay=0.5s |
|||
|repeat=infinite |
|||
}} |
|||
{{Metallic Shine Effect |
|||
|text=Shiny shiny shine |
|||
|align=right |
|||
|size=30px |
|||
|font='JetBrains Mono', monospace |
|||
|color=#002244 |
|||
|glow=yes |
|||
|glowcolor=#00e5ff |
|||
|glowintensity=8px |
|||
|duration=3s |
|||
|delay=0.2s |
|||
|repeat=infinite |
|||
}} |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 03:45, April 17, 2025
Applies an animated metallic shine effect to inline text, with customizable shine color, glow intensity, font, and animation settings. Fully compatible with MediaWiki.
| 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 |
| Shine Color | shinecolor | Color used in the animated shine effect
| String | optional |
| Enable Shine Glow | glow | yes or no
| String | optional |
| Shine Intensity | shineintensity | How strong the shine 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 |