Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Hr with image: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
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|100px}}}|center]]
| [[File:{{{image}}}|{{{imagesize|32px}}}|baseline]]
| ⸻⸻⸻⸻ ⸻⸻⸻⸻
| ✦
}}
}}
⸻⸻⸻⸻
</div>
</div>
</includeonly>
</includeonly>
Line 28: Line 30:
"type": "string",
"type": "string",
"default": "yes",
"default": "yes",
"description": "Use glow? (yes/no)"
"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 Filename",
"label": "Image Name",
"type": "string",
"type": "string",
"description": "Optional: show an image instead of the divider"
"description": "Image to appear in place of the "
},
},
"imagesize": {
"imagesize": {
"label": "Image Size",
"label": "Image Size",
"type": "string",
"type": "string",
"default": "100px",
"default": "32px",
"description": "Size of the image if used"
"description": "Size of image if one is used"
}
}
},
},
"description": "Inserts a centered scene break with customizable glow, color, alignment, and optional image replacement.",
"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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text Colorcolor

no description

Default
#ffffff
Stringoptional
Glow Effectglow

Enable glow around text (yes/no)

Default
yes
Stringoptional
Glow Colorglowcolor

Color of the glow (if enabled)

Default
#ccc
Stringoptional
Text Alignmentalign

left, center, or right

Default
center
Stringoptional
Image Nameimage

Image to appear in place of the ✦

Stringoptional
Image Sizeimagesize

Size of image if one is used

Default
32px
Stringoptional
 ⸻⸻⸻⸻ 
 
 ⸻⸻⸻⸻