Difference between revisions of "Template:TempatureTableEntry"
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: {{ | + | #ifexpr: {{#var:tempInput2}} >= 16 | {{#vardefine:tempExact|1}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 32 | {{#vardefine:tempExact|2}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 48 | {{#vardefine:tempExact|3}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 64 | {{#vardefine:tempExact|4}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 106 | {{#vardefine:tempExact|6}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 132 | {{#vardefine:tempExact|7}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 158 | {{#vardefine:tempExact|8}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 184 | {{#vardefine:tempExact|9}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 264 | {{#vardefine:tempExact|11}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 318 | {{#vardefine:tempExact|12}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 372 | {{#vardefine:tempExact|13}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 426 | {{#vardefine:tempExact|14}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 500 | {{#vardefine:tempExact|16}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 520 | {{#vardefine:tempExact|17}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 540 | {{#vardefine:tempExact|18}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 560 | {{#vardefine:tempExact|19}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 610 | {{#vardefine:tempExact|21}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 640 | {{#vardefine:tempExact|22}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 670 | {{#vardefine:tempExact|23}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 700 | {{#vardefine:tempExact|24}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 770 | {{#vardefine:tempExact|26}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 810 | {{#vardefine:tempExact|27}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 850 | {{#vardefine:tempExact|28}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 890 | {{#vardefine:tempExact|29}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 964 | {{#vardefine:tempExact|31}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 998 | {{#vardefine:tempExact|32}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1032 | {{#vardefine:tempExact|33}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1066 | {{#vardefine:tempExact|34}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1140 | {{#vardefine:tempExact|36}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1180 | {{#vardefine:tempExact|37}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1220 | {{#vardefine:tempExact|38}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1260 | {{#vardefine:tempExact|39}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1320 | {{#vardefine:tempExact|41}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1340 | {{#vardefine:tempExact|42}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1360 | {{#vardefine:tempExact|43}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1380 | {{#vardefine:tempExact|44}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1420 | {{#vardefine:tempExact|46}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1440 | {{#vardefine:tempExact|47}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1460 | {{#vardefine:tempExact|48}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1480 | {{#vardefine:tempExact|49}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1520 | {{#vardefine:tempExact|51}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1540 | {{#vardefine:tempExact|52}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1560 | {{#vardefine:tempExact|53}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1580 | {{#vardefine:tempExact|54}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput2}} >= 1601 | {{#vardefine:tempExact|55}} }}{{ |
− | #ifeq: {{ | + | #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: {{ | + | #ifexpr: {{#var:tempInput3}} >= 16 | {{#vardefine:tempExact|1}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 32 | {{#vardefine:tempExact|2}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 48 | {{#vardefine:tempExact|3}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 64 | {{#vardefine:tempExact|4}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 106 | {{#vardefine:tempExact|6}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 132 | {{#vardefine:tempExact|7}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 158 | {{#vardefine:tempExact|8}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 184 | {{#vardefine:tempExact|9}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 264 | {{#vardefine:tempExact|11}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 318 | {{#vardefine:tempExact|12}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 372 | {{#vardefine:tempExact|13}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 426 | {{#vardefine:tempExact|14}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 500 | {{#vardefine:tempExact|16}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 520 | {{#vardefine:tempExact|17}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 540 | {{#vardefine:tempExact|18}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 560 | {{#vardefine:tempExact|19}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 610 | {{#vardefine:tempExact|21}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 640 | {{#vardefine:tempExact|22}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 670 | {{#vardefine:tempExact|23}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 700 | {{#vardefine:tempExact|24}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 770 | {{#vardefine:tempExact|26}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 810 | {{#vardefine:tempExact|27}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 850 | {{#vardefine:tempExact|28}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 890 | {{#vardefine:tempExact|29}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 964 | {{#vardefine:tempExact|31}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 998 | {{#vardefine:tempExact|32}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1032 | {{#vardefine:tempExact|33}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1066 | {{#vardefine:tempExact|34}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1140 | {{#vardefine:tempExact|36}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1180 | {{#vardefine:tempExact|37}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1220 | {{#vardefine:tempExact|38}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1260 | {{#vardefine:tempExact|39}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1320 | {{#vardefine:tempExact|41}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1340 | {{#vardefine:tempExact|42}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1360 | {{#vardefine:tempExact|43}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1380 | {{#vardefine:tempExact|44}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1420 | {{#vardefine:tempExact|46}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1440 | {{#vardefine:tempExact|47}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1460 | {{#vardefine:tempExact|48}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1480 | {{#vardefine:tempExact|49}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1520 | {{#vardefine:tempExact|51}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1540 | {{#vardefine:tempExact|52}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1560 | {{#vardefine:tempExact|53}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1580 | {{#vardefine:tempExact|54}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput3}} >= 1601 | {{#vardefine:tempExact|55}} }}{{ |
− | #ifeq: {{ | + | #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: {{ | + | #ifexpr: {{#var:tempInput4}} >= 16 | {{#vardefine:tempExact|1}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 32 | {{#vardefine:tempExact|2}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 48 | {{#vardefine:tempExact|3}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 64 | {{#vardefine:tempExact|4}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 106 | {{#vardefine:tempExact|6}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 132 | {{#vardefine:tempExact|7}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 158 | {{#vardefine:tempExact|8}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 184 | {{#vardefine:tempExact|9}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 264 | {{#vardefine:tempExact|11}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 318 | {{#vardefine:tempExact|12}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 372 | {{#vardefine:tempExact|13}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 426 | {{#vardefine:tempExact|14}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 500 | {{#vardefine:tempExact|16}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 520 | {{#vardefine:tempExact|17}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 540 | {{#vardefine:tempExact|18}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 560 | {{#vardefine:tempExact|19}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 610 | {{#vardefine:tempExact|21}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 640 | {{#vardefine:tempExact|22}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 670 | {{#vardefine:tempExact|23}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 700 | {{#vardefine:tempExact|24}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 770 | {{#vardefine:tempExact|26}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 810 | {{#vardefine:tempExact|27}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 850 | {{#vardefine:tempExact|28}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 890 | {{#vardefine:tempExact|29}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 964 | {{#vardefine:tempExact|31}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 998 | {{#vardefine:tempExact|32}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1032 | {{#vardefine:tempExact|33}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1066 | {{#vardefine:tempExact|34}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1140 | {{#vardefine:tempExact|36}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1180 | {{#vardefine:tempExact|37}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1220 | {{#vardefine:tempExact|38}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1260 | {{#vardefine:tempExact|39}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1320 | {{#vardefine:tempExact|41}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1340 | {{#vardefine:tempExact|42}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1360 | {{#vardefine:tempExact|43}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1380 | {{#vardefine:tempExact|44}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1420 | {{#vardefine:tempExact|46}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1440 | {{#vardefine:tempExact|47}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1460 | {{#vardefine:tempExact|48}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1480 | {{#vardefine:tempExact|49}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1520 | {{#vardefine:tempExact|51}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1540 | {{#vardefine:tempExact|52}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1560 | {{#vardefine:tempExact|53}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1580 | {{#vardefine:tempExact|54}} }}{{ |
− | #ifexpr: {{ | + | #ifexpr: {{#var:tempInput4}} >= 1601 | {{#vardefine:tempExact|55}} }}{{ |
− | #ifeq: {{ | + | #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.