Template:Hr with image: 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 8: | Line 8: | ||
{{#ifeq: {{{glow|yes}}} | yes | text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}}; | text-shadow: none;}} |
{{#ifeq: {{{glow|yes}}} | yes | text-shadow: 0 0 6px {{{glowcolor|white}}}, 0 0 10px {{{glowcolor|#ccc}}}; | text-shadow: none;}} |
||
"> |
"> |
||
⸻⸻⸻⸻ |
|||
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
||
| [[File:{{{image}}}|{{{imagesize| |
| [[File:{{{image}}}|{{{imagesize|32px}}}|baseline]] |
||
| |
| ✦ |
||
}} |
}} |
||
⸻⸻⸻⸻ |
|||
</div> |
</div> |
||
</includeonly> |
</includeonly> |
||
| Line 28: | Line 30: | ||
"type": "string", |
"type": "string", |
||
"default": "yes", |
"default": "yes", |
||
"description": " |
"description": "Enable glow around text (yes/no)" |
||
}, |
}, |
||
"glowcolor": { |
"glowcolor": { |
||
| Line 34: | Line 36: | ||
"type": "string", |
"type": "string", |
||
"default": "#ccc", |
"default": "#ccc", |
||
"description": "Color of glow (if enabled)" |
"description": "Color of the glow (if enabled)" |
||
}, |
}, |
||
"align": { |
"align": { |
||
| Line 43: | Line 45: | ||
}, |
}, |
||
"image": { |
"image": { |
||
"label": "Image |
"label": "Image Name", |
||
"type": "string", |
"type": "string", |
||
"description": " |
"description": "Image to appear in place of the ✦" |
||
}, |
}, |
||
"imagesize": { |
"imagesize": { |
||
"label": "Image Size", |
"label": "Image Size", |
||
"type": "string", |
"type": "string", |
||
"default": " |
"default": "32px", |
||
"description": "Size of |
"description": "Size of image if one is used" |
||
} |
} |
||
}, |
}, |
||
"description": " |
"description": "A stylish line-based scene break with optional image replacing the center star.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
Revision as of 14:38, April 2, 2025
A stylish line-based scene break with optional image replacing the center star.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text Color | color | no description
| String | optional |
| Glow Effect | glow | Enable glow around text (yes/no)
| String | optional |
| Glow Color | glowcolor | Color of the glow (if enabled)
| String | optional |
| Text Alignment | align | left, center, or right
| String | optional |
| Image Name | image | Image to appear in place of the ✦ | String | optional |
| Image Size | imagesize | Size of image if one is used
| String | optional |