Difference between revisions of "Template:TempatureTableEntry"

From TFC:TNG
Jump to navigation Jump to search
Line 79: Line 79:
 
{{#ifexpr: {{{5|}}} >= 158 | {{#vardefine:tempExact|8}} }}
 
{{#ifexpr: {{{5|}}} >= 158 | {{#vardefine:tempExact|8}} }}
 
{{#ifexpr: {{{5|}}} >= 184 | {{#vardefine:tempExact|9}} }}
 
{{#ifexpr: {{{5|}}} >= 184 | {{#vardefine:tempExact|9}} }}
{{#ifexpr: {{{5|}}} >= 210 | {{#vardefine:tempExact|10}} }}
+
{{#ifexpr: {{{5|}}} >= 210 | {{#vardefine:tempExact|10}} }}<!--Very Hot-->Test{{
<!--Very Hot-->Test
+
#ifexpr: {{{5|}}} >= 264 |{{#vardefine:tempExact|11}}}}{{
{{#ifexpr: {{{5|}}} >= 264 |{{#vardefine:tempExact|11}}}}
+
#ifexpr: {{{5|}}} >= 318 |{{#vardefine:tempExact|12}}}}{{
{{#ifexpr: {{{5|}}} >= 318 |{{#vardefine:tempExact|12}}}}
+
#ifexpr: {{{5|}}} >= 372 |{{#vardefine:tempExact|13}}}}{{
{{#ifexpr: {{{5|}}} >= 372 |{{#vardefine:tempExact|13}}}}
+
#ifexpr: {{{5|}}} >= 426 |{{#vardefine:tempExact|14}}}}{{
{{#ifexpr: {{{5|}}} >= 426 |{{#vardefine:tempExact|14}}}}
+
#ifexpr: {{{5|}}} >= 480 |{{#vardefine:tempExact|15}}}}<!--Faint Red-->test
{{#ifexpr: {{{5|}}} >= 480 |{{#vardefine:tempExact|15}}}}
 
<!--Faint Red-->test
 
 
{{#ifexpr: {{{5|}}} >= 500 | {{#vardefine:tempExact|16}} }}
 
{{#ifexpr: {{{5|}}} >= 500 | {{#vardefine:tempExact|16}} }}
 
{{#ifexpr: {{{5|}}} >= 520 | {{#vardefine:tempExact|17}} }}
 
{{#ifexpr: {{{5|}}} >= 520 | {{#vardefine:tempExact|17}} }}

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