(Created page with "<div style="background: #{{{topcol|262d3a}}}; border-radius: .2em .2em 0 0; color: #FFF; padding: .4em .8em .5em"> <center>{{{toptext|Title}}}</center> </div> <div style="background: #{{{bottomcol|262d3a}}}{{{bottomalpha|4e}}}; border-radius: 0 0 .2em .2em; padding: 1em"> <center>{{{bottomtext|Content}}}</center> </div> <noinclude><templatedata> { "description": "Parameters for background colors and text messages.", "params": { "topcol": { "la...") |
m (Fixes spelling mistake in template data) |
||
| Line 38: | Line 38: | ||
"bottomtext": { | "bottomtext": { | ||
"label": "Content Text", | "label": "Content Text", | ||
"description": "The text to display on the bottom background | "description": "The text to display on the bottom background colour.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
Revision as of 23:36, 11 September 2023
Parameters for background colors and text messages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title Colour | topcol | The hex value for the top background colour. Should be the same as bottomcol.
| String | optional |
| Title Text | toptext | The text to display on the top background colour. | String | required |
| Content Colour | bottomcol | The hex value for the bottom background colour. Should be the same as topcol.
| String | optional |
| Content Colour Alpha | bottomalpha | The hex value for the bottom background colour alpha.
| String | optional |
| Content Text | bottomtext | The text to display on the bottom background colour. | String | required |