Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Notice: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
Make default background lighter
Tag: 2017 source edit
mNo edit summary
Line 1: Line 1:
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--border: {{{outline|#36c}}}; --background: {{{background|#def}}}">
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--border: {{{outline|#36c}}}; --background: {{{background|#def}}};color: {{{textcolor|#000}}}">
{{{1|{{{content}}}}}}
{{{1|{{{content}}}}}}
</div><noinclude>
</div><noinclude>
Line 22: Line 22:
"type": "content",
"type": "content",
"required": true
"required": true
},
"textcolor": {
"aliases": [
"color"
],
"label": "Text Color",
"description": "Color to use for the box's text",
"type": "string",
"default": "#000"
}
}
},
},
Line 27: Line 36:
"content",
"content",
"outline",
"outline",
"background"
"background",
"textcolor"
],
],
"format": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 16:36, 24 October 2024

{{{content}}}

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Contentcontent 1

no description

Contentrequired
Outlineoutline

Color used for the border, including the left side color swatch.

Default
#36c
Unknownoptional
Backgroundbackground

Color used for the background of the box.

Default
#def
Unknownoptional
Text Colortextcolor color

Color to use for the box's text

Default
#000
Stringoptional