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

From Jackpoint
Line 12: Line 12:
 
   </tr>
 
   </tr>
 
   }}
 
   }}
   {{#ifexpr: {{{max|0}}} >= 4 |  
+
   {{#ifexpr: {{{max|3}}} >= 4 |  
 
   <tr>
 
   <tr>
     <td {{#ifexpr: {{{max|0}}} < 4 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 4 | X }}</td>
+
     <td {{#ifexpr: {{{max|3}}} < 4 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 4 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 5 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 5 | X }}</td>
+
     <td {{#ifexpr: {{{max|3}}} < 5 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 5 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 6 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 6 | X }}</td>
+
     <td {{#ifexpr: {{{max|3}}} < 6 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 6 | X }}</td>
     <td style="text-align: center; font-weight: bold; {{#ifexpr: {{{dmg|0}}} < 6 | color: lightgray }}">-1</td>
+
     <td style="text-align: center; {{#ifexpr: {{{dmg|3}}} < 6 | color: lightgray; | font-weight: bold; background: red; }}">-4</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
   {{#ifexpr: {{{max|0}}} >= 7 |  
+
   {{#ifexpr: {{{max|6}}} >= 7 |  
 
   <tr>
 
   <tr>
     <td {{#ifexpr: {{{max|0}}} < 7 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 7 | X }}</td>
+
     <td {{#ifexpr: {{{max|6}}} < 7 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 7 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 8 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 8 | X }}</td>
+
     <td {{#ifexpr: {{{max|6}}} < 8 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 8 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 9 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 9 | X }}</td>
+
     <td {{#ifexpr: {{{max|6}}} < 9 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 9 | X }}</td>
     <td style="text-align: center; font-weight: bold; {{#ifexpr: {{{dmg|0}}} < 9 | color: lightgray }}">-1</td>
+
     <td style="text-align: center; {{#ifexpr: {{{dmg|6}}} < 9 | color: lightgray; | font-weight: bold; background: red; }}">-7</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
   {{#ifexpr: {{{max|0}}} >= 10 |  
+
   {{#ifexpr: {{{max|9}}} >= 10 |  
 
   <tr>
 
   <tr>
     <td {{#ifexpr: {{{max|0}}} < 10 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 10 | X }}</td>
+
     <td {{#ifexpr: {{{max|9}}} < 10 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 10 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 11 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 11 | X }}</td>
+
     <td {{#ifexpr: {{{max|9}}} < 11 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 11 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 12 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 12 | X }}</td>
+
     <td {{#ifexpr: {{{max|9}}} < 12 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 12 | X }}</td>
     <td style="text-align: center; font-weight: bold; {{#ifexpr: {{{dmg|0}}} < 12 | color: lightgray }}">-1</td>
+
     <td style="text-align: center; {{#ifexpr: {{{dmg|9}}} < 12 | color: lightgray; | font-weight: bold; background: red; }}">-10</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
   {{#ifexpr: {{{max|0}}} >= 13 |  
+
   {{#ifexpr: {{{max|12}}} >= 13 |  
 
   <tr>
 
   <tr>
     <td {{#ifexpr: {{{max|0}}} < 13 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 13 | X }}</td>
+
     <td {{#ifexpr: {{{max|12}}} < 13 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 13 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 14 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 14 | X }}</td>
+
     <td {{#ifexpr: {{{max|12}}} < 14 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 14 | X }}</td>
     <td {{#ifexpr: {{{max|0}}} < 15 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 15 | X }}</td>
+
     <td {{#ifexpr: {{{max|12}}} < 15 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 15 | X }}</td>
     <td style="text-align: center; font-weight: bold; {{#ifexpr: {{{dmg|0}}} < 15 | color: lightgray }}">-1</td>
+
     <td style="text-align: center; {{#ifexpr: {{{dmg|12}}} < 15 | color: lightgray; | font-weight: bold; background: red; }}">-13</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 
</table>
 
</table>

Revision as of 22:15, 15 December 2020

Condition Monitor