Difference between revisions of "User:Jynx/Sandbox/Template2"

From Jackpoint
Line 4: Line 4:
 
   </tr>
 
   </tr>
  
   {{#ifexpr: {{{max|0}}} >= 1 |  
+
   {{#ifexpr: {{{max|0}}} >= 0 |  
 
   <tr>
 
   <tr>
 
     <td {{#ifexpr: {{{max|0}}} < 1 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 1 | X }}</td>
 
     <td {{#ifexpr: {{{max|0}}} < 1 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 1 | X }}</td>
 
     <td {{#ifexpr: {{{max|0}}} < 2 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 2 | X }}</td>
 
     <td {{#ifexpr: {{{max|0}}} < 2 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 2 | X }}</td>
 
     <td {{#ifexpr: {{{max|0}}} < 3 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 3 | X }}</td>
 
     <td {{#ifexpr: {{{max|0}}} < 3 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 3 | X }}</td>
     <td style="text-align: center; font-weight: bold; {{#ifexpr: {{{dmg|0}}} < 3 | color: lightgray }}">-1</td>
+
     <td style="text-align: center; {{#ifexpr: {{{dmg|0}}} < 3 | color: lightgray; | font-weight: bold; background: red; }}">-1</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}

Revision as of 22:13, 15 December 2020

Condition Monitor
-1