Template
Header
From Dogcraft Wiki
No edit summary |
(Added tempalte data) |
||
Line 1: | Line 1: | ||
<h3 style="padding:0.3em 0.4em; {{{margin|margin:10px 0 10px 0;}}} border:1px solid {{{2|{{main-color}}}}}; background:{{{2|{{main-color}}}}}; color:white; font-size:140%; text-align:center;">'''{{{1}}}'''</h3><noinclude>[[Category:Templates]]</noinclude>__NOTOC__ | <h3 style="padding:0.3em 0.4em; {{{margin|margin:10px 0 10px 0;}}} border:1px solid {{{2|{{main-color}}}}}; background:{{{2|{{main-color}}}}}; color:white; font-size:140%; text-align:center;">'''{{{1}}}'''</h3><noinclude>[[Category:Templates]]</noinclude>__NOTOC__ | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"content", | |||
"text" | |||
], | |||
"label": "Header text", | |||
"description": "Used to set the header's text", | |||
"example": "Map of the area", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Background color", | |||
"aliases": [ | |||
"color" | |||
], | |||
"description": "Used to set color of the header background.", | |||
"example": "red, #f1f1f1, {{second-color}}", | |||
"type": "string", | |||
"default": "{{main-color}}" | |||
}, | |||
"margin": { | |||
"aliases": [ | |||
"inline-css" | |||
], | |||
"label": "Margin", | |||
"description": "Used to set custom margins.", | |||
"type": "string", | |||
"default": "margin:10px 0 10px 0;" | |||
} | |||
}, | |||
"format": "inline", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"margin" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 19:00, 26 December 2020
{{{1}}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header text | 1 content text | Used to set the header's text
| String | required |
Background color | 2 color | Used to set color of the header background.
| String | optional |
Margin | margin inline-css | Used to set custom margins.
| String | optional |
This page was last modified on 26 December 2020, at 19:00. (11 months ago)