Template:NoticeBox: Difference between revisions
(added custom colouring as a parameter: color, else use default type colour.) |
VibranceBot (talk | contribs) m ({{Deprecated template}} -> {{Deprecated}}) |
||
(9 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 18: | Line 20: | ||
| 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 45: | Line 48: | ||
| 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)