Difference between revisions of "Template:TempatureTableEntry"

From TFC:TNG
Jump to navigation Jump to search
Line 4: Line 4:
 
#if:{{{9|}}}|{{#vardefine:tempInput4|{{{9}}}}}|{{#vardefine:tempInput4|0}}}}
 
#if:{{{9|}}}|{{#vardefine:tempInput4|{{{9}}}}}|{{#vardefine:tempInput4|0}}}}
 
<tr>
 
<tr>
<td style="text-align:center">{{ItemIcon|{{{1|}}}|{{{2|}}}}} {{{1}}} </td><!--Warming-->{{
+
<td style="text-align:left">{{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}} }}{{

Revision as of 01:49, 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.