Difference between revisions of "Template:Alert"
m |
m |
||
Line 1: | Line 1: | ||
<div style="{{#switch: {{{1}}} | <div style="{{#switch: {{{1}}} | ||
− | | info | + | | info = border-color: #bcdff1; color: #31708f; {{#switch:{{{bg}}}|true = background-color: #d9edf7;|}} |
− | | success = border- | + | | success = border-color: #d0e9c6; color: #3c763d; {{#switch:{{{bg}}}|true = background-color: #dff0d8;|}} |
− | | warning = border- | + | | warning = border-color: #faf2cc; color: #8a6d3b; {{#switch:{{{bg}}}|true = background-color: #fcf8e3;|}} |
− | | danger | + | | danger = border-color: #ebcccc; color: #a94442; {{#switch:{{{bg}}}|true = background-color: #f2dede;|}} |
− | | border- | + | | #default = border-color: #bcdff1; color: #3c763d; {{#switch:{{{bg}}}|true = background-color: #d9edf7;|}} |
}} | }} | ||
− | border-left-width: | + | border-left-width: 3px; |
+ | border-right-width: 3px; | ||
+ | border-left-style: solid; | ||
+ | border-right-style: solid; | ||
padding-left: 5px; | padding-left: 5px; | ||
padding-right: 5px; | padding-right: 5px; | ||
− | border-radius: | + | border-radius: 5px; |
display: table; | display: table; | ||
"> {{#if: {{{3|}}} | "> {{#if: {{{3|}}} | ||
| <strong>{{{2}}}</strong>{{ns|1}}{{{3}}} | | <strong>{{{2}}}</strong>{{ns|1}}{{{3}}} | ||
− | | <span | + | | <span>{{{2}}}</span> |
}} | }} | ||
</div> | </div> |
Revision as of 05:42, 16 June 2017
{{{2}}}