Difference between revisions of "Template:TemperatureScale"
From TerraFirmaCraft Plus Wiki
Dingliddle2 (Talk | contribs) m |
Dingliddle2 (Talk | contribs) m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <!-- WIP --> | + | <!-- 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: | + | {{#ifexpr: {{{1}}} < 80 | Warming{{#sub:★★★★★|0|{{#expr: floor({{{1}}}/16)}} }} |
− | |{{#ifexpr: {{{1}}} < 210 | Hot | + | |{{#ifexpr: {{{1}}} < 210 | Hot {{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 80) / 26)}} }} |
− | |{{#ifexpr: {{{1}}} < 480 | Very Hot | + | |{{#ifexpr: {{{1}}} < 480 | Very Hot{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 210) / 54)}} }} |
− | |{{#ifexpr: {{{1}}} < 580 | Faint Red | + | |{{#ifexpr: {{{1}}} < 580 | Faint Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 480) / 20)}} }} |
− | |{{#ifexpr: {{{1}}} < 730| Dark Red | + | |{{#ifexpr: {{{1}}} < 730| Dark Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 580) / 30)}} }} |
− | |{{#ifexpr: {{{1}}} < 930 | Bright Red | + | |{{#ifexpr: {{{1}}} < 930 | Bright Red{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 930) / 40)}} }} |
− | |{{#ifexpr: {{{1}}} < 1100 | Orange | + | |{{#ifexpr: {{{1}}} < 1100 | Orange{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 930) / 34)}} }} |
− | |{{#ifexpr: {{{1}}} < 1300 | Yellow | + | |{{#ifexpr: {{{1}}} < 1300 | Yellow{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 1100) / 40)}} }} |
− | |{{#ifexpr: {{{1}}} < 1400 | Yellow White | + | |{{#ifexpr: {{{1}}} < 1400 | Yellow White{{#sub:★★★★★|0|{{#expr: floor(({{{1}}} - 1300) / 20)}} }} |
− | |{{#ifexpr: {{{1}}} < 1500 | White | Brilliant White }} }} }} }} }} }} }} }} }} }} | + | |{{#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 "{".