Difference between revisions of "Template:TempatureTableEntry"

From TFC:TNG
Jump to navigation Jump to search
Line 68: 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-->
Line 248: Line 247:
 
{{#ifexpr: {{{9|}}} >= 1066 | {{#vardefine:tempExact|34}} }}
 
{{#ifexpr: {{{9|}}} >= 1066 | {{#vardefine:tempExact|34}} }}
 
{{#ifexpr: {{{9|}}} >= 1100 | {{#vardefine:tempExact|35}} }}
 
{{#ifexpr: {{{9|}}} >= 1100 | {{#vardefine:tempExact|35}} }}
<!--Yellow-->  
+
<!--Yellow-->
 
{{#ifexpr: {{{9|}}} >= 1140 | {{#vardefine:tempExact|36}} }}
 
{{#ifexpr: {{{9|}}} >= 1140 | {{#vardefine:tempExact|36}} }}
 
{{#ifexpr: {{{9|}}} >= 1180 | {{#vardefine:tempExact|37}} }}
 
{{#ifexpr: {{{9|}}} >= 1180 | {{#vardefine:tempExact|37}} }}
Line 254: Line 253:
 
{{#ifexpr: {{{9|}}} >= 1260 | {{#vardefine:tempExact|39}} }}
 
{{#ifexpr: {{{9|}}} >= 1260 | {{#vardefine:tempExact|39}} }}
 
{{#ifexpr: {{{9|}}} >= 1300 | {{#vardefine:tempExact|40}} }}
 
{{#ifexpr: {{{9|}}} >= 1300 | {{#vardefine:tempExact|40}} }}
<!--Yellow White-->  
+
<!--Yellow White-->
 
{{#ifexpr: {{{9|}}} >= 1320 | {{#vardefine:tempExact|41}} }}
 
{{#ifexpr: {{{9|}}} >= 1320 | {{#vardefine:tempExact|41}} }}
 
{{#ifexpr: {{{9|}}} >= 1340 | {{#vardefine:tempExact|42}} }}
 
{{#ifexpr: {{{9|}}} >= 1340 | {{#vardefine:tempExact|42}} }}
Line 260: Line 259:
 
{{#ifexpr: {{{9|}}} >= 1380 | {{#vardefine:tempExact|44}} }}
 
{{#ifexpr: {{{9|}}} >= 1380 | {{#vardefine:tempExact|44}} }}
 
{{#ifexpr: {{{9|}}} >= 1400 | {{#vardefine:tempExact|45}} }}
 
{{#ifexpr: {{{9|}}} >= 1400 | {{#vardefine:tempExact|45}} }}
<!--White-->  
+
<!--White-->
 
{{#ifexpr: {{{9|}}} >= 1420 | {{#vardefine:tempExact|46}} }}
 
{{#ifexpr: {{{9|}}} >= 1420 | {{#vardefine:tempExact|46}} }}
 
{{#ifexpr: {{{9|}}} >= 1440 | {{#vardefine:tempExact|47}} }}
 
{{#ifexpr: {{{9|}}} >= 1440 | {{#vardefine:tempExact|47}} }}
Line 266: Line 265:
 
{{#ifexpr: {{{9|}}} >= 1480 | {{#vardefine:tempExact|49}} }}
 
{{#ifexpr: {{{9|}}} >= 1480 | {{#vardefine:tempExact|49}} }}
 
{{#ifexpr: {{{9|}}} >= 1500 | {{#vardefine:tempExact|50}} }}
 
{{#ifexpr: {{{9|}}} >= 1500 | {{#vardefine:tempExact|50}} }}
<!--Brilliant White-->  
+
<!--Brilliant White-->
 
{{#ifexpr: {{{9|}}} >= 1520 | {{#vardefine:tempExact|51}} }}
 
{{#ifexpr: {{{9|}}} >= 1520 | {{#vardefine:tempExact|51}} }}
 
{{#ifexpr: {{{9|}}} >= 1540 | {{#vardefine:tempExact|52}} }}
 
{{#ifexpr: {{{9|}}} >= 1540 | {{#vardefine:tempExact|52}} }}

Revision as of 00:06, 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.