Template:Storage grid: Difference between revisions
No edit summary |
added slot size |
||
Line 49: | Line 49: | ||
], | ], | ||
"default": "Position x Position", | "default": "Position x Position", | ||
"suggested": true | |||
}, | |||
"slot size": { | |||
"label": "Slot size", | |||
"description": "Size of a single slot.", | |||
"type": "line", | |||
"default": "2em", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 55: | Line 62: | ||
"paramOrder": [ | "paramOrder": [ | ||
"mode", | "mode", | ||
"slot size", | |||
"1", | "1", | ||
"2", | "2", |
Revision as of 05:19, 30 March 2025
Usage
{{storage grid
Example
Position x Position mode (for YML grids, default)
Single grid
A simple 1x2 grid.
{{storage grid
↓
Two grids
A 1x4 and 2x4 grids with one-cell-wide empty space in between.
{{storage grid
↓
Three grids
A 2x4, 2x3 and 2x4 grids with one-cell-wide empty space in between each.
{{storage grid
↓
Position x Size mode (alternative mode)
Single grid
A simple 1x2 grid.
{{storage grid
↓
Two grids
A 1x4 and 2x4 grids with one-cell-wide empty space in between.
{{storage grid
↓
Three grids
A 2x4, 2x3 and 2x4 grids with one-cell-wide empty space in between each.
{{storage grid
↓
Generates a storage grid.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Mode | mode | How to interpret the grids? If using grids defined in game YML files, use 'Position x Position' format (x1, y1, x2, y2), which is the default. Another format is 'Position x Size' (x, y, width, height). Lowercase value are allowed.
| Line | suggested |
Slot size | slot size | Size of a single slot.
| Line | suggested |
Grid 1 | 1 | Specify a single grid using format 'x, y, width, height'.
| Line | required |
Grid 2 | 2 | no description | Line | suggested |
Grid 3 | 3 | no description | Line | suggested |
Grid 4 | 4 | no description | Line | suggested |
Grid 5 | 5 | no description | Line | suggested |