Template:AdjustTemperature: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Moony
No edit summary
imported>Aliser
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|}}}|&#x20;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

Template:Documentation <templatedata> { "params": { "amount": { "label": "Amount of thermal units", "type": "number", "default": "0", "suggested": true }, "when": { "label": "When what happens?", "type": "string", "suggested": true } } } </templatedata>