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 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<div |
<div style=" |
||
display: flex; |
|||
| ⚫ | |||
align-items: center; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
margin: 1.5em 0; |
|||
| ⚫ | |||
font-size: 1.4em; |
font-size: 1.4em; |
||
| ⚫ | |||
| ⚫ | |||
{{#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;}} |
||
"> |
"> |
||
<span style="flex-grow: 1; border-top: 2px solid {{{color|#ffffff}}}; opacity: 0.7;"></span> |
|||
⸻⸻⸻⸻ |
|||
<span> |
|||
{{#if: {{{image|}}} |
|||
{{#if: {{{image|}}} |
|||
| [[File:{{{image}}}|{{{imagesize|32px}}}|baseline]] |
|||
| ✦ |
| ✦ |
||
}} |
}} |
||
⸻⸻⸻⸻ |
|||
</span> |
|||
<span style="flex-grow: 1; border-top: 2px solid {{{color|#ffffff}}}; opacity: 0.7;"></span> |
|||
</div> |
</div> |
||
</includeonly> |
</includeonly> |
||
| Line 22: | Line 27: | ||
"params": { |
"params": { |
||
"color": { |
"color": { |
||
"label": "Text Color", |
"label": "Line and Text Color", |
||
"type": "string", |
"type": "string", |
||
"default": "#ffffff" |
"default": "#ffffff" |
||
| Line 30: | Line 35: | ||
"type": "string", |
"type": "string", |
||
"default": "yes", |
"default": "yes", |
||
"description": " |
"description": "yes or no for glowing lines and center text" |
||
}, |
}, |
||
"glowcolor": { |
"glowcolor": { |
||
"label": "Glow Color", |
"label": "Glow Color", |
||
"type": "string", |
"type": "string", |
||
"default": "#ccc" |
"default": "#ccc" |
||
"description": "Color of the glow (if enabled)" |
|||
}, |
}, |
||
"align": { |
"align": { |
||
"label": " |
"label": "Alignment", |
||
"type": "string", |
"type": "string", |
||
"default": "center", |
"default": "center", |
||
| Line 45: | Line 49: | ||
}, |
}, |
||
"image": { |
"image": { |
||
"label": " |
"label": "Center Image", |
||
"type": "string", |
"type": "string", |
||
"description": "Image to |
"description": "Image to use instead of ✦ (no formatting needed)" |
||
}, |
}, |
||
"imagesize": { |
"imagesize": { |
||
| Line 53: | Line 57: | ||
"type": "string", |
"type": "string", |
||
"default": "32px", |
"default": "32px", |
||
"description": "Size of |
"description": "Size of the image (e.g., 24px, 40px)" |
||
} |
} |
||
}, |
}, |
||
"description": "A |
"description": "A centered scene or section break with lines and an optional image in the center.", |
||
"format": "inline" |
"format": "inline" |
||
} |
} |
||
Revision as of 14:50, April 2, 2025
A centered scene or section break with lines and an optional image in the center.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Line and Text Color | color | no description
| String | optional |
| Glow Effect | glow | yes or no for glowing lines and center text
| String | optional |
| Glow Color | glowcolor | no description
| String | optional |
| Alignment | align | left, center, or right
| String | optional |
| Center Image | image | Image to use instead of ✦ (no formatting needed) | String | optional |
| Image Size | imagesize | Size of the image (e.g., 24px, 40px)
| String | optional |