Template

Header

From Dogcraft Wiki

(Added tempalte data)
No edit summary
Line 35: Line 35:
}
}
},
},
"format": "inline",
"format": "block",
"paramOrder": [
"paramOrder": [
"1",
"1",
"2",
"2",
"margin"
"margin"
]
],
"description": "Used to generate a box header with a colored background"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:26, 26 December 2020

{{{1}}}

Used to generate a box header with a colored background

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Header text1 content text

Used to set the header's text

Example
Map of the area
Stringrequired
Background color2 color

Used to set color of the header background.

Default
{{main-color}}
Example
red, #f1f1f1, {{second-color}}
Stringoptional
Marginmargin inline-css

Used to set custom margins.

Default
margin:10px 0 10px 0;
Stringoptional
This page was last modified on 26 December 2020, at 21:26. (11 months ago)
Background SRN Opening by Montenator