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 | + | | info = border-left: 1px solid #bcdff1; color: #31708f; {{#if:{{{bg}}}||background-color: #d9edf7;}} |
− | | success = border-left: 1px solid #d0e9c6; color: #3c763d; {{#if:{{{bg | + | | success = border-left: 1px solid #d0e9c6; color: #3c763d; {{#if:{{{bg}}}||background-color: #dff0d8;}} |
− | | warning = border-left: 1px solid #faf2cc; color: #8a6d3b; {{#if:{{{bg | + | | warning = border-left: 1px solid #faf2cc; color: #8a6d3b; {{#if:{{{bg}}}||background-color: #fcf8e3;}} |
− | | danger = border-left: 1px solid #ebcccc; color: #a94442; {{#if:{{{bg | + | | 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 05:09, 16 June 2017
{{{2}}}