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><templatestyles src="Hr with image/styles.css"/>{{yesno|{{yesno-yes|{{{glow}}}}}|yes=<templatestyles src="Hr with image/styles-glowing.css"/>}}{{#if: {{{image|}}}|[[File:{{{image}}}|{{{imagesize|30px}}}|class=hr-with-image|link=]]|<div class="hr-with-image">✦</div>}}</includeonly><noinclude>
<includeonly><templatestyles src="Hr with image/styles.css"/>{{yesno|{{yesno-yes|{{{glow}}}}}|yes=<templatestyles src="Hr with image/styles-glowing.css"/>}}<div class="hr-with-image" style="{{#if: {{{color|}}}|color:{{{color}}};}}{{#if: {{{glowcolor|}}}|--template-arg-glowcolor:{{{glowcolor}}};}}{{#if: {{{linesize|}}}|--template-arg-linesize:{{{linesize}}};}}">{{#if: {{{image|}}}|[[File:{{{image}}}|{{{imagesize|30px}}}|link=]]|✦}}</div></includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 16: Line 16:
"glow": {
"glow": {
"label": "Glow",
"label": "Glow",
"type": "boolean"
"type": "boolean",
"description": "If the lines should glow"
}
}
},
},

Revision as of 16:37, 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
Imageimage

Replaces the ✦ with an image (provide filename)

Filesuggested
Image sizeimagesize

no description

Default
30px
Stringoptional
Glowglow

If the lines should glow

Booleanoptional