Template:Inventory/doc

From Cube Life: Island Survival Wiki
Jump to: navigation, search
Template-info.png Documentation

This template creates a crafting table with 4 cells.

Parameters[edit source]

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[edit source]

{{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[edit source]

Blank Table[edit source]

{{Inventory | width = 

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

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

Result[edit source]

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.