24,542 ARTICLES
ON THIS WIKI

Template:Grid/Layer

Template documentation (for the above template, sometimes hidden or invisible)
Lua Logo.svg This template is written in Lua. The full source code can be found at Module:Grid/Layer.

This template is used to show “isometric-projection” grid of objects.

Parameters[edit]

  • size_u: Item count in the U direction (right-downwards). Corresponds to the first item index (A–Z). Required. Min: 1, max: 26.
  • size_v: Item count in the V direction (left-downwards). Corresponds to the second item index (1–26). Required. Min: 1, max: 26.
  • bg: Whether show the background grid. Boolean (empty or non-empty).
    Note: background support is under development
  • float: The template's float CSS style. Optional. Default: left.

Hereafter X# stands for item index (a double index from A1 to Z26; actual range depends on size_u and size_v)

  • X#: The item name. Optional. Default: no item (at given position).
  • X#-link: Link for the corresponding item. Optional. Default: the item page.
  • X#-image: Image for the corresponding item. Optional. Default: Grid item_name.png

Syntax[edit]

Grid Source
Hopper
Light Engineering Block (Immersive Engineering)
Light Engineering Block (Immersive Engineering)
Steel Fence
Steel Fence
Steel Fence
Steel Fence
Light Engineering Block (Immersive Engineering)
Steel Fence

{{Grid/Layer
|size_u=3
|size_v=3

|A1=Hopper
|A2=Light Engineering Block (Immersive Engineering)
|A3=Light Engineering Block (Immersive Engineering)

|B1=Steel Fence
|B2=Steel Fence
|B3=Steel Fence

|C1=Steel Fence
|C2=Light Engineering Block (Immersive Engineering)
|C3=Steel Fence
}}
Hopper
Light Engineering Block (Immersive Engineering)
Light Engineering Block (Immersive Engineering)
Steel Fence
Steel Fence
Steel Fence
Steel Scaffolding

{{Grid/Layer
|size_u=2
|size_v=4

|A1=Hopper
|A2=Light Engineering Block (Immersive Engineering)
|A3=Light Engineering Block (Immersive Engineering)
|A4=Steel Fence 

|B1=Steel Fence
|B3=Steel Fence
|B4=Steel Scaffolding

|A3-image=Grid Light Engineering Block (XyCraft).png
|A3-link=Light Engineering Block
}}
Hopper
Hopper
Hopper
Hopper
Hopper

{{Grid/Layer
|bg=bg
|size_u=3
|size_v=3

|A1=Hopper
|A3=Hopper

|B2=Hopper

|C1=Hopper
|C3=Hopper
}}

See also[edit]

Visit Template:Grid/Layer/doc to change this text! (How does this work?)

Done making changes? Refresh this text! (Why?)