Template:AdjustTemperature: Difference between revisions
From Space Station 14 Wiki
No edit summary |
(cat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexpr:{{{amount|0}}}>0|Warms you up|Cools you down}} by {{#expr: abs {{{amount|0}}}}} thermal units{{#if:{{{when|}}}| when {{{when}}}}}. | <includeonly>{{#ifexpr:{{{amount|0}}}>0|Warms you up|Cools you down}} by {{#expr: abs {{{amount|0}}}}} thermal units{{#if:{{{when|}}}| when {{{when}}}}}.</includeonly><noinclude> | ||
{{documentation}} | |||
[[Category:Recipe templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"amount": { | |||
"label": "Amount of thermal units", | |||
"type": "number", | |||
"default": "0", | |||
"suggested": true | |||
}, | |||
"when": { | |||
"label": "When what happens?", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Describes a change of your temperature in Thermal Units when X happens." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 17:05, 24 June 2024
{{AdjustTemperature|when=drinking slime from the floor|amount=-30}}
→ Cools you down by 30 thermal units when drinking slime from the floor.{{AdjustTemperature|when=looking at the sun|amount=50}}
→ Warms you up by 50 thermal units when looking at the sun.
Describes a change of your temperature in Thermal Units when X happens.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amount of thermal units | amount | no description
| Number | suggested |
When what happens? | when | no description | String | suggested |