Template:N Chart: Difference between revisions

From Ultros Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


{{#vardefine:row_total| {{#expr: 6*4 }} }}
{{#vardefine:row_total| {{#expr: 6*4 }} }}
<table>
<table style="table-layout: fixed; width: 100px;">
<tr>
<tr>
<th sytle="width=30px">KAR</th>
<th sytle="width=25px">KAR</th>
<th sytle="width=30px">YUG</th>
<th sytle="width=25px">YUG</th>
<th sytle="width=30px">HWK</th>
<th sytle="width=25px">HWK</th>
<th sytle="width=30px">TIP</th>
<th sytle="width=25px">TIP</th>
</tr>
</tr>
{{#loop: row_loop_index | 0 | {{#var: row_total }}
{{#loop: row_loop_index | 0 | {{#var: row_total }}
| <tr>
| <tr>
<td {{#ifexpr: {{#var: kar_value }} < {{#var: row_loop_index }} | style="background-color: pink"}}></td>
<td {{#ifexpr: {{#var: kar_value }} < {{#var: row_loop_index }} | style="background-color: #ff33cb"}}></td>
<td {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: blue"}}></td>
<td {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: '#33e5ff'"}}></td>
<td {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: green"}}></td>
<td {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: '#50ff33'"}}></td>
<td {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: orange"}}></td>
<td {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: '#fcc349'"}}></td>
</tr>  
</tr>  
}}
}}
</table>
</table>

Revision as of 17:17, 14 March 2025




KAR YUG HWK TIP