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: {{{linesize|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}}};">{{{lineleft|⸻⸻⸻}}}</span>
<span style="color: {{{color|#df0049}}};">{{{linewidth|⸻⸻⸻⸻}}}</span>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| ✦
| ✦
}}
}}
<span style="color: {{{color|#df0049}}};">{{{lineright|⸻⸻⸻}}}</span>
<span style="color: {{{color|#df0049}}};">{{{linewidth|⸻⸻⸻⸻}}}</span>
</span>
</span>
</includeonly>
</includeonly>
Line 46: Line 46:
"default": "30px"
"default": "30px"
},
},
"lineleft": {
"linesize": {
"label": "Left Line",
"label": "Line Text Size",
"type": "string",
"type": "string",
"default": "⸻⸻⸻",
"default": "1.4em",
"description": "Custom characters for the left part of the line"
"description": "Set the size of the line text (e.g. 16px, 2em)"
},
"lineright": {
"label": "Right Line",
"type": "string",
"default": "⸻⸻⸻",
"description": "Custom characters for the right part of the line"
}
}
},
},
"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.",
"description": "Creates a stylized scene or section break using glowing lines and a centered symbol or image, fully customizable including line size.",
"format": "inline"
"format": "inline"
}
}

Revision as of 15:45, April 2, 2025


Creates a stylized scene or section break using glowing lines and a centered symbol or image, fully customizable including line size.

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
Line Text Sizelinesize

Set the size of the line text (e.g. 16px, 2em)

Default
1.4em
Stringoptional