Template:NoticeBox: Difference between revisions

From PZwiki
m (removed default styling)
m (added protection template)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{NoticeBox/core
<noinclude>{{protection|reason=This template is considered '''High Risk''' as it is used on a large number of pages.}}</noinclude><includeonly>{{NoticeBox/core
| bkg-color = {{#switch:{{{type|}}}
| bkg-color = {{#switch:{{{type|}}}
  | speedy = #fcc
  | speedy = #fcc
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
  | delete = 4px
  | delete = 4px
| protection = 2px
  | #default = 1px
  | #default = 1px
  }}
  }}
Line 35: Line 36:
     | style      = Edit-clear.png
     | style      = Edit-clear.png
     | move      = Imbox move.png
     | move      = Imbox move.png
     | protection = Imbox protection.png
     | protection = Lock-locked.png
     | notice          <!-- notice = default -->
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
     | #default  = Imbox notice.png

Revision as of 10:52, 29 July 2018

Lock-locked.png
This page has been put into protection by a PZwiki administrator.
Only users in the autoconfirmed user group may edit this page.
[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)