Cube Life: Island Survival Wiki
Line 1: Line 1:
<includeonly><div style="position:relative;">[[File:Crafting grid bg.png|x210px]]
+
<includeonly><div style="position:relative;">[[File:Inventory grid bg.png|x140px]]
 
{| style="position: absolute; left: 16px; top: 10px; text-align: center; width: 124px;"
 
{| style="position: absolute; left: 16px; top: 10px; text-align: center; width: 124px;"
 
|-
 
|-

Revision as of 15:17, 13 September 2018

Template-info.png Documentation

This template creates a crafting table with 4 cells.

Parameters

Cells are numbered from the top left corner, starting at A1. Each cell can also have an optional link parameter that will make the cell link to the specified page.

A1
A1 link
A2
A2 link
B1
B1 link
B2
B2 link

There is also an optional width parameter that allows you to change the width of the crafting table. Please DO NOT include any units such as px. The grid defaults to 150px wide.

Example

{{Inventory | width = 200

| A1 = Rope.png | A1 link = Rope
| A2 = Rope.png | A2 link = Rope

| B1 = Clay - icon.png | B1 link = Clay block
| B2 = Clay - icon.png | B2 link = Clay block
}}

Result

Inventory grid bg.png
Rope.png Rope.png
Clay - icon.png Clay - icon.png

Blank Table

{{Inventory | width = 

| A1 = | A1 link = 
| A2 = | A2 link = 

| B1 = | B1 link = 
| B2 = | B2 link = 
}}

Result

Inventory grid bg.png