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"/>}}<div class="hr-with-image" style="{{#if: {{{color|}}}|color:{{{color}}};--template-arg-color:{{{color}}};}}{{#if: {{{glowcolor|}}}|--template-arg-glowcolor:{{{glowcolor}}};}}{{#if: {{{linesize|}}}|--template-arg-linesize:{{{linesize}}};}}">{{#if: {{{image|}}}|[[File:{{{image}}}|{{{imagesize|30px}}}|link=]]|✦}}</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|}}}|--template-arg-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>
{
{

Latest revision as of 16:43, 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

Default
false
Booleanoptional
Colorcolor

no description

Default
var(--color-amaranth-legacy-scope)
Stringoptional
Glow colorglowcolor

no description

Default
var(--color-amaranth-legacy-scope)
Stringoptional
Line heightlinesize

no description

Default
1px
Stringoptional

Examples

Contents