Template:NoticeBox: Difference between revisions
(Switched to using docs template) |
(complete rewrite. Now uses Template:NoticeBox/core) |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{{NoticeBox/core | ||
| {{# | | bkg-color = {{#switch:{{{type|}}} | ||
| style= | | speedy = #fcc | ||
| delete = #FFEEEE | |||
<noinclude>{{ | | #default = #F9F9F9 | ||
}} | |||
| 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 | |||
| #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 = Imbox protection.png | |||
| notice <!-- notice = default --> | |||
| #default = Imbox notice.png | |||
}} |link=|alt=]] | |||
}} | |||
}} | |||
| style = {{{style|font-size:150%;}}} | |||
| text = {{{text|}}} | |||
| cat = {{{cat|{{{category|}}}}}} | |||
| hidecat = {{{hidecat|{{{nocat|}}}}}} | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 06:16, 29 July 2018
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)