Template:AdjustReagent: Difference between revisions
imported>Aliser docs |
imported>Aliser docs |
||
| Line 7: | Line 7: | ||
[[Category:Templates without specific category]] | [[Category:Templates without specific category]] | ||
[[Category:Templates without documentation pages]] | [[Category:Templates without documentation pages]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"amount": { | |||
"label": "Amount of change", | |||
"description": "Usually a whole number", | |||
"example": "4", | |||
"type": "number", | |||
"default": "0", | |||
"suggested": true | |||
}, | |||
"prob": { | |||
"label": "Probability of a change occurring", | |||
"description": "A number from 0 to 1.", | |||
"example": "0.4", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"reagent": { | |||
"label": "Reagent name", | |||
"description": "TODO", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"when": { | |||
"label": "Condition", | |||
"example": "more than 1u lexorin present", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Describes a chance of adding or removing certain reagent when a condition satisfies.\n\n" | |||
} | |||
</templatedata></noinclude> | |||
Revision as of 15:06, 24 June 2024
Template:Documentation <templatedata> { "params": { "amount": { "label": "Amount of change", "description": "Usually a whole number", "example": "4", "type": "number", "default": "0", "suggested": true }, "prob": { "label": "Probability of a change occurring", "description": "A number from 0 to 1.", "example": "0.4", "type": "number", "required": true }, "reagent": { "label": "Reagent name", "description": "TODO", "type": "string", "required": true }, "when": { "label": "Condition", "example": "more than 1u lexorin present", "type": "string", "required": true } }, "description": "Describes a chance of adding or removing certain reagent when a condition satisfies.\n\n" } </templatedata>