Difference between revisions of "Template:TemperatureScale"

From TerraFirmaCraft Plus Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
<!-- WIP. gonna fix this tomorrow, stars become dots on a new line for some reason but it otherwise seems to function -->
 
<!-- WIP. gonna fix this tomorrow, stars become dots on a new line for some reason but it otherwise seems to function -->
  
{{#ifexpr: {{{1}}} < 80 | Warming{{#sub:*****|0|{{#expr: floor({{{1}}}/16)}} }}
+
{{#ifexpr: {{{1}}} < 80 | Warming{{#sub:★★★★★|0|{{#expr: floor({{{1}}}/16)}} }}
|{{#ifexpr: {{{1}}} < 210 | Hot {{#sub:*****|0|{{#expr: floor(({{{1}}} - 80) / 26)}} }}
+
|{{#ifexpr: {{{1}}} < 210 | Hot {{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 80) / 26)}} }}
|{{#ifexpr: {{{1}}} < 480 | Very Hot{{#sub:*****|0|{{#expr: floor(({{{1}}} - 210) / 54)}} }}
+
|{{#ifexpr: {{{1}}} < 480 | Very Hot{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 210) / 54)}} }}
|{{#ifexpr: {{{1}}} < 580 | Faint Red{{#sub:*****|0|{{#expr: floor(({{{1}}} - 480) / 20)}} }}
+
|{{#ifexpr: {{{1}}} < 580 | Faint Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 480) / 20)}} }}
|{{#ifexpr: {{{1}}} < 730| Dark Red{{#sub:*****|0|{{#expr: floor(({{{1}}} - 580) / 30)}} }}
+
|{{#ifexpr: {{{1}}} < 730| Dark Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 580) / 30)}} }}
|{{#ifexpr: {{{1}}} < 930 | Bright Red{{#sub:*****|0|{{#expr: floor(({{{1}}} - 930) / 40)}} }}
+
|{{#ifexpr: {{{1}}} < 930 | Bright Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 930) / 40)}} }}
|{{#ifexpr: {{{1}}} < 1100 | Orange{{#sub:*****|0|{{#expr: floor(({{{1}}} - 930) / 34)}} }}
+
|{{#ifexpr: {{{1}}} < 1100 | Orange{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 930) / 34)}} }}
|{{#ifexpr: {{{1}}} < 1300 | Yellow{{#sub:*****|0|{{#expr: floor(({{{1}}} - 1100) / 40)}} }}
+
|{{#ifexpr: {{{1}}} < 1300 | Yellow{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 1100) / 40)}} }}
|{{#ifexpr: {{{1}}} < 1400 | Yellow White{{#sub:*****|0|{{#expr: floor(({{{1}}} - 1300) / 20)}} }}
+
|{{#ifexpr: {{{1}}} < 1400 | Yellow White{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 1300) / 20)}} }}
|{{#ifexpr: {{{1}}} < 1500 | White | Brilliant White{{#sub:*****|0|{{#expr: floor(({{{1}}} - 1500) / 20)}} }} }} }} }} }} }} }} }} }} }} }}
+
|{{#ifexpr: {{{1}}} < 1500 | White | Brilliant White{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 1500) / 20)}} }} }} }} }} }} }} }} }} }} }} }}

Latest revision as of 18:14, 5 November 2020


Expression error: Unrecognized punctuation character "{".