Template:NoticeBox: Difference between revisions
(complete rewrite. Now uses Template:NoticeBox/core) |
VibranceBot (talk | contribs) m ({{Deprecated template}} -> {{Deprecated}}) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{NoticeBox/core | <noinclude> | ||
{{Deprecated|Mbox}} | |||
{{protection|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 7: | ||
| #default = #F9F9F9 | | #default = #F9F9F9 | ||
}} | }} | ||
| color = {{#switch:{{{type|}}} | | color = {{#if:{{{color|}}}|{{{color}}}|{{#switch:{{{type|}}} | ||
| speedy = #B22222 | | speedy = #B22222 | ||
| delete = #B22222 | | delete = #B22222 | ||
Line 14: | Line 16: | ||
| 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 25: | Line 28: | ||
| {{{image}}} | | {{{image}}} | ||
| [[Image:{{#switch:{{{type|}}} | | [[Image:{{#switch:{{{type|}}} | ||
| critical = | | critical = Imbox deletion.png | ||
| important = | | important = Imbox deletion.png | ||
| warning = | | warning = Imbox content.png | ||
| caution = Edit-clear.png | | caution = Edit-clear.png | ||
| license = Imbox_license.png | | license = Imbox_license.png | ||
| speedy = Imbox speedy deletion.png | | speedy = Imbox speedy deletion.png | ||
| delete = Imbox deletion.png | | delete = Imbox deletion.png | ||
Line 35: | Line 38: | ||
| style = Edit-clear.png | | style = Edit-clear.png | ||
| move = Imbox move.png | | move = Imbox move.png | ||
| protection = | | protection = Lock-locked.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = Imbox notice.png | | #default = Imbox notice.png | ||
Line 41: | Line 44: | ||
}} | }} | ||
}} | }} | ||
| style = {{{style| | | style = {{{style|}}} | ||
| text = {{{text|}}} | | text = {{{text|}}} | ||
| cat = {{{cat|{{{category|}}}}}} | | cat = {{{cat|{{{category|}}}}}} | ||
| hidecat = {{{hidecat|{{{nocat|}}}}}} | | hidecat = {{{hidecat|{{{nocat|}}}}}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}[[Category:Mbox]]</noinclude> |
Latest revision as of 04:52, 4 January 2024
This template is deprecated.
This template will eventually be removed. Please use Template:Mbox instead.
This page has been put into protection by a PZwiki administrator.
Reason: This template is considered High Risk as it is used on a large number of pages.
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)