Template:N Chart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:kar_value | 6 }} | |||
{{#vardefine:yug_value | 12 }} | |||
{{#vardefine:hwk_value | 0 }} | |||
{{#vardefine:tip_value| 3 }} | |||
{{#vardefine:row_total| {{#expr: 6*4 }} }} | |||
<table> | <table> | ||
<tr> | <tr> | ||
<th | <th sytle="width=30px">KAR</th> | ||
<th sytle="width=30px">YUG</th> | |||
<th>YUG</th> | <th sytle="width=30px">HWK</th> | ||
<th>HWK</th> | <th sytle="width=30px">TIP</th> | ||
<th>TIP</th> | |||
</tr> | </tr> | ||
{{#loop: | {{#loop: row_loop_index | 0 | {{#var: row_total }} | ||
| <tr> | |||
<td {{#ifexpr: {{#var: kar_value }} < {{#var: row_loop_index }} | style="background-color: pink"}}></td> | |||
<td {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: blue"}}></td> | |||
<td {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: green"}}></td> | |||
<td {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: orange"}}></td> | |||
</tr> | |||
}} | |||
</table> | </table> |
Revision as of 17:14, 14 March 2025
KAR | YUG | HWK | TIP |
---|---|---|---|