Template:Notice: Difference between revisions

From FiguraMC
PenguinEncounter (talk | contribs)
Created page with "<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--outline: {{{outline|#36c}}}; --noticebox-background: {{{background|#cdf}}}"> {{{1|{{{content}}}}}} </div>"
Tag: 2017 source edit
 
PenguinEncounter (talk | contribs)
Make default background lighter
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--outline: {{{outline|#36c}}}; --noticebox-background: {{{background|#cdf}}}">
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--border: {{{outline|#36c}}}; --background: {{{background|#def}}}">
{{{1|{{{content}}}}}}
{{{1|{{{content}}}}}}
</div>
</div><noinclude>
<templatedata>
{
"params": {
"outline": {
"label": "Outline",
"description": "Color used for the border, including the left side color swatch.",
"default": "#36c"
},
"background": {
"label": "Background",
"description": "Color used for the background of the box.",
"default": "#def"
},
"content": {
"aliases": [
"1"
],
"label": "Content",
"type": "content",
"required": true
}
},
"paramOrder": [
"content",
"outline",
"background"
],
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 06:13, 28 September 2024

{{{content}}}

No description.

Template parameters[Edit template data]

This template prefers block 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