Template:SmallNote

Template page
Revision as of 23:36, 11 September 2023 by Herma (talk | contribs) (Created page with "<div style="display: grid; grid-template-columns: {{{leftfr|1}}}fr {{{rightfr|9}}}fr"> <div style="background: #{{{leftcol|262d3a}}}; border-radius: .2em 0 0 .2em; color: #FFF; padding: 1em;"> <center>{{{lefttext|Title}}}</center> </div> <div style="background: #{{{rightcol|262d3a}}}{{{rightalpha|4e}}}; border-radius: 0 .2em .2em 0; padding: 1em;"> <center>{{{righttext|Content}}}</center> </div> </div> <noinclude><templatedata> { "description": "Parameters for backgr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Title
Content

Parameters for background colors and text messages.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Left Fractional Widthleftfr

The fractional value for the width of the left section.

Default
1
Stringoptional
Right Fractional Widthrightfr

The fractional value for the width of the right section.

Default
9
Stringoptional
Title Colourleftcol

The hex value for the left background colour. Should be the same as rightcol.

Default
262d3a
Stringoptional
Title Textlefttext

The text to display on the left background colour.

Stringrequired
Content Colourrightcol

The hex value for the right background colour. Should be the same as leftcol.

Default
262d3a
Stringoptional
Content Colour Alpharightalpha

The hex value for the right background colour alpha.

Default
4e
Stringoptional
Content Textrighttext

The text to display on the right background colour.

Stringrequired