Template:CraftingTable

From RLCraft Wiki
Jump to navigation Jump to search


Description

To use this template, add the {{CraftingTable}} template and fill in the appropriate fields. Depending on the skin used this template's content is either {{CraftingTable/desktop}} or {{CraftingTable/mobile}} and edits to the template should be made on those pages*.

*With the exception of editing parameters, in which case the base template should also be edited.

Syntax

CraftingTable grid layout

A B C
1 A1 B1 C1
2 A2 B2 C2 Output
3 A3 B3 C3
{{CraftingTable
|float=
|A1=	|A1-image=	|A1-link=	|A1-amount=
|A2=	|A2-image=	|A2-link=	|A2-amount=
|A3=	|A3-image=	|A3-link=	|A3-amount=
|B1=	|B1-image=	|B1-link=	|B1-amount=
|B2=	|B2-image=	|B2-link=	|B2-amount=
|B3=	|B3-image=	|B3-link=	|B3-amount=
|C1=	|C1-image=	|C1-link=	|C1-amount=
|C2=	|C2-image=	|C2-link=	|C2-amount=
|C3=	|C3-image=	|C3-link=	|C3-amount=
|Output=	|Output-image=	|Output-link=	|Output-amount=
}}
Parameter Function Default/Example value
float Float style of the template None
(Gridcoordinate) The name of the item at a specific gridcoordinate None
(Gridcoordinate)-image The image used for an item at a specific gridcoordinate ((Gridcoordinate)'s value).png if it exists else 'Missing Texture.png'
(Gridcoordinate)-link What page clicking on the item at a specific gridcoordinate links to ((Gridcoordinate)'s value)
(Gridcoordinate)-amount The amount of items that go in that slot for the recipe None

Sample output

Sin Pendant
Golden Crown Pride Pendant
{{CraftingTable
|float=
|A1=	|A1-image=	|A1-link=	|A1-amount=
|A2=	|A2-image=	|A2-link=	|A2-amount=
|A3=	|A3-image=	|A3-link=	|A3-amount=
|B1=Sin Pendant	|B1-image=	|B1-link=	|B1-amount=
|B2=Golden Crown	|B2-image=	|B2-link=	|B2-amount=
|B3=	|B3-image=	|B3-link=	|B3-amount=
|C1=	|C1-image=	|C1-link=	|C1-amount=
|C2=	|C2-image=	|C2-link=	|C2-amount=
|C3=	|C3-image=	|C3-link=	|C3-amount=
|Output=Pride Pendant	|Output-image=Pride Pendant.png	|Output-link=	|Output-amount=
}}