Template:Infobox component
Renders an infobox for a Logic World component
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The title shown above and outside the infobox, usually the name of the gate. | Line | required |
id | id | The ID of the component as specified in its .jecs definition file. | Line | required |
image | image | The main image to show on the infobox, usually a 200px render of the component.
| File | optional |
configurable | configurable | Whether this component can be configured after being placed in order to e.g. change the number of inputs.
| Boolean | optional |
io.minInputs | io.minInputs | The minimum amount of inputs that the component can have, e.g. the AND gate must have at least two inputs. | Number | optional |
io.maxInputs | io.maxInputs | For components with an adjustable amount of inputs, this argument specifies the maximum number of inputs, e.g. the AND gate can have at most 4 inputs. | Number | optional |
io.outputs | io.outputs | The number of outputs this component has. | Number | optional |
io.propagationDelay | io.propagationDelay | The number of ticks that this component takes before its outputs reflect its internal state, whether through setting outputs or interacting with the world in some other way (e.g. displays). | Number | optional |