24,539
ARTICLES
ON THIS WIKI
ON THIS WIKI
Template:Grid/Layer
Template documentation (for the above template, sometimes hidden or invisible)
Contents
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 |
---|---|
{{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 }} | |
{{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 }} | |
{{Grid/Layer |bg=bg |size_u=3 |size_v=3 |A1=Hopper |A3=Hopper |B2=Hopper |C1=Hopper |C3=Hopper }} |
See also[edit]
- Template:Grid/Layer/1-7: another version of this template, with slightly different parameters
- Template:Grid: base template
- Template:Grid/Item: item presentation
Twitter Feed
Warning: file_get_contents(/srv/common/): failed to open stream: No such file or directory in /var/www/html/skins/MMWiki/SkinMMWiki.php on line 392
Discussion
To discuss the topics on this wiki, you can visit our community forums!