Template:Storage grid: Difference between revisions
has derivative templates |
bb order |
||
Line 3: | Line 3: | ||
-->{{#invoke: Storage grid|main}}</includeonly><noinclude> | -->{{#invoke: Storage grid|main}}</includeonly><noinclude> | ||
{{docs|bb= | {{docs|bb= | ||
{{has derivative templates|Infobox storage grid}} | |||
{{uses lua|Storage grid}} | {{uses lua|Storage grid}} | ||
{{uses template styles}} | {{uses template styles}} | ||
}} | }} | ||
Latest revision as of 18:18, 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 |