Template:NoticeBox: Difference between revisions

From PZwiki
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

[view] [edit] [history] [purge] Template documentation
This template is used as the foundation of various notice boxes. See: {{Notice}}.

Usage

{{NoticeBox
 | type  =
 | image =
 | style =
 | text  =
 | cat   =
 | hidecat =
}}
See: Template:Notice
Documentation transcluded from Template:NoticeBox/doc.
Editors can experiment in this template's sandbox (create)