Template:Storage grid/doc: Difference between revisions
From Space Station 14 Wiki
support for mode |
|||
Line 3: | Line 3: | ||
== Example == | == Example == | ||
=== Single grid === | === Position x Position mode (for YML grids, default) === | ||
==== Single grid ==== | |||
A simple 1x2 grid. | A simple 1x2 grid. | ||
{{tji|storage grid|0,0,1 | {{tji|storage grid|0,0,0,1}} | ||
{{gda}} | {{gda}} | ||
{{storage grid|0,0,1 | {{storage grid|0,0,0,1}} | ||
=== Two grids === | ==== Two grids ==== | ||
A 1x4 and 2x4 grids with one-cell-wide empty space in between. | A 1x4 and 2x4 grids with one-cell-wide empty space in between. | ||
{{tji|storage grid|0,0, | {{tji|storage grid|0,0,0,3|2,0,3,3}} | ||
{{gda}} | {{gda}} | ||
{{storage grid|0,0, | {{storage grid|0,0,0,3|2,0,3,3}} | ||
=== Three grids === | ==== Three grids ==== | ||
A 2x4, 2x3 and 2x4 grids with one-cell-wide empty space in between each. | A 2x4, 2x3 and 2x4 grids with one-cell-wide empty space in between each. | ||
{{tji|storage grid|0,0, | {{tji|storage grid|0,0,1,3|2,1,3,3|5,0,1,3}} | ||
{{gda}} | {{gda}} | ||
{{storage grid|0,0,2,4|3,1,2,3|6,0,2,4}} | {{storage grid|0,0,1,3|3,1,4,3|6,0,7,3}} | ||
=== Position x Size mode (alternative mode) === | |||
==== Single grid ==== | |||
A simple 1x2 grid. | |||
{{tji|storage grid|mode:pos size|0,0,1,2}} | |||
{{gda}} | |||
{{storage grid|mode=pos size|0,0,1,2}} | |||
==== Two grids ==== | |||
A 1x4 and 2x4 grids with one-cell-wide empty space in between. | |||
{{tji|storage grid|mode:pos size|0,0,1,4|2,0,2,4}} | |||
{{gda}} | |||
{{storage grid|mode=pos size|0,0,1,4|2,0,2,4}} | |||
==== Three grids ==== | |||
A 2x4, 2x3 and 2x4 grids with one-cell-wide empty space in between each. | |||
{{tji|storage grid|mode:pos size|0,0,2,4|3,1,2,3|6,0,2,4}} | |||
{{gda}} | |||
{{storage grid|mode=pos size|0,0,2,4|3,1,2,3|6,0,2,4}} |
Latest revision as of 05:13, 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
↓