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