Difference between revisions of "Template:TempatureTableEntry"

From TFC:TNG
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><tr>{{#var:tempExact}} {{#var:tempExact2}} {{#var:tempExact3}} {{#var:tempExact4}}
+
<includeonly><tr>{{#var:tempExact}} {{#var:tempExact2}} {{#var:tempExact3}} {{#var:tempExact4}}{{#var:tempInput|{{{3}}} }} {{#var:tempInput2|{{{5}}} }} {{#var:tempInput3|{{{7}}} }} {{#var:tempInput4|{{{9}}} }}{{
 +
#if:{{#var:tempInput2}} | |{{#vardefine:tempInput2|0}}}}{{
 +
#if:{{#var:tempInput3}} | |{{#vardefine:tempInput3|0}}}}{{
 +
#if:{{#var:tempInput4}} | |{{#vardefine:tempInput4|0}}}}
 
<td style="text-align:center">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td><!--Warming-->{{
 
<td style="text-align:center">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td><!--Warming-->{{
 
#ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact|2}} }}{{
 
#ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact|2}} }}{{
Line 57: Line 60:
 
#ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact|56}} }}
 
#ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact|56}} }}
 
<td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> </td><!--Warming-->{{
 
<td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> </td><!--Warming-->{{
#ifexpr: {{{5|}}} >= 16 | {{#vardefine:tempExact|1}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 16 | {{#vardefine:tempExact|1}} }}{{
#ifexpr: {{{5|}}} >= 32 | {{#vardefine:tempExact|2}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 32 | {{#vardefine:tempExact|2}} }}{{
#ifexpr: {{{5|}}} >= 48 | {{#vardefine:tempExact|3}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 48 | {{#vardefine:tempExact|3}} }}{{
#ifexpr: {{{5|}}} >= 64 | {{#vardefine:tempExact|4}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 64 | {{#vardefine:tempExact|4}} }}{{
#ifexpr: {{{5|}}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
+
#ifexpr: {{#var:tempInput2}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
#ifexpr: {{{5|}}} >= 106 | {{#vardefine:tempExact|6}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 106 | {{#vardefine:tempExact|6}} }}{{
#ifexpr: {{{5|}}} >= 132 | {{#vardefine:tempExact|7}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 132 | {{#vardefine:tempExact|7}} }}{{
#ifexpr: {{{5|}}} >= 158 | {{#vardefine:tempExact|8}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 158 | {{#vardefine:tempExact|8}} }}{{
#ifexpr: {{{5|}}} >= 184 | {{#vardefine:tempExact|9}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 184 | {{#vardefine:tempExact|9}} }}{{
#ifexpr: {{{5|}}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
+
#ifexpr: {{#var:tempInput2}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
#ifexpr: {{{5|}}} >= 264 | {{#vardefine:tempExact|11}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 264 | {{#vardefine:tempExact|11}} }}{{
#ifexpr: {{{5|}}} >= 318 | {{#vardefine:tempExact|12}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 318 | {{#vardefine:tempExact|12}} }}{{
#ifexpr: {{{5|}}} >= 372 | {{#vardefine:tempExact|13}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 372 | {{#vardefine:tempExact|13}} }}{{
#ifexpr: {{{5|}}} >= 426 | {{#vardefine:tempExact|14}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 426 | {{#vardefine:tempExact|14}} }}{{
#ifexpr: {{{5|}}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
+
#ifexpr: {{#var:tempInput2}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
#ifexpr: {{{5|}}} >= 500 | {{#vardefine:tempExact|16}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 500 | {{#vardefine:tempExact|16}} }}{{
#ifexpr: {{{5|}}} >= 520 | {{#vardefine:tempExact|17}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 520 | {{#vardefine:tempExact|17}} }}{{
#ifexpr: {{{5|}}} >= 540 | {{#vardefine:tempExact|18}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 540 | {{#vardefine:tempExact|18}} }}{{
#ifexpr: {{{5|}}} >= 560 | {{#vardefine:tempExact|19}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 560 | {{#vardefine:tempExact|19}} }}{{
#ifexpr: {{{5|}}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
+
#ifexpr: {{#var:tempInput2}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
#ifexpr: {{{5|}}} >= 610 | {{#vardefine:tempExact|21}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 610 | {{#vardefine:tempExact|21}} }}{{
#ifexpr: {{{5|}}} >= 640 | {{#vardefine:tempExact|22}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 640 | {{#vardefine:tempExact|22}} }}{{
#ifexpr: {{{5|}}} >= 670 | {{#vardefine:tempExact|23}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 670 | {{#vardefine:tempExact|23}} }}{{
#ifexpr: {{{5|}}} >= 700 | {{#vardefine:tempExact|24}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 700 | {{#vardefine:tempExact|24}} }}{{
#ifexpr: {{{5|}}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
+
#ifexpr: {{#var:tempInput2}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
#ifexpr: {{{5|}}} >= 770 | {{#vardefine:tempExact|26}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 770 | {{#vardefine:tempExact|26}} }}{{
#ifexpr: {{{5|}}} >= 810 | {{#vardefine:tempExact|27}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 810 | {{#vardefine:tempExact|27}} }}{{
#ifexpr: {{{5|}}} >= 850 | {{#vardefine:tempExact|28}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 850 | {{#vardefine:tempExact|28}} }}{{
#ifexpr: {{{5|}}} >= 890 | {{#vardefine:tempExact|29}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 890 | {{#vardefine:tempExact|29}} }}{{
#ifexpr: {{{5|}}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
+
#ifexpr: {{#var:tempInput2}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
#ifexpr: {{{5|}}} >= 964 | {{#vardefine:tempExact|31}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 964 | {{#vardefine:tempExact|31}} }}{{
#ifexpr: {{{5|}}} >= 998 | {{#vardefine:tempExact|32}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 998 | {{#vardefine:tempExact|32}} }}{{
#ifexpr: {{{5|}}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
#ifexpr: {{{5|}}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
#ifexpr: {{{5|}}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
+
#ifexpr: {{#var:tempInput2}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
#ifexpr: {{{5|}}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
#ifexpr: {{{5|}}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
#ifexpr: {{{5|}}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
#ifexpr: {{{5|}}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
#ifexpr: {{{5|}}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
+
#ifexpr: {{#var:tempInput2}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
#ifexpr: {{{5|}}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
#ifexpr: {{{5|}}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
#ifexpr: {{{5|}}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
#ifexpr: {{{5|}}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
#ifexpr: {{{5|}}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
+
#ifexpr: {{#var:tempInput2}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
#ifexpr: {{{5|}}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
#ifexpr: {{{5|}}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
#ifexpr: {{{5|}}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
#ifexpr: {{{5|}}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
#ifexpr: {{{5|}}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
+
#ifexpr: {{#var:tempInput2}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
#ifexpr: {{{5|}}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
#ifexpr: {{{5|}}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
#ifexpr: {{{5|}}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
#ifexpr: {{{5|}}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
#ifexpr: {{{5|}}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
+
#ifexpr: {{#var:tempInput2}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
#ifeq: {{{5|}}} |0| |
+
#ifeq: {{#var:tempInput2}} |0| |
 
<td colspan="{{#expr {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{6}}}" style="text-align:center"> </td> }}<!--Warming-->{{
 
<td colspan="{{#expr {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{6}}}" style="text-align:center"> </td> }}<!--Warming-->{{
#ifexpr: {{{7|}}} >= 16 | {{#vardefine:tempExact|1}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 16 | {{#vardefine:tempExact|1}} }}{{
#ifexpr: {{{7|}}} >= 32 | {{#vardefine:tempExact|2}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 32 | {{#vardefine:tempExact|2}} }}{{
#ifexpr: {{{7|}}} >= 48 | {{#vardefine:tempExact|3}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 48 | {{#vardefine:tempExact|3}} }}{{
#ifexpr: {{{7|}}} >= 64 | {{#vardefine:tempExact|4}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 64 | {{#vardefine:tempExact|4}} }}{{
#ifexpr: {{{7|}}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
+
#ifexpr: {{#var:tempInput3}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
#ifexpr: {{{7|}}} >= 106 | {{#vardefine:tempExact|6}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 106 | {{#vardefine:tempExact|6}} }}{{
#ifexpr: {{{7|}}} >= 132 | {{#vardefine:tempExact|7}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 132 | {{#vardefine:tempExact|7}} }}{{
#ifexpr: {{{7|}}} >= 158 | {{#vardefine:tempExact|8}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 158 | {{#vardefine:tempExact|8}} }}{{
#ifexpr: {{{7|}}} >= 184 | {{#vardefine:tempExact|9}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 184 | {{#vardefine:tempExact|9}} }}{{
#ifexpr: {{{7|}}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
+
#ifexpr: {{#var:tempInput3}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
#ifexpr: {{{7|}}} >= 264 | {{#vardefine:tempExact|11}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 264 | {{#vardefine:tempExact|11}} }}{{
#ifexpr: {{{7|}}} >= 318 | {{#vardefine:tempExact|12}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 318 | {{#vardefine:tempExact|12}} }}{{
#ifexpr: {{{7|}}} >= 372 | {{#vardefine:tempExact|13}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 372 | {{#vardefine:tempExact|13}} }}{{
#ifexpr: {{{7|}}} >= 426 | {{#vardefine:tempExact|14}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 426 | {{#vardefine:tempExact|14}} }}{{
#ifexpr: {{{7|}}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
+
#ifexpr: {{#var:tempInput3}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
#ifexpr: {{{7|}}} >= 500 | {{#vardefine:tempExact|16}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 500 | {{#vardefine:tempExact|16}} }}{{
#ifexpr: {{{7|}}} >= 520 | {{#vardefine:tempExact|17}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 520 | {{#vardefine:tempExact|17}} }}{{
#ifexpr: {{{7|}}} >= 540 | {{#vardefine:tempExact|18}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 540 | {{#vardefine:tempExact|18}} }}{{
#ifexpr: {{{7|}}} >= 560 | {{#vardefine:tempExact|19}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 560 | {{#vardefine:tempExact|19}} }}{{
#ifexpr: {{{7|}}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
+
#ifexpr: {{#var:tempInput3}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
#ifexpr: {{{7|}}} >= 610 | {{#vardefine:tempExact|21}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 610 | {{#vardefine:tempExact|21}} }}{{
#ifexpr: {{{7|}}} >= 640 | {{#vardefine:tempExact|22}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 640 | {{#vardefine:tempExact|22}} }}{{
#ifexpr: {{{7|}}} >= 670 | {{#vardefine:tempExact|23}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 670 | {{#vardefine:tempExact|23}} }}{{
#ifexpr: {{{7|}}} >= 700 | {{#vardefine:tempExact|24}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 700 | {{#vardefine:tempExact|24}} }}{{
#ifexpr: {{{7|}}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
+
#ifexpr: {{#var:tempInput3}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
#ifexpr: {{{7|}}} >= 770 | {{#vardefine:tempExact|26}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 770 | {{#vardefine:tempExact|26}} }}{{
#ifexpr: {{{7|}}} >= 810 | {{#vardefine:tempExact|27}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 810 | {{#vardefine:tempExact|27}} }}{{
#ifexpr: {{{7|}}} >= 850 | {{#vardefine:tempExact|28}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 850 | {{#vardefine:tempExact|28}} }}{{
#ifexpr: {{{7|}}} >= 890 | {{#vardefine:tempExact|29}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 890 | {{#vardefine:tempExact|29}} }}{{
#ifexpr: {{{7|}}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
+
#ifexpr: {{#var:tempInput3}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
#ifexpr: {{{7|}}} >= 964 | {{#vardefine:tempExact|31}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 964 | {{#vardefine:tempExact|31}} }}{{
#ifexpr: {{{7|}}} >= 998 | {{#vardefine:tempExact|32}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 998 | {{#vardefine:tempExact|32}} }}{{
#ifexpr: {{{7|}}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
#ifexpr: {{{7|}}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
#ifexpr: {{{7|}}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
+
#ifexpr: {{#var:tempInput3}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
#ifexpr: {{{7|}}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
#ifexpr: {{{7|}}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
#ifexpr: {{{7|}}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
#ifexpr: {{{7|}}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
#ifexpr: {{{7|}}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
+
#ifexpr: {{#var:tempInput3}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
#ifexpr: {{{7|}}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
#ifexpr: {{{7|}}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
#ifexpr: {{{7|}}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
#ifexpr: {{{7|}}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
#ifexpr: {{{7|}}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
+
#ifexpr: {{#var:tempInput3}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
#ifexpr: {{{7|}}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
#ifexpr: {{{7|}}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
#ifexpr: {{{7|}}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
#ifexpr: {{{7|}}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
#ifexpr: {{{7|}}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
+
#ifexpr: {{#var:tempInput3}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
#ifexpr: {{{7|}}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
#ifexpr: {{{7|}}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
#ifexpr: {{{7|}}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
#ifexpr: {{{7|}}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
#ifexpr: {{{7|}}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
+
#ifexpr: {{#var:tempInput3}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
#ifeq: {{{7|}}} |0| |
+
#ifeq: {{#var:tempInput3}} |0| |
 
<td colspan="{{#expr {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}"  bgcolor="{{{8}}}" style="text-align:center"> </td> }}<!--Warming-->{{
 
<td colspan="{{#expr {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}"  bgcolor="{{{8}}}" style="text-align:center"> </td> }}<!--Warming-->{{
#ifexpr: {{{9|}}} >= 16 | {{#vardefine:tempExact|1}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 16 | {{#vardefine:tempExact|1}} }}{{
#ifexpr: {{{9|}}} >= 32 | {{#vardefine:tempExact|2}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 32 | {{#vardefine:tempExact|2}} }}{{
#ifexpr: {{{9|}}} >= 48 | {{#vardefine:tempExact|3}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 48 | {{#vardefine:tempExact|3}} }}{{
#ifexpr: {{{9|}}} >= 64 | {{#vardefine:tempExact|4}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 64 | {{#vardefine:tempExact|4}} }}{{
#ifexpr: {{{9|}}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
+
#ifexpr: {{#var:tempInput4}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{
#ifexpr: {{{9|}}} >= 106 | {{#vardefine:tempExact|6}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 106 | {{#vardefine:tempExact|6}} }}{{
#ifexpr: {{{9|}}} >= 132 | {{#vardefine:tempExact|7}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 132 | {{#vardefine:tempExact|7}} }}{{
#ifexpr: {{{9|}}} >= 158 | {{#vardefine:tempExact|8}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 158 | {{#vardefine:tempExact|8}} }}{{
#ifexpr: {{{9|}}} >= 184 | {{#vardefine:tempExact|9}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 184 | {{#vardefine:tempExact|9}} }}{{
#ifexpr: {{{9|}}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
+
#ifexpr: {{#var:tempInput4}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{
#ifexpr: {{{9|}}} >= 264 | {{#vardefine:tempExact|11}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 264 | {{#vardefine:tempExact|11}} }}{{
#ifexpr: {{{9|}}} >= 318 | {{#vardefine:tempExact|12}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 318 | {{#vardefine:tempExact|12}} }}{{
#ifexpr: {{{9|}}} >= 372 | {{#vardefine:tempExact|13}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 372 | {{#vardefine:tempExact|13}} }}{{
#ifexpr: {{{9|}}} >= 426 | {{#vardefine:tempExact|14}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 426 | {{#vardefine:tempExact|14}} }}{{
#ifexpr: {{{9|}}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
+
#ifexpr: {{#var:tempInput4}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{
#ifexpr: {{{9|}}} >= 500 | {{#vardefine:tempExact|16}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 500 | {{#vardefine:tempExact|16}} }}{{
#ifexpr: {{{9|}}} >= 520 | {{#vardefine:tempExact|17}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 520 | {{#vardefine:tempExact|17}} }}{{
#ifexpr: {{{9|}}} >= 540 | {{#vardefine:tempExact|18}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 540 | {{#vardefine:tempExact|18}} }}{{
#ifexpr: {{{9|}}} >= 560 | {{#vardefine:tempExact|19}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 560 | {{#vardefine:tempExact|19}} }}{{
#ifexpr: {{{9|}}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
+
#ifexpr: {{#var:tempInput4}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{
#ifexpr: {{{9|}}} >= 610 | {{#vardefine:tempExact|21}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 610 | {{#vardefine:tempExact|21}} }}{{
#ifexpr: {{{9|}}} >= 640 | {{#vardefine:tempExact|22}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 640 | {{#vardefine:tempExact|22}} }}{{
#ifexpr: {{{9|}}} >= 670 | {{#vardefine:tempExact|23}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 670 | {{#vardefine:tempExact|23}} }}{{
#ifexpr: {{{9|}}} >= 700 | {{#vardefine:tempExact|24}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 700 | {{#vardefine:tempExact|24}} }}{{
#ifexpr: {{{9|}}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
+
#ifexpr: {{#var:tempInput4}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{
#ifexpr: {{{9|}}} >= 770 | {{#vardefine:tempExact|26}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 770 | {{#vardefine:tempExact|26}} }}{{
#ifexpr: {{{9|}}} >= 810 | {{#vardefine:tempExact|27}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 810 | {{#vardefine:tempExact|27}} }}{{
#ifexpr: {{{9|}}} >= 850 | {{#vardefine:tempExact|28}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 850 | {{#vardefine:tempExact|28}} }}{{
#ifexpr: {{{9|}}} >= 890 | {{#vardefine:tempExact|29}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 890 | {{#vardefine:tempExact|29}} }}{{
#ifexpr: {{{9|}}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
+
#ifexpr: {{#var:tempInput4}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{
#ifexpr: {{{9|}}} >= 964 | {{#vardefine:tempExact|31}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 964 | {{#vardefine:tempExact|31}} }}{{
#ifexpr: {{{9|}}} >= 998 | {{#vardefine:tempExact|32}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 998 | {{#vardefine:tempExact|32}} }}{{
#ifexpr: {{{9|}}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1032 | {{#vardefine:tempExact|33}} }}{{
#ifexpr: {{{9|}}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1066 | {{#vardefine:tempExact|34}} }}{{
#ifexpr: {{{9|}}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
+
#ifexpr: {{#var:tempInput4}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{
#ifexpr: {{{9|}}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1140 | {{#vardefine:tempExact|36}} }}{{
#ifexpr: {{{9|}}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1180 | {{#vardefine:tempExact|37}} }}{{
#ifexpr: {{{9|}}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1220 | {{#vardefine:tempExact|38}} }}{{
#ifexpr: {{{9|}}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1260 | {{#vardefine:tempExact|39}} }}{{
#ifexpr: {{{9|}}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
+
#ifexpr: {{#var:tempInput4}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{
#ifexpr: {{{9|}}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1320 | {{#vardefine:tempExact|41}} }}{{
#ifexpr: {{{9|}}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1340 | {{#vardefine:tempExact|42}} }}{{
#ifexpr: {{{9|}}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1360 | {{#vardefine:tempExact|43}} }}{{
#ifexpr: {{{9|}}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1380 | {{#vardefine:tempExact|44}} }}{{
#ifexpr: {{{9|}}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
+
#ifexpr: {{#var:tempInput4}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{
#ifexpr: {{{9|}}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1420 | {{#vardefine:tempExact|46}} }}{{
#ifexpr: {{{9|}}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1440 | {{#vardefine:tempExact|47}} }}{{
#ifexpr: {{{9|}}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1460 | {{#vardefine:tempExact|48}} }}{{
#ifexpr: {{{9|}}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1480 | {{#vardefine:tempExact|49}} }}{{
#ifexpr: {{{9|}}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
+
#ifexpr: {{#var:tempInput4}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{
#ifexpr: {{{9|}}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1520 | {{#vardefine:tempExact|51}} }}{{
#ifexpr: {{{9|}}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1540 | {{#vardefine:tempExact|52}} }}{{
#ifexpr: {{{9|}}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1560 | {{#vardefine:tempExact|53}} }}{{
#ifexpr: {{{9|}}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1580 | {{#vardefine:tempExact|54}} }}{{
#ifexpr: {{{9|}}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
+
#ifexpr: {{#var:tempInput4}} >= 1601 | {{#vardefine:tempExact|55}} }}{{
#ifeq: {{{9|}}} |0| |
+
#ifeq: {{#var:tempInput4}} |0| |
 
<td colspan="{{#expr {{#var:tempExact4}} - {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}"  bgcolor="{{{10}}}" style="text-align:center"> </td> }}
 
<td colspan="{{#expr {{#var:tempExact4}} - {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}"  bgcolor="{{{10}}}" style="text-align:center"> </td> }}
 
</tr></includeonly><noinclude>
 
</tr></includeonly><noinclude>

Revision as of 00:27, 17 October 2019

How to use: Template needs a Template:TempatureTableHead to work as it provides the category parts required. This is just an entry into the table. {{TempatureTableEntry|Item/Block Name|Page Link|Temp 1|Temp 1 color|Temp 2|Temp 2 color|Temp 3|Temp 3 color|Temp 4|Temp 4 color}} This will automatically covert number values into heat colors, only use the number values! 2-4 are optional enter 0 in the temp slot to disable.