Template:AdjustTemperature: Difference between revisions
From Space Station 14 Wiki
No edit summary |
(docs) |
||
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:Templates without specific category]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"amount": { | |||
"label": "Amount of thermal units", | |||
"type": "number", | |||
"default": "0", | |||
"suggested": true | |||
}, | |||
"when": { | |||
"label": "When what happens?", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 14:41, 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.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amount of thermal units | amount | no description
| Number | suggested |
When what happens? | when | no description | String | suggested |