Template:N Chart: Difference between revisions

From Ultros Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{#vardefine:tip_value| 3 }}
{{#vardefine:tip_value| 3 }}
{{#vardefine:row_total| {{#expr: 6*4 }} }}
{{#vardefine:row_total| {{#expr: 6*4 }} }}
 
<templatestyles src="Template:N_Chart/styles.css" />
<includeonly><templatestyles src="Template:N_Chart/styles.css" />
<table class="n-table">
<table class="n-table">
<tr>
<tr>
Line 13: Line 12:
<th>TIP</th>
<th>TIP</th>
</tr>
</tr>
{{#loop: row_loop_index | 0 | {{#var: row_total }}
| <tr>
<td><div {{#ifexpr: {{#var: kar_value }} < {{#var: row_loop_index }} | style="background-color: #ff33cb; padding-left: 4px; padding-right: 4px;"}}> </div></td>
<td><div {{#ifexpr: {{#var: yug_value }} < {{#var: row_loop_index }} | style="background-color: #33e5ff; padding-left: 4px; padding-right: 4px;"}}> </div></td>
<td><div {{#ifexpr: {{#var: hwk_value }} < {{#var: row_loop_index }} | style="background-color: #50ff33; padding-left: 4px; padding-right: 4px;"}}> </div></td>
<td><div {{#ifexpr: {{#var: tip_value }} < {{#var: row_loop_index }} | style="background-color: #fcc349; padding-left: 4px; padding-right: 4px;"}}> </div></td>
</tr>
}}
</table>
</table>
</includeonly>

Revision as of 20:18, 14 March 2025



KAR YUG HWK TIP