Template:SmallNote: Difference between revisions

Template page
(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...")
 
mNo edit summary
 
Line 9: Line 9:
<noinclude><templatedata>
<noinclude><templatedata>
{
{
     "description": "Parameters for background colors and text messages.",
     "description": "Small (inline) note box.",
     "params": {
     "params": {
         "leftfr": {
         "leftfr": {

Latest revision as of 01:06, 12 September 2023

Title
Content

Small (inline) note box.

[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