13,212
edits
m (Less is more) |
(Notice → note) |
||
Line 13: | Line 13: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#switch: {{{style| | -->{{#switch: {{{style|note}}} <!-- Checking box style parameter --> | ||
| speedy | | speedy | ||
| warning | | warning | ||
| caution | | caution | ||
| | | note | ||
| tip | | tip | ||
| protected | | protected | ||
Line 56: | Line 56: | ||
}} | }} | ||
}};<!-- | }};<!-- | ||
-->{{#switch: {{lc: {{{style| | -->{{#switch: {{lc: {{{style|note}}} }} <!-- Which colours to use? --> | ||
| speedy = | | speedy = | ||
speedy | speedy | ||
Line 69: | Line 69: | ||
| neutral = | | neutral = | ||
neutral | neutral | ||
| | | note | ||
| #default = | | #default = | ||
{{#ifeq: {{{style| | {{#ifeq: {{{style|note}}} | note <!-- Is there an unspecified or valid type of box specified? --> | ||
| <!-- Yes, the box style is unspecified or a valid box style is specified --> | | <!-- Yes, the box style is unspecified or a valid box style is specified --> | ||
note | |||
| <!-- No, an invalid box style is specified --> | | <!-- No, an invalid box style is specified --> | ||
invalid box style! | invalid box style! | ||
Line 133: | Line 133: | ||
Optional parameters affecting the appearance of the messagebox. | Optional parameters affecting the appearance of the messagebox. | ||
; style: Style of the messagebox. Valid values are '''speedy''', '''warning''', '''caution''', ''' | ; style: Style of the messagebox. Valid values are '''speedy''', '''warning''', '''caution''', '''note''', '''tip''', '''protected''' and '''neutral'''. Defaults to '''notice'''. | ||
; one-liner: Makes the messagebox a one-liner if not empty. | ; one-liner: Makes the messagebox a one-liner if not empty. |