(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": " | "description": "Small (inline) note box.", | ||
"params": { | "params": { | ||
"leftfr": { | "leftfr": { | ||
Latest revision as of 01:06, 12 September 2023
Small (inline) note box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Left Fractional Width | leftfr | The fractional value for the width of the left section.
| String | optional |
| Right Fractional Width | rightfr | The fractional value for the width of the right section.
| String | optional |
| Title Colour | leftcol | The hex value for the left background colour. Should be the same as rightcol.
| String | optional |
| Title Text | lefttext | The text to display on the left background colour. | String | required |
| Content Colour | rightcol | The hex value for the right background colour. Should be the same as leftcol.
| String | optional |
| Content Colour Alpha | rightalpha | The hex value for the right background colour alpha.
| String | optional |
| Content Text | righttext | The text to display on the right background colour. | String | required |