Difference between revisions of "Template:Alert"

From AlliedModders Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<div style="{{#switch: {{{1}}}
 
<div style="{{#switch: {{{1}}}
             | info   = border-left: 1px solid #bcdff1; color: #31708f; {{#switch:{{{bg}}}|true = background-color: #d9edf7;|}}
+
             | info     = border-color: #bcdff1; color: #31708f; {{#switch:{{{bg}}}|true = background-color: #d9edf7;|}}
             | success = border-left: 1px solid #d0e9c6; color: #3c763d; {{#switch:{{{bg}}}|true = background-color: #dff0d8;|}}
+
             | success = border-color: #d0e9c6; color: #3c763d; {{#switch:{{{bg}}}|true = background-color: #dff0d8;|}}
             | warning = border-left: 1px solid #faf2cc; color: #8a6d3b; {{#switch:{{{bg}}}|true = background-color: #fcf8e3;|}}
+
             | warning = border-color: #faf2cc; color: #8a6d3b; {{#switch:{{{bg}}}|true = background-color: #fcf8e3;|}}
             | danger = border-left: 1px solid #ebcccc; color: #a94442; {{#switch:{{{bg}}}|true = background-color: #f2dede;|}}
+
             | danger   = border-color: #ebcccc; color: #a94442; {{#switch:{{{bg}}}|true = background-color: #f2dede;|}}
             | border-left: 1px solid #bcdff1; color: #3c763d;
+
             | #default = border-color: #bcdff1; color: #3c763d; {{#switch:{{{bg}}}|true = background-color: #d9edf7;|}}
 
             }}
 
             }}
             border-left-width: 4px;
+
             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: 3px;
+
             border-radius: 5px;
 
             display: table;
 
             display: table;
 
"> {{#if: {{{3|}}}
 
"> {{#if: {{{3|}}}
 
   | <strong>{{{2}}}</strong>{{ns|1}}{{{3}}}
 
   | <strong>{{{2}}}</strong>{{ns|1}}{{{3}}}
   | <span style="vertical-align: middle">{{{2}}}</span>
+
   | <span>{{{2}}}</span>
 
   }}
 
   }}
 
</div>
 
</div>

Revision as of 05:42, 16 June 2017

{{{2}}}