Difference between revisions of "Template:Alert"
m |
|||
Line 1: | Line 1: | ||
<div style="{{#switch: {{{1}}} | <div style="{{#switch: {{{1}}} | ||
− | | info = border-left: 1px solid #bcdff1; color: #31708f; {{#if:{{{bg|}}} | background-color: #d9edf7;}} | + | | info = border-left: 1px solid #bcdff1; color: #31708f; {{#if:{{{bg|}}}|background-color: #d9edf7;|}} |
− | | success = border-left: 1px solid #d0e9c6; color: #3c763d; {{#if:{{{bg|}}} | background-color: #dff0d8;}} | + | | success = border-left: 1px solid #d0e9c6; color: #3c763d; {{#if:{{{bg|}}}|background-color: #dff0d8;|}} |
− | | warning = border-left: 1px solid #faf2cc; color: #8a6d3b; {{#if:{{{bg|}}} | background-color: #fcf8e3;}} | + | | warning = border-left: 1px solid #faf2cc; color: #8a6d3b; {{#if:{{{bg|}}}|background-color: #fcf8e3;|}} |
− | | danger = border-left: 1px solid #ebcccc; color: #a94442; {{#if:{{{bg|}}} | background-color: #f2dede;}} | + | | danger = border-left: 1px solid #ebcccc; color: #a94442; {{#if:{{{bg|}}}|background-color: #f2dede;|}} |
| border-left: 1px solid #bcdff1; color: #3c763d; | | border-left: 1px solid #bcdff1; color: #3c763d; | ||
}} | }} |
Revision as of 04:55, 16 June 2017
{{{2}}}