Template:Notice: Difference between revisions

From FiguraMC
PenguinEncounter (talk | contribs)
fix vars
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
add template data
Tag: 2017 source edit
Line 1: Line 1:
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--border: {{{outline|#36c}}}; --background: {{{background|#cdf}}}">
<templatestyles src="Template:Notice/style.css"/><div class="noticebox" style="--border: {{{outline|#36c}}}; --background: {{{background|#cdf}}}">
{{{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": "#cdf"
},
"content": {
"aliases": [
"1"
],
"label": "Content",
"type": "content",
"required": true
}
},
"paramOrder": [
"content",
"outline",
"background"
],
"format": "block"
}
</templatedata>
</noinclude>

Revision as of 02:57, 27 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
#cdf
Unknownoptional