Template:Storage grid: Difference between revisions
No edit summary |
added mode param |
||
Line 37: | Line 37: | ||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
}, | |||
"mode": { | |||
"label": "Mode", | |||
"description": "How to interpret the grids? If using grids defined in game YML files, use 'YML' format ('X1, Y1, X2, Y2'). Another format is 'Position use'/'Pos size': 'X, Y, Width, Height').", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Position size", | |||
"Pos size", | |||
"YML" | |||
], | |||
"default": "YML" | |||
} | } | ||
}, | }, | ||
"description": "Generates a storage grid.", | "description": "Generates a storage grid.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"mode", | |||
"1", | "1", | ||
"2", | "2", |
Revision as of 04:48, 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 'YML' format ('X1, Y1, X2, Y2'). Another format is 'Position use'/'Pos size': 'X, Y, Width, Height').
| Line | optional |
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 |