Difference between revisions of "Template:TempatureTableEntry"
Jump to navigation
Jump to search
Tag: Undo |
|||
Line 5: | Line 5: | ||
<tr> | <tr> | ||
<td style="text-align:left">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td><!--Warming-->{{ | <td style="text-align:left">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td><!--Warming-->{{ | ||
− | #ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact|1}} }}{{ |
− | #ifexpr: {{{3|}}} >= 32 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 32 | {{#vardefine:tempExact|2}} }}{{ |
− | #ifexpr: {{{3|}}} >= 48 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 48 | {{#vardefine:tempExact|3}} }}{{ |
− | #ifexpr: {{{3|}}} >= 64 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 64 | {{#vardefine:tempExact|4}} }}{{ |
− | #ifexpr: {{{3|}}} >= 80 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 80 | {{#vardefine:tempExact|5}} }}<!--Hot-->{{ |
− | #ifexpr: {{{3|}}} >= 106 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 106 | {{#vardefine:tempExact|6}} }}{{ |
− | #ifexpr: {{{3|}}} >= 132 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 132 | {{#vardefine:tempExact|7}} }}{{ |
− | #ifexpr: {{{3|}}} >= 158 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 158 | {{#vardefine:tempExact|8}} }}{{ |
− | #ifexpr: {{{3|}}} >= 184 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 184 | {{#vardefine:tempExact|9}} }}{{ |
− | #ifexpr: {{{3|}}} >= 210 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->{{ |
− | #ifexpr: {{{3|}}} >= 264 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 264 | {{#vardefine:tempExact|11}} }}{{ |
− | #ifexpr: {{{3|}}} >= 318 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 318 | {{#vardefine:tempExact|12}} }}{{ |
− | #ifexpr: {{{3|}}} >= 372 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 372 | {{#vardefine:tempExact|13}} }}{{ |
− | #ifexpr: {{{3|}}} >= 426 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 426 | {{#vardefine:tempExact|14}} }}{{ |
− | #ifexpr: {{{3|}}} >= 480 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 480 | {{#vardefine:tempExact|15}} }}<!--Faint Red-->{{ |
− | #ifexpr: {{{3|}}} >= 500 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 500 | {{#vardefine:tempExact|16}} }}{{ |
− | #ifexpr: {{{3|}}} >= 520 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 520 | {{#vardefine:tempExact|17}} }}{{ |
− | #ifexpr: {{{3|}}} >= 540 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 540 | {{#vardefine:tempExact|18}} }}{{ |
− | #ifexpr: {{{3|}}} >= 560 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 560 | {{#vardefine:tempExact|19}} }}{{ |
− | #ifexpr: {{{3|}}} >= 580 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 580 | {{#vardefine:tempExact|20}} }}<!--Dark Red-->{{ |
− | #ifexpr: {{{3|}}} >= 610 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 610 | {{#vardefine:tempExact|21}} }}{{ |
− | #ifexpr: {{{3|}}} >= 640 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 640 | {{#vardefine:tempExact|22}} }}{{ |
− | #ifexpr: {{{3|}}} >= 670 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 670 | {{#vardefine:tempExact|23}} }}{{ |
− | #ifexpr: {{{3|}}} >= 700 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 700 | {{#vardefine:tempExact|24}} }}{{ |
− | #ifexpr: {{{3|}}} >= 730 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 730 | {{#vardefine:tempExact|25}} }}<!--Bright Red-->{{ |
− | #ifexpr: {{{3|}}} >= 770 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 770 | {{#vardefine:tempExact|26}} }}{{ |
− | #ifexpr: {{{3|}}} >= 810 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 810 | {{#vardefine:tempExact|27}} }}{{ |
− | #ifexpr: {{{3|}}} >= 850 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 850 | {{#vardefine:tempExact|28}} }}{{ |
− | #ifexpr: {{{3|}}} >= 890 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 890 | {{#vardefine:tempExact|29}} }}{{ |
− | #ifexpr: {{{3|}}} >= 930 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 930 | {{#vardefine:tempExact|30}} }}<!--Orange-->{{ |
− | #ifexpr: {{{3|}}} >= 964 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 964 | {{#vardefine:tempExact|31}} }}{{ |
− | #ifexpr: {{{3|}}} >= 998 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 998 | {{#vardefine:tempExact|32}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1032 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1032 | {{#vardefine:tempExact|33}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1066 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1066 | {{#vardefine:tempExact|34}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1100 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1100 | {{#vardefine:tempExact|35}} }}<!--Yellow-->{{ |
− | #ifexpr: {{{3|}}} >= 1140 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1140 | {{#vardefine:tempExact|36}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1180 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1180 | {{#vardefine:tempExact|37}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1220 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1220 | {{#vardefine:tempExact|38}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1260 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1260 | {{#vardefine:tempExact|39}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1300 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1300 | {{#vardefine:tempExact|40}} }}<!--Yellow White-->{{ |
− | #ifexpr: {{{3|}}} >= 1320 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1320 | {{#vardefine:tempExact|41}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1340 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1340 | {{#vardefine:tempExact|42}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1360 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1360 | {{#vardefine:tempExact|43}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1380 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1380 | {{#vardefine:tempExact|44}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1400 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1400 | {{#vardefine:tempExact|45}} }}<!--White-->{{ |
− | #ifexpr: {{{3|}}} >= 1420 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1420 | {{#vardefine:tempExact|46}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1440 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1440 | {{#vardefine:tempExact|47}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1460 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1460 | {{#vardefine:tempExact|48}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1480 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1480 | {{#vardefine:tempExact|49}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1500 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1500 | {{#vardefine:tempExact|50}} }}<!--Brilliant White-->{{ |
− | #ifexpr: {{{3|}}} >= 1520 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1520 | {{#vardefine:tempExact|51}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1540 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1540 | {{#vardefine:tempExact|52}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1560 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1560 | {{#vardefine:tempExact|53}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1580 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1580 | {{#vardefine:tempExact|54}} }}{{ |
− | #ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact| | + | #ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact|55}} }} |
<td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> {{{3}}}° </td><!--Warming-->{{ | <td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> {{{3}}}° </td><!--Warming-->{{ | ||
#ifexpr: {{#var:tempInput2}} >= 16 | {{#vardefine:tempExact2|1}} }}{{ | #ifexpr: {{#var:tempInput2}} >= 16 | {{#vardefine:tempExact2|1}} }}{{ |
Revision as of 07:34, 21 November 2019
How to use: This template needs a Template:TempatureTableHead to work as it provides the category parts required. This is just an entry into the table! This will automatically covert number values into heat colors, only use the number values! 2-4 are optional.
{{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}}
MAKE SURE TO CLOSE THE TABLE WITH </table> OR IT WILL BREAK!