Difference between revisions of "Template:Alert"

From AlliedModders Wiki
Jump to: navigation, search
(Undo revision 10918 by Psychonic (talk))
(Tag: Undo)
 
(10 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
             border-left-width: 3px;
 
             border-left-width: 3px;
 
             border-right-width: 3px;
 
             border-right-width: 3px;
           
 
 
             border-left-style: solid;
 
             border-left-style: solid;
 
             border-right-style: solid;
 
             border-right-style: solid;
            padding: 2px 5px;
 
            margin-top: 5px;
 
 
             border-radius: 5px;
 
             border-radius: 5px;
             display: table;
+
             {{ #ifeq: {{{inline|no}}} | yes
 +
            | display: inline-table; margin-top: 5px; margin-bottom: 5px;
 +
            | display: table; margin-top: 10px; margin-bottom: 10px;
 +
            }}
 +
            border-collapse: separate;
 +
            border-spacing: 5px;
 
"> {{#if: {{{3|}}}
 
"> {{#if: {{{3|}}}
   | <strong style="display: table-cell;">{{{2}}}</strong>{{ns|1}}{{{3}}}
+
   | <strong style="display: table-cell; padding-right: 5px; vertical-align: middle;">{{{2}}}</strong>{{{3}}}
 
   | <span>{{{2}}}</span>
 
   | <span>{{{2}}}</span>
 
   }}</div>
 
   }}</div>

Latest revision as of 13:52, 27 March 2020

{{{2}}}