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

From Jackpoint
Line 3: Line 3:
 
     <th col colspan="4">{{{name|Condition Monitor}}}</th>
 
     <th col colspan="4">{{{name|Condition Monitor}}}</th>
 
   </tr>
 
   </tr>
 
+
   {{DamageRow|n=1| max={{{max|0}}} | d={{{d|0}}} | f={{{f|0}}} | r={{{r|0}}} }}
   {{#ifexpr: {{{max|0}}} >= 1 |
+
  {{DamageRow|n=2| max={{{max|0}}} | d={{{d|0}}} | f={{{f|0}}} | r={{{r|0}}} }}
  <tr>
+
  {{DamageRow|n=3| max={{{max|0}}} | d={{{d|0}}} | f={{{f|0}}} | r={{{r|0}}} }}
    <td {{#ifexpr: {{{max|0}}} < 1 | style="background-color: #c0c0c0;" }} >{{DamageBox| 1 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</td>
+
  {{DamageRow|n=4| max={{{max|0}}} | d={{{d|0}}} | f={{{f|0}}} | r={{{r|0}}} }}
    <td {{#ifexpr: {{{max|0}}} < 2 | style="background-color: #c0c0c0;" }} >{{DamageBox| 2 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</td>
+
  {{DamageRow|n=5| max={{{max|0}}} | d={{{d|0}}} | f={{{f|0}}} | r={{{r|0}}} }}
    <td {{#ifexpr: {{{max|0}}} < 3 | style="background-color: #c0c0c0;" }} >{{DamageBox| 3 |{{{d|0}}} | {{{f|0}}} | {{{r|0}}} }}</td>
 
    <td style="text-align: center; {{#ifexpr: {{{d|0}}} + {{{f|0}}} + {{{r|0}}} < 3 | color: lightgray; | font-weight: bold; background: red; }}">-1</td>
 
  </tr>
 
  }}
 
 
</table>
 
</table>

Revision as of 13:28, 16 December 2020

Condition Monitor