User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{{severity_color | {{#switch: {{{severity| {{{1|}}} }}} | danger=bf3333 | warning=df5c15 | caution=f1cc43 | note|custom=4666c8 }} }}}
{{{severity_label | {{#switch: {{{severity| {{{1|}}} }}} }}} | danger=DANGER | warning=WARNING | caution=CAUTION | note=NOTE | custom={{{custom_label|}}} }} }}}
{{{severity_icon | {{#switch:  | {{{severity| {{{1|}}} }}} }}} | danger=OOjs UI icon alert-destructive.svg | warning=OOjs UI icon alert-warning.svg | caution=OOjs UI icon alert-yellow.svg | note=OOjs UI icon information-progressive.svg | custom={{{custom_icon|}}} }} }}}
{{#switch: {{{size | {{{2|}}} }}}
{{#switch: {{{size | {{{2|}}} }}}
| large=<div style="background-color:#fee7e6; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #{{{severity_color| {{{severity|}}} }}}; border-top-color:#{{{severity_color| {{{severity|}}} }}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">
| large=<div style="background-color:#fee7e6; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #{{{severity_color| {{{severity|}}} }}}; border-top-color:#{{{severity_color| {{{severity|}}} }}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">

Revision as of 19:23, 17 February 2022