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 1: Line 1:
<includeonly>
<includeonly>
<span style="display: block; text-align:{{{align|center}}}; font-size: 1.4em; color: {{{color|#df0049}}}; {{#ifeq:{{{glow|yes}}}|yes|text-shadow: 0 0 6px {{{glowcolor|#df0049}}}, 0 0 12px {{{glowcolor|#df0049}}}; | text-shadow: none;}}">
<span style="display: block; text-align:{{{align|center}}}; font-size: 1.4em; color: {{{color|#df0049}}}; {{#ifeq:{{{glow|yes}}}|yes|text-shadow: 0 0 6px {{{glowcolor|#df0049}}}, 0 0 12px {{{glowcolor|#df0049}}}; | text-shadow: none;}}">
<span style="color: {{{color|#df0049}}};">{{{linewidth|⸻⸻⸻⸻}}}</span>
<span style="color: {{{color|#df0049}}};">{{{lineleft|⸻⸻⸻}}}</span>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| ✦
| ✦
}}
}}
<span style="color: {{{color|#df0049}}};">{{{linewidth|⸻⸻⸻⸻}}}</span>
<span style="color: {{{color|#df0049}}};">{{{lineright|⸻⸻⸻}}}</span>
</span>
</span>
</includeonly>
</includeonly>
Line 46: Line 46:
"default": "30px"
"default": "30px"
},
},
"linewidth": {
"lineleft": {
"label": "Line Characters",
"label": "Left Line",
"type": "string",
"type": "string",
"default": "⸻⸻⸻⸻",
"default": "⸻⸻⸻",
"description": "Customize the width of the horizontal lines using characters like — or "
"description": "Custom characters for the left part of the line"
},
"lineright": {
"label": "Right Line",
"type": "string",
"default": "⸻⸻⸻",
"description": "Custom characters for the right part of the line"
}
}
},
},
"description": "Creates a styled scene/section break using glowing horizontal lines and a centered icon or image. Fully customizable.",
"description": "Creates a styled section break using glowing lines and a center icon or image. You can now fully customize the length of each line side.",
"format": "inline"
"format": "inline"
}
}

Revision as of 15:37, April 2, 2025


Creates a styled section break using glowing lines and a center icon or image. You can now fully customize the length of each line side.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Line & Icon Colorcolor

no description

Default
#df0049
Stringoptional
Glow Effectglow

yes or no to apply glow around the line and icon

Default
yes
Stringoptional
Glow Colorglowcolor

no description

Default
#df0049
Stringoptional
Alignmentalign

Choose left, center, or right alignment

Default
center
Stringoptional
Image in Centerimage

Replaces the ✦ with an image (provide filename)

Stringoptional
Image Sizeimagesize

no description

Default
30px
Stringoptional
Left Linelineleft

Custom characters for the left part of the line

Default
⸻⸻⸻
Stringoptional
Right Linelineright

Custom characters for the right part of the line

Default
⸻⸻⸻
Stringoptional