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.}}
| 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
| note|custom=f8f9fa
| #default|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
| note|custom=4666c8
| #default|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
| note=OOjs UI icon information-progressive.svg
| #default|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 20: Line 21:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| note=NOTE
| #default|note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</td></div>
}}''' {{{message| {{{3|}}} }}}</td></div>
Line 27: Line 28:
| warning=fceee6
| warning=fceee6
| caution=fcf8e6
| caution=fcf8e6
| note|custom=f8f9fa
| #default|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
| note|custom=4666c8
| #default|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
| note=OOjs UI icon information-progressive.svg
| #default|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 43: Line 44:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| note=NOTE
| #default|note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}</table>
}}''' {{{message| {{{3|}}} }}}</table>
Line 50: 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
| note=OOjs UI icon information-progressive.svg
| #default|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 56: Line 57:
| warning=WARNING
| warning=WARNING
| caution=CAUTION
| caution=CAUTION
| note=NOTE
| #default|note=NOTE
| custom={{{custom_label}}}
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}
}}''' {{{message| {{{3|}}} }}}
}}
}}

Revision as of 20:37, 17 February 2022

Error: The size argument is required.