Template:Crafting/doc

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

This template creates a crafting table with 9 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
A3
A3 link
B1
B1 link
B2
B2 link
B3
B3 link
C1
C1 link
C2
C2 link
C3
C3 link

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

Example[edit source]

{{Crafting | width = 300

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

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

| C1 = Clay - icon.png | C1 link = Clay block
| C2 = Clay - icon.png | C2 link = Clay block
| C3 = clay - icon.png | C3 link = Clay block
}}

Result[edit source]

Blank Table[edit source]

{{Crafting | width = 

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

| B1 = | B1 link = 
| B2 = | B2 link = 
| B3 = | B3 link = 

| C1 = | C1 link = 
| C2 = | C2 link = 
| C3 = | C3 link = 
}}

Result[edit source]

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