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

From Jackpoint
Line 1: Line 1:
 +
{{DamageBox| 1 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}
 +
 
<table class="wikitable">
 
<table class="wikitable">
 
   <tr>
 
   <tr>
Line 6: Line 8:
 
   {{#ifexpr: {{{max|0}}} >= 1 |  
 
   {{#ifexpr: {{{max|0}}} >= 1 |  
 
   <tr>
 
   <tr>
     <td {{#ifexpr: {{{max|0}}} < 1 | style="background-color: #c0c0c0;" }} >{{DamageBox| 1 | |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</td>
+
     <td {{#ifexpr: {{{max|0}}} < 1 | style="background-color: #c0c0c0;" }} >{{DamageBox| 1 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</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;" }} >{{DamageBox| 2 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</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;" }} >{{DamageBox| 3 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</td>
 
     <td style="text-align: center; {{#ifexpr: {{{dmg|0}}} < 3 | color: lightgray; | font-weight: bold; background: red; }}">-1</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; }}">-2</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; }}">-3</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; }}">-4</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; }}">-5</td>
 
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 
</table>
 
</table>

Revision as of 12:41, 16 December 2020



Condition Monitor