Template:NoticeBox: Difference between revisions
m (removed default styling) |
(added custom colouring as a parameter: color, else use default type colour.) |
||
Line 5: | Line 5: | ||
| #default = #F9F9F9 | | #default = #F9F9F9 | ||
}} | }} | ||
| color = {{#switch:{{{type|}}} | | color = {{#if:{{{color|}}}|{{{color}}}|{{#switch:{{{type|}}} | ||
| speedy = #B22222 | | speedy = #B22222 | ||
| delete = #B22222 | | delete = #B22222 | ||
Line 14: | Line 14: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = #1E90FF | | #default = #1E90FF | ||
}} | }}}} | ||
| border-width = {{#switch:{{{type|}}} | | border-width = {{#switch:{{{type|}}} | ||
| speedy = 4px | | speedy = 4px |
Revision as of 07:00, 29 July 2018
This template is used as the foundation of various notice boxes. See:
See: Template:Notice
{{Notice}}
.
Usage
{{NoticeBox | type = | image = | style = | text = | cat = | hidecat = }}
Documentation transcluded from Template:NoticeBox/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)