User:DigitalIceAge/sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{severity_color | {{{severity| {{{1|}}} }}} }}} | |||
| danger=bf3333 | | danger=bf3333 | ||
| warning=df5c15 | | warning=df5c15 | ||
Line 26: | Line 16: | ||
| note=OOjs UI icon information-progressive.svg | | note=OOjs UI icon information-progressive.svg | ||
| custom={{{custom_icon|}}} | | custom={{{custom_icon|}}} | ||
}}{{#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;"> | |||
{| style=width:100% | |||
| style=width:100% | [[File:{{{severity_icon}}}|35px|left|link=|alt={{{severity_label| {{{severity|}}} }}}]] | |||
| '''{{{severity_label| {{{severity|}}} }}}''' {{{message| {{{3|}}} }}} | |||
|} | |||
</div> | |||
| medium|med=<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #bf3333 solid; padding:0.5em; background-color:#fee7e6"><tr><td nowrap="true" valign="top"> | |||
[[File:{{{severity_icon}}}|18px|text-bottom|link=|alt={{{severity|label}}}]] '''{{{severity_label}}}''' {{{message| {{{3|}}} }}}</table> | |||
| small=[[File:{{{severity_icon}}}|18px|text-bottom|link=|alt={{{severity|label}}}]] '''{{{severity_label}}}''' {{{message| {{{3|}}} }}} | |||
}} | }} |