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

From Jackpoint
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
+
{{ {{{1|}}} | {{{2|}}} }}
  <tr>
 
    <th col colspan="4">{{{name|Condition Monitor}}}</th>
 
  </tr>
 
 
 
  {{#ifexpr: {{{max|0}}} >= 1 |
 
  <tr>
 
    <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}}} < 3 | style="background-color: #c0c0c0;" }} >{{#ifexpr: {{{dmg|0}}} >= 3 | X }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{dmg|0}}} < 3 | color: lightgray; | font-weight: bold; background: red; }}">-1</td>
 
  </tr>
 
  }}
 
  {{#ifexpr: {{{max|3}}} >= 4 |
 
  <tr>
 
    <td {{#ifexpr: {{{max|3}}} < 4 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 4 | X }}</td>
 
    <td {{#ifexpr: {{{max|3}}} < 5 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 5 | X }}</td>
 
    <td {{#ifexpr: {{{max|3}}} < 6 | style="background-color: #c3c3c3;" }} >{{#ifexpr: {{{dmg|3}}} >= 6 | X }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{dmg|3}}} < 6 | color: lightgray; | font-weight: bold; background: red; }}">-4</td>
 
  </tr>
 
  }}
 
  {{#ifexpr: {{{max|6}}} >= 7 |
 
  <tr>
 
    <td {{#ifexpr: {{{max|6}}} < 7 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 7 | X }}</td>
 
    <td {{#ifexpr: {{{max|6}}} < 8 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 8 | X }}</td>
 
    <td {{#ifexpr: {{{max|6}}} < 9 | style="background-color: #c6c6c6;" }} >{{#ifexpr: {{{dmg|6}}} >= 9 | X }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{dmg|6}}} < 9 | color: lightgray; | font-weight: bold; background: red; }}">-7</td>
 
  </tr>
 
  }}
 
  {{#ifexpr: {{{max|9}}} >= 10 |
 
  <tr>
 
    <td {{#ifexpr: {{{max|9}}} < 10 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 10 | X }}</td>
 
    <td {{#ifexpr: {{{max|9}}} < 11 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 11 | X }}</td>
 
    <td {{#ifexpr: {{{max|9}}} < 12 | style="background-color: #c9c9c9;" }} >{{#ifexpr: {{{dmg|9}}} >= 12 | X }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{dmg|9}}} < 12 | color: lightgray; | font-weight: bold; background: red; }}">-10</td>
 
  </tr>
 
  }}
 
  {{#ifexpr: {{{max|12}}} >= 13 |
 
  <tr>
 
    <td {{#ifexpr: {{{max|12}}} < 13 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 13 | X }}</td>
 
    <td {{#ifexpr: {{{max|12}}} < 14 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 14 | X }}</td>
 
    <td {{#ifexpr: {{{max|12}}} < 15 | style="background-color: #c12c12c12;" }} >{{#ifexpr: {{{dmg|12}}} >= 15 | X }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{dmg|12}}} < 15 | color: lightgray; | font-weight: bold; background: red; }}">-13</td>
 
  </tr>
 
  }}
 
</table>
 

Latest revision as of 19:52, 5 March 2021

{{ | }}