Template:Beaker fill: Difference between revisions
imported>Aliser No edit summary |
imported>Aliser No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Beaker fill|main}}</includeonly><noinclude> | <includeonly><templatestyles src="Beaker fill/styles.css"></templatestyles><!-- | ||
-->{{#invoke:Beaker fill|main}}</includeonly><noinclude> | |||
{{docs|bb= | {{docs|bb= | ||
{{uses lua|Beaker fill}} | {{uses lua|Beaker fill}} | ||
| Line 9: | Line 11: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Amount", | "label": "Size", | ||
"description": "Size of the beaker", | |||
"type": "line", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"Small", | |||
"Large" | |||
] | |||
}, | |||
"2": { | |||
"label": "Amount of the liquid", | |||
"description": "Amount of liquid inside, units.", | "description": "Amount of liquid inside, units.", | ||
"example": "10", | "example": "10", | ||
| Line 15: | Line 27: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "3": { | ||
"label": "Color", | "label": "Color of the liquid", | ||
"description": "Color of the liquid inside, CSS-color.", | "description": "Color of the liquid inside, CSS-color.", | ||
"example": "#0091ff", | "example": "#0091ff", | ||
| Line 33: | Line 45: | ||
"1", | "1", | ||
"2", | "2", | ||
"3", | |||
"capacity" | "capacity" | ||
], | ], | ||
Latest revision as of 10:33, 29 March 2026
<templatedata> { "params": { "1": { "label": "Size", "description": "Size of the beaker", "type": "line", "required": true, "suggestedvalues": [ "Small", "Large" ] }, "2": { "label": "Amount of the liquid", "description": "Amount of liquid inside, units.", "example": "10", "type": "number", "required": true }, "3": { "label": "Color of the liquid", "description": "Color of the liquid inside, CSS-color.", "example": "#0091ff", "type": "line", "required": true }, "capacity": { "label": "Capacity", "description": "Capacity of the beaker, units.", "default": "50", "suggested": true } }, "description": "Creates an image of a beaker filled with a liquid of specified color. Changes visually based on the amount of the liquid inside, imitating the beaker in-game.", "paramOrder": [ "1", "2", "3", "capacity" ], "format": "inline" } </templatedata>