User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
| #default = {{error|The severity and size arguments are required.}}
| #default = {{error|The severity and size arguments are required.}}
| large=<div style="padding: 1.2em; margin-top: 0.5em; border-top-width: 0.4em; border-radius: 0.20em; box-shadow: 2px 2px #F7F8F9; background-color: #{{#switch: {{{severity| {{{1}}} }}}
| large=<div style="padding: 1.2em; margin-top: 0.5em; border-top-width: 0.4em; border-radius: 0.20em; box-shadow: 2px 2px #F7F8F9; background-color: #{{#switch: {{{severity| {{{1}}} }}}
<!-- large box background colors -->
| danger=fee7e6
| danger=fee7e6
| warning=fceee6
| warning=fceee6
Line 7: Line 8:
| note|custom=f8f9fa
| note|custom=f8f9fa
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
<!-- large box border colors -->
| danger=bf3333
| danger=bf3333
| warning=df5c15
| warning=df5c15
| caution=f1cc43
| caution=f1cc43
| note|custom=4666c8
| note|custom=4666c8
}};"><table><tr><td>[[File:{{#switch: {{{severity| {{{1}}} }}}
}}; border-top-width: 0.4em;"><table><tr><td>[[File:{{#switch: {{{severity| {{{1}}} }}}
<!-- large box icons -->
| danger=OOjs UI icon alert-destructive.svg
| danger=OOjs UI icon alert-destructive.svg
| warning=OOjs UI icon alert-warning.svg
| warning=OOjs UI icon alert-warning.svg
Line 17: Line 20:
| note=OOjs UI icon information-progressive.svg
| note=OOjs UI icon information-progressive.svg
| custom={{{custom_icon}}}
| custom={{{custom_icon}}}
}}|35px|left|link=|alt={{{severity}}}]]</td><td>'''{{#switch: {{{severity| {{{1}}} }}}
}}|35px|left|link=|alt={{{severity| {{{1}}} }}}]]</td><td>{{#switch: {{{severity| {{{1}}} }}}
| danger=DANGER
<!-- large box labels -->
| warning=WARNING
| danger='''DANGER'''
| caution=CAUTION
| warning='''WARNING'''
| note=NOTE
| caution='''CAUTION'''
| note='''NOTE'''
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</td></div>
}} {{{message| {{{3|}}} }}}</td></tr></table></div>
| medium|med=<table style="padding: 0.5em; background-color: #{{#switch: {{{severity| {{{1}}} }}}
| medium|med=<table style="padding: 0.5em; background-color: #{{#switch: {{{severity| {{{1}}} }}}
<!-- medium box background colors -->
| danger=fee7e6
| danger=fee7e6
| warning=fceee6
| warning=fceee6
Line 30: Line 35:
| note|custom=f8f9fa
| note|custom=f8f9fa
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
<!-- medium box border colors -->
| danger=bf3333
| danger=bf3333
| warning=df5c15
| warning=df5c15
Line 35: Line 41:
| note|custom=4666c8
| note|custom=4666c8
}};"><tr><td nowrap="true">[[File:{{#switch: {{{severity| {{{1}}} }}}
}};"><tr><td nowrap="true">[[File:{{#switch: {{{severity| {{{1}}} }}}
<!-- medium box icons -->
| danger=OOjs UI icon alert-destructive.svg
| danger=OOjs UI icon alert-destructive.svg
| warning=OOjs UI icon alert-warning.svg
| warning=OOjs UI icon alert-warning.svg
Line 40: Line 47:
| note=OOjs UI icon information-progressive.svg
| note=OOjs UI icon information-progressive.svg
| custom={{{custom_icon}}}
| custom={{{custom_icon}}}
}}|18px|text-bottom|link=|alt={{{severity}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
}}|18px|text-bottom|link=|alt={{{severity| {{{1}}} }}}]] {{#switch: {{{severity| {{{1}}} }}}
| danger=DANGER
<!-- medium box labels -->
| warning=WARNING
| danger'''=DANGER'''
| caution=CAUTION
| warning='''WARNING'''
| note=NOTE
| caution='''CAUTION'''
| note='''NOTE'''
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</table>
}} {{{message| {{{3|}}} }}}</table>
| small=[[File:{{#switch: {{{severity| {{{1}}} }}}
| small=[[File:{{#switch: {{{severity| {{{1}}} }}}
<!-- small box icons -->
| danger=OOjs UI icon alert-destructive.svg
| danger=OOjs UI icon alert-destructive.svg
| warning=OOjs UI icon alert-warning.svg
| warning=OOjs UI icon alert-warning.svg
Line 53: Line 62:
| note=OOjs UI icon information-progressive.svg
| note=OOjs UI icon information-progressive.svg
| custom={{{custom_icon}}}
| custom={{{custom_icon}}}
}}|18px|text-bottom|link=|alt={{{severity}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
}}|18px|text-bottom|link=|alt={{{severity| {{{1}}} }}}]] {{#switch: {{{severity| {{{1}}} }}}
| danger=DANGER
| danger='''DANGER'''
| warning=WARNING
| warning='''WARNING'''
| caution=CAUTION
| caution='''CAUTION'''
| note=NOTE
| note='''NOTE'''
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}
}} {{{message| {{{3|}}} }}}
}}
}}

Revision as of 21:38, 17 February 2022

Error: The severity and size arguments are required.