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}} | ||
<td style="text-align:center">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td> | <td style="text-align:center">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td> | ||
− | |||
<!--Warming--> | <!--Warming--> | ||
{{#ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact|2}} }} | {{#ifexpr: {{{3|}}} >= 16 | {{#vardefine:tempExact|2}} }} | ||
Line 69: | Line 68: | ||
{{#ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact|56}} }} | {{#ifexpr: {{{3|}}} >= 1601 | {{#vardefine:tempExact|56}} }} | ||
<td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> </td> | <td colspan="{{#var:tempExact}}" bgcolor="{{{4}}}" style="text-align:center"> </td> | ||
− | + | ||
{{#if: {{{5|}}} | | {{#if: {{{5|}}} | | ||
<!--Warming--> | <!--Warming--> | ||
− | {{#ifexpr: {{{5|}}} >= 16 | {{#vardefine:tempExact|1 | + | {{#ifexpr: {{{5|}}} >= 16 | {{#vardefine:tempExact|1}} }} |
{{#ifexpr: {{{5|}}} >= 32 | {{#vardefine:tempExact|2}} }} | {{#ifexpr: {{{5|}}} >= 32 | {{#vardefine:tempExact|2}} }} | ||
{{#ifexpr: {{{5|}}} >= 48 | {{#vardefine:tempExact|3}} }} | {{#ifexpr: {{{5|}}} >= 48 | {{#vardefine:tempExact|3}} }} | ||
Line 138: | Line 137: | ||
{{#ifexpr: {{{5|}}} >= 1601 | {{#vardefine:tempExact|55}} }} | {{#ifexpr: {{{5|}}} >= 1601 | {{#vardefine:tempExact|55}} }} | ||
<td colspan="{{#expr {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{6}}}" style="text-align:center"> </td> | <td colspan="{{#expr {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{6}}}" style="text-align:center"> </td> | ||
− | }}</tr></includeonly><noinclude> | + | <!--Warming--> |
+ | {{#ifexpr: {{{7|}}} >= 16 | {{#vardefine:tempExact|1}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 32 | {{#vardefine:tempExact|2}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 48 | {{#vardefine:tempExact|3}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 64 | {{#vardefine:tempExact|4}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 80 | {{#vardefine:tempExact|5}} }} | ||
+ | <!--Hot--> | ||
+ | {{#ifexpr: {{{7|}}} >= 106 | {{#vardefine:tempExact|6}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 132 | {{#vardefine:tempExact|7}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 158 | {{#vardefine:tempExact|8}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 184 | {{#vardefine:tempExact|9}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 210 | {{#vardefine:tempExact|10}} }} | ||
+ | <!--Very Hot--> | ||
+ | {{#ifexpr: {{{7|}}} >= 264 | {{#vardefine:tempExact|11}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 318 | {{#vardefine:tempExact|12}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 372 | {{#vardefine:tempExact|13}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 426 | {{#vardefine:tempExact|14}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 480 | {{#vardefine:tempExact|15}} }} | ||
+ | <!--Faint Red--> | ||
+ | {{#ifexpr: {{{7|}}} >= 500 | {{#vardefine:tempExact|16}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 520 | {{#vardefine:tempExact|17}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 540 | {{#vardefine:tempExact|18}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 560 | {{#vardefine:tempExact|19}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 580 | {{#vardefine:tempExact|20}} }} | ||
+ | <!--Dark Red--> | ||
+ | {{#ifexpr: {{{7|}}} >= 610 | {{#vardefine:tempExact|21}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 640 | {{#vardefine:tempExact|22}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 670 | {{#vardefine:tempExact|23}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 700 | {{#vardefine:tempExact|24}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 730 | {{#vardefine:tempExact|25}} }} | ||
+ | <!--Bright Red--> | ||
+ | {{#ifexpr: {{{7|}}} >= 770 | {{#vardefine:tempExact|26}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 810 | {{#vardefine:tempExact|27}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 850 | {{#vardefine:tempExact|28}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 890 | {{#vardefine:tempExact|29}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 930 | {{#vardefine:tempExact|30}} }} | ||
+ | <!--Orange--> | ||
+ | {{#ifexpr: {{{7|}}} >= 964 | {{#vardefine:tempExact|31}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 998 | {{#vardefine:tempExact|32}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1032 | {{#vardefine:tempExact|33}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1066 | {{#vardefine:tempExact|34}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1100 | {{#vardefine:tempExact|35}} }} | ||
+ | <!--Yellow--> | ||
+ | {{#ifexpr: {{{7|}}} >= 1140 | {{#vardefine:tempExact|36}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1180 | {{#vardefine:tempExact|37}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1220 | {{#vardefine:tempExact|38}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1260 | {{#vardefine:tempExact|39}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1300 | {{#vardefine:tempExact|40}} }} | ||
+ | <!--Yellow White--> | ||
+ | {{#ifexpr: {{{7|}}} >= 1320 | {{#vardefine:tempExact|41}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1340 | {{#vardefine:tempExact|42}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1360 | {{#vardefine:tempExact|43}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1380 | {{#vardefine:tempExact|44}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1400 | {{#vardefine:tempExact|45}} }} | ||
+ | <!--White--> | ||
+ | {{#ifexpr: {{{7|}}} >= 1420 | {{#vardefine:tempExact|46}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1440 | {{#vardefine:tempExact|47}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1460 | {{#vardefine:tempExact|48}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1480 | {{#vardefine:tempExact|49}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1500 | {{#vardefine:tempExact|50}} }} | ||
+ | <!--Brilliant White--> | ||
+ | {{#ifexpr: {{{7|}}} >= 1520 | {{#vardefine:tempExact|51}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1540 | {{#vardefine:tempExact|52}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1560 | {{#vardefine:tempExact|53}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1580 | {{#vardefine:tempExact|54}} }} | ||
+ | {{#ifexpr: {{{7|}}} >= 1601 | {{#vardefine:tempExact|55}} }} | ||
+ | <td colspan="{{#expr {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{8}}}" style="text-align:center"> </td> | ||
+ | <!--Warming--> | ||
+ | {{#ifexpr: {{{9|}}} >= 16 | {{#vardefine:tempExact|1}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 32 | {{#vardefine:tempExact|2}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 48 | {{#vardefine:tempExact|3}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 64 | {{#vardefine:tempExact|4}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 80 | {{#vardefine:tempExact|5}} }} | ||
+ | <!--Hot--> | ||
+ | {{#ifexpr: {{{9|}}} >= 106 | {{#vardefine:tempExact|6}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 132 | {{#vardefine:tempExact|7}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 158 | {{#vardefine:tempExact|8}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 184 | {{#vardefine:tempExact|9}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 210 | {{#vardefine:tempExact|10}} }} | ||
+ | <!--Very Hot--> | ||
+ | {{#ifexpr: {{{9|}}} >= 264 | {{#vardefine:tempExact|11}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 318 | {{#vardefine:tempExact|12}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 372 | {{#vardefine:tempExact|13}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 426 | {{#vardefine:tempExact|14}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 480 | {{#vardefine:tempExact|15}} }} | ||
+ | <!--Faint Red--> | ||
+ | {{#ifexpr: {{{9|}}} >= 500 | {{#vardefine:tempExact|16}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 520 | {{#vardefine:tempExact|17}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 540 | {{#vardefine:tempExact|18}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 560 | {{#vardefine:tempExact|19}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 580 | {{#vardefine:tempExact|20}} }} | ||
+ | <!--Dark Red--> | ||
+ | {{#ifexpr: {{{9|}}} >= 610 | {{#vardefine:tempExact|21}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 640 | {{#vardefine:tempExact|22}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 670 | {{#vardefine:tempExact|23}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 700 | {{#vardefine:tempExact|24}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 730 | {{#vardefine:tempExact|25}} }} | ||
+ | <!--Bright Red--> | ||
+ | {{#ifexpr: {{{9|}}} >= 770 | {{#vardefine:tempExact|26}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 810 | {{#vardefine:tempExact|27}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 850 | {{#vardefine:tempExact|28}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 890 | {{#vardefine:tempExact|29}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 930 | {{#vardefine:tempExact|30}} }} | ||
+ | <!--Orange--> | ||
+ | {{#ifexpr: {{{9|}}} >= 964 | {{#vardefine:tempExact|31}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 998 | {{#vardefine:tempExact|32}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1032 | {{#vardefine:tempExact|33}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1066 | {{#vardefine:tempExact|34}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1100 | {{#vardefine:tempExact|35}} }} | ||
+ | <!--Yellow--> | ||
+ | {{#ifexpr: {{{9|}}} >= 1140 | {{#vardefine:tempExact|36}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1180 | {{#vardefine:tempExact|37}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1220 | {{#vardefine:tempExact|38}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1260 | {{#vardefine:tempExact|39}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1300 | {{#vardefine:tempExact|40}} }} | ||
+ | <!--Yellow White--> | ||
+ | {{#ifexpr: {{{9|}}} >= 1320 | {{#vardefine:tempExact|41}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1340 | {{#vardefine:tempExact|42}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1360 | {{#vardefine:tempExact|43}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1380 | {{#vardefine:tempExact|44}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1400 | {{#vardefine:tempExact|45}} }} | ||
+ | <!--White--> | ||
+ | {{#ifexpr: {{{9|}}} >= 1420 | {{#vardefine:tempExact|46}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1440 | {{#vardefine:tempExact|47}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1460 | {{#vardefine:tempExact|48}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1480 | {{#vardefine:tempExact|49}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1500 | {{#vardefine:tempExact|50}} }} | ||
+ | <!--Brilliant White--> | ||
+ | {{#ifexpr: {{{9|}}} >= 1520 | {{#vardefine:tempExact|51}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1540 | {{#vardefine:tempExact|52}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1560 | {{#vardefine:tempExact|53}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1580 | {{#vardefine:tempExact|54}} }} | ||
+ | {{#ifexpr: {{{9|}}} >= 1601 | {{#vardefine:tempExact|55}} }} | ||
+ | <td colspan="{{#expr {{#var:tempExact4}} - {{#var:tempExact3}} - {{#var:tempExact2}} - {{#var:tempExact}} }}" bgcolor="{{{10}}}" style="text-align:center"> </td> | ||
+ | </tr></includeonly><noinclude> | ||
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. | 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. | ||
<code><nowiki>{{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}}</nowiki></code> This will automatically covert number values into heat colors, only use the number values! 2-4 are optional. | <code><nowiki>{{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}}</nowiki></code> This will automatically covert number values into heat colors, only use the number values! 2-4 are optional. | ||
</noinclude> | </noinclude> |
Revision as of 23:55, 16 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.