Template:NoticeBox: Difference between revisions
(Switched to using docs template) |
m (added protection template) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <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|}}} | ||
| style= | | speedy = #fcc | ||
| delete = #FFEEEE | |||
<noinclude>{{ | | #default = #F9F9F9 | ||
}} | |||
| color = {{#if:{{{color|}}}|{{{color}}}|{{#switch:{{{type|}}} | |||
| speedy = #B22222 | |||
| delete = #B22222 | |||
| content = #F28500 | |||
| style = #F4C430 | |||
| move = #9932CC | |||
| protection = #BBBBAA | |||
| notice <!-- notice = default --> | |||
| #default = #1E90FF | |||
}}}} | |||
| border-width = {{#switch:{{{type|}}} | |||
| speedy = 4px | |||
| delete = 4px | |||
| protection = 2px | |||
| #default = 1px | |||
}} | |||
| image = {{#ifeq:{{{image|}}}|none | |||
| <!-- No image. --> | |||
| {{#if:{{{image|}}} | |||
| {{{image}}} | |||
| [[Image:{{#switch:{{{type|}}} | |||
| critical = Ambox warning pn.png | |||
| important = Ambox warning pn.png | |||
| warning = Ambox important.png | |||
| caution = Edit-clear.png | |||
| license = Imbox_license.png | |||
| speedy = Imbox speedy deletion.png | |||
| delete = Imbox deletion.png | |||
| content = Imbox content.png | |||
| style = Edit-clear.png | |||
| move = Imbox move.png | |||
| protection = Lock-locked.png | |||
| notice <!-- notice = default --> | |||
| #default = Imbox notice.png | |||
}} |link=|alt=]] | |||
}} | |||
}} | |||
| style = {{{style|}}} | |||
| text = {{{text|}}} | |||
| cat = {{{cat|{{{category|}}}}}} | |||
| hidecat = {{{hidecat|{{{nocat|}}}}}} | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 09:52, 29 July 2018
This page has been put into protection by a PZwiki administrator.
Only users in the autoconfirmed user group may edit this page.
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)