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>
⸻⸻⸻⸻
{{#if: {{{image|}}}
{{#if: {{{image|}}}
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| [[File:{{{image}}}|{{{imagesize|30px}}}|middle|link=]]
| ✦
| ✦
}}
}}
<span style="color: {{{color|#df0049}}};">{{{linewidth|⸻⸻⸻⸻}}}</span>
⸻⸻⸻⸻
</span>
</span>
</includeonly>
</includeonly>
Line 15: Line 15:
"params": {
"params": {
"color": {
"color": {
"label": "Line and Symbol Color",
"label": "Line & Icon Color",
"type": "string",
"type": "string",
"default": "#df0049"
"default": "#df0049"
Line 23: Line 23:
"type": "string",
"type": "string",
"default": "yes",
"default": "yes",
"description": "yes or no"
"description": "yes or no to apply glow around the line and icon"
},
},
"glowcolor": {
"glowcolor": {
Line 31: Line 31:
},
},
"align": {
"align": {
"label": "Text Alignment",
"label": "Alignment",
"type": "string",
"type": "string",
"default": "center",
"default": "center",
"description": "left, center, or right"
"description": "Choose left, center, or right alignment"
},
},
"image": {
"image": {
"label": "Image File",
"label": "Image in Center",
"type": "string",
"type": "string",
"description": "Optional image to use instead of "
"description": "Replaces the with an image (provide filename)"
},
},
"imagesize": {
"imagesize": {
Line 45: Line 45:
"type": "string",
"type": "string",
"default": "30px"
"default": "30px"
},
"linewidth": {
"label": "Line Characters",
"type": "string",
"default": "⸻⸻⸻⸻",
"description": "Customize the width of the horizontal lines using characters like — or ⸺"
}
}
},
},
"description": "A stylized section or scene break with glowing lines and a centered or image.",
"description": "Creates a styled scene/section break using glowing horizontal lines and a centered icon or image. Fully customizable.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
{{Sequence/Scene Break|image=(Imagindarium) - Amaranth Scene Break.png}}
</noinclude>
</noinclude>

Revision as of 15:34, April 2, 2025


Creates a styled scene/section break using glowing horizontal lines and a centered icon or image. Fully customizable.

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 Characterslinewidth

Customize the width of the horizontal lines using characters like — or ⸺

Default
⸻⸻⸻⸻
Stringoptional