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:
{{#switch: {{{size | {{{2|}}} }}}
{{#switch: {{{size | {{{2|}}} }}}
| #default = {{error|The size argument is required.}}
| #default = {{error|The severity argument is 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}}} }}}
| danger=fee7e6
| danger=fee7e6
| warning=fceee6
| warning=fceee6
| caution=fcf8e6
| caution=fcf8e6
| #default|note|custom=f8f9fa
| note|custom=f8f9fa
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
| danger=bf3333
| danger=bf3333
| warning=df5c15
| warning=df5c15
| caution=f1cc43
| caution=f1cc43
| #default|note|custom=4666c8
| note|custom=4666c8
}};"><table><tr><td>[[File:{{#switch: {{{severity| {{{1}}} }}}
}};"><table><tr><td>[[File:{{#switch: {{{severity| {{{1}}} }}}
| 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
| caution=OOjs UI icon alert-yellow.svg
| caution=OOjs UI icon alert-yellow.svg
| #default|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}}}]]</td><td>'''{{#switch: {{{severity| {{{1}}} }}}
Line 21: Line 21:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| #default|note=NOTE
| note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</td></div>
}}''' {{{message| {{{3|}}} }}}</td></div>
Line 28: Line 28:
| warning=fceee6
| warning=fceee6
| caution=fcf8e6
| caution=fcf8e6
| #default|note|custom=f8f9fa
| note|custom=f8f9fa
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
| danger=bf3333
| danger=bf3333
| warning=df5c15
| warning=df5c15
| caution=f1cc43
| caution=f1cc43
| #default|note|custom=4666c8
| note|custom=4666c8
}};"><tr><td nowrap="true">[[File:{{#switch: {{{severity| {{{1}}} }}}
}};"><tr><td nowrap="true">[[File:{{#switch: {{{severity| {{{1}}} }}}
| 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
| caution=OOjs UI icon alert-yellow.svg
| caution=OOjs UI icon alert-yellow.svg
| #default|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}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
Line 44: Line 44:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| #default|note=NOTE
| note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</table>
}}''' {{{message| {{{3|}}} }}}</table>
Line 51: Line 51:
| warning=OOjs UI icon alert-warning.svg
| warning=OOjs UI icon alert-warning.svg
| caution=OOjs UI icon alert-yellow.svg
| caution=OOjs UI icon alert-yellow.svg
| #default|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}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
Line 57: Line 57:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| #default|note=NOTE
| note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}
}}''' {{{message| {{{3|}}} }}}
}}
}}

Revision as of 20:39, 17 February 2022

Error: The severity argument is required.