Template
Interface template

Header

From Dogcraft Wiki

Revision as of 10:58, 4 December 2023 by Domino (talk | contribs) (Added categories: Interface templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{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
Further stylesstyle

Optional parameter for setting further CSS.

Example
width: 200px; margin:0.2em;
Stringoptional
Background Dragon Slayer - Retriever by Ironboundred