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 style="table-layout: fixed; width: 100px;">
<table style="table-layout: fixed; width: 132px;">
<tr>
<tr>
<th sytle="width=25px">KAR</th>
<th sytle="width=25px; margin-left: 4px; margin-right: 4px;">KAR</th>
<th sytle="width=25px">YUG</th>
<th sytle="width=25px; margin-left: 4px; margin-right: 4px;">YUG</th>
<th sytle="width=25px">HWK</th>
<th sytle="width=25px; margin-left: 4px; margin-right: 4px;">HWK</th>
<th sytle="width=25px">TIP</th>
<th sytle="width=25px; margin-left: 4px; margin-right: 4px;">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: #ff33cb"}}></td>
<td {{#ifexpr: {{#var: kar_value }} < {{#var: row_loop_index }} | style="background-color: #ff33cb; margin-left: 4px; margin-right: 4px;"}}></td>
<td {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: '#33e5ff'"}}></td>
<td {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: #33e5ff; margin-left: 4px; margin-right: 4px;"}}></td>
<td {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: '#50ff33'"}}></td>
<td {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: #50ff33; margin-left: 4px; margin-right: 4px;"}}></td>
<td {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: '#fcc349'"}}></td>
<td {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: #fcc349; margin-left: 4px; margin-right: 4px;"}}></td>
</tr>  
</tr>  
}}
}}
</table>
</table>

Revision as of 17:20, 14 March 2025




KAR YUG HWK TIP