CandyCraft Wiki
Advertisement
Lua
This template uses Module:Crafting, Module:Inventory Crafting, Module:Smelting, Module:Sugar Smelting, Module:Sugaring and Module:Advanced Sugaring.
These scripts are written in Lua. Please see wp:Lua and mw:Extension:Scribunto to learn more.
TheWoodenWizard
This template was made by TheWoodenWizard and is protected. If you are copying the source of this page to your wiki, please credit this user properly. Thank you!

Grid templates are templates used to display Minecraft interfaces and GUIs such as Crafting, Smelting, Sugaring, Advanced Sugaring, Sugar Smelting, and Inventory Crafting.

See Template:Inventory slot for basic usage of all these grids, this page will cover additional or different functions.

Crafting

See also: Template:Crafting

This template is used to create an interface that looks similar to the Crafting Table's.

Simple Usage

{{Crafting
|showname = 1
|A1 =  |B1 =                        |C1 = 
|A2 =  |B2 = Any Marshmallow Planks |C2 = 
|A3 =  |B3 = Any Marshmallow Planks |C3 = 
|Output = Marshmallow Stick,4
}}
produces
Name Ingredients Crafting recipe
Marshmallow Stick Any Marshmallow Planks

Row Fillings

Individual rows can be filled in for less work. You must set the {{{R1}}}, {{{R2}}}, or {{{R3}}} parameter to the item name.

{{Crafting
|R1 = 
|R2 = Caramel Glass
|R3 = Caramel Glass
|Output = Caramel Glass Pane,16
|showname = 1
}}
produces
Name Ingredients Crafting recipe
Caramel Glass Pane Caramel Glass

Input Filling

The whole grid could be filled in using one parameter, {{{Input}}}.

{{Crafting
|Input = Nougat Powder
|Output = Nougat Block
|showname = 1
}}
produces
Name Ingredients Crafting recipe
Nougat Block Nougat Powder
Nougat PowderNougat PowderNougat PowderNougat PowderNougat PowderNougat PowderNougat PowderNougat PowderNougat Powder
Nougat Block

Shapeless

If a recipe is shapeless, you need to set {{{Shapeless = 1}}} in the template, which will display an icon which when hovered over explains what a shapeless recipe is. Another way to make a recipe shapeless is by filling the hidden parameters as the inputs.

{{Crafting
|showname = 1
|Nougat Dynamite
|Chewing-gum
|Output = Chewing-gum Dynamite
}}
produces
Name Ingredients Crafting recipe
Chewing-gum Dynamite Nougat Dynamite +
Chewing-gum



Nougat DynamiteChewing-gum




Chewing-gum Dynamite


The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.

Animated

To make the slots animate, you make a list of blocks and objects you want to show, separated by semi-colons. However, you will most likely need to fill the {{{Name}}} parameter to name the custom output (if applicable)

{{Crafting
|showname = 1
|Name = Sword
|A1 =  |B1 = {Any Marshmallow Planks}; Honeycomb; Licorice; PEZ  |C1 =
|A2 =  |B2 = {Any Marshmallow Planks}; Honeycomb; Licorice; PEZ  |C2 =
|A3 =  |B3 = Marshmallow Stick                                   |C3 =
|Output = Marshmallow Sword; Honeycomb Sword; Licorice Sword; PEZ Sword
}}
produces
Name Ingredients Crafting recipe
Sword Any Marshmallow Planks or
Honeycomb or
Licorice or
PEZ +
Marshmallow Stick

Marshmallow PlanksLight Marshmallow PlanksDark Marshmallow PlanksHoneycombLicoricePEZ

Marshmallow PlanksLight Marshmallow PlanksDark Marshmallow PlanksHoneycombLicoricePEZ

Marshmallow Stick

Marshmallow SwordHoneycomb SwordLicorice SwordPEZ Sword


{{Crafting
|showname = 1
|Name = Ore Blocks
|A1 = Honey Shard; Licorice; PEZ; Nougat Powder  
|B1 = Honey Shard; Licorice; PEZ; Nougat Powder  
|C1 = Honey Shard; Licorice; PEZ; Nougat Powder  
|A2 = Honey Shard; Licorice; PEZ; Nougat Powder
|B2 = Honey Shard; Licorice; PEZ; Nougat Powder
|C2 = Honey Shard; Licorice; PEZ; Nougat Powder
|A3 = Honey Shard; Licorice; PEZ; Nougat Powder
|B3 = Honey Shard; Licorice; PEZ; Nougat Powder
|C3 = Honey Shard; Licorice; PEZ; Nougat Powder
|Output = Honeycomb Block; Licorice Block; PEZ Block; Nougat Block
}}
produces
Name Ingredients Crafting recipe
Ore Blocks Honey Shard or
Licorice or
PEZ or
Nougat Powder
Honey ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat PowderHoney ShardLicoricePEZNougat Powder
Honeycomb BlockLicorice BlockPEZ BlockNougat Block

Custom Names

Title

The first bracketed text can be used to specify a title for each frame individually, and also supports standard formatting codes using & instead of §. If the title only contains formatting codes and no actual text, the formatting will be added to the normal title.

Text

The last bracketed text can be used to specify a description, this also supports standard formatting codes, and can also have multiple lines by using forward slashes (/). Name can be set to "None" and will remove the name column.

{{Crafting
|A1 = [&oPez]PEZ; Honeycomb
|B1 = [&oPez Gem]PEZ; Honeycomb
|B2 = [&o&pMarshmallow Rod]Marshmallow Stick[/&9+10 Attack Damage/+1 Reach]; Marshmallow Stick
|B3 = [&o&pMarshmallow Twig]Marshmallow Stick; Marshmallow Stick
|C1 = [&o&bPEZ]PEZ; Honeycomb
|Output = [&o&bThe &pPerfect &6Pickaxe]PEZ Pickaxe; Honeycomb Pickaxe
}}
produces
Ingredients Crafting recipe
PEZ or
Honeycomb +
Marshmallow Stick
PezHoneycombPez GemHoneycombPEZHoneycomb
Marshmallow RodMarshmallow Stick

Marshmallow TwigMarshmallow Stick

The Perfect PickaxeHoneycomb Pickaxe

Multiple Recipes

To group multiple crafting templates into one table, you need to set {{{Head = 1}}} in the first template of the table, and {{{Foot = 1}}} in the last.

{{Crafting
|R2 = Caramel Glass
|R3 = Caramel Glass
|Output = Caramel Glass Pane,16 
|Head = 1
}}
{{Crafting
|Gummy
|Output = Gummy Ball
}}
{{Crafting
|A1 = PEZ
|A2 = Any Marshmallow Log
|A3 = PEZ
|B1 = Any Marshmallow Log
|B2 = Caramel Glass
|B3 = Any Marshmallow Log
|C1 = PEZ
|C2 = Any Marshmallow Log
|C3 = PEZ
|Output = Alchemy Mixer
}}
{{Crafting
|Matching Marshmallow Log
|Output = Matching Marshmallow Planks,4
|Name = Marshmallow Planks
|Foot = 1
}}
produces
Name Ingredients Crafting recipe
Caramel Glass Pane Caramel Glass
Gummy Ball Gummy




Gummy




Gummy Ball
Alchemy Mixer PEZ +
Any Marshmallow Log +
Caramel Glass
PEZMarshmallow LogLight Marshmallow LogDark Marshmallow LogPEZMarshmallow LogLight Marshmallow LogDark Marshmallow LogCaramel GlassMarshmallow LogLight Marshmallow LogDark Marshmallow LogPEZMarshmallow LogLight Marshmallow LogDark Marshmallow LogPEZ
Alchemy Mixer
Marshmallow Planks Matching Marshmallow Log

Inventory Crafting

See also: Template:Inventory Crafting

This template is used to create an interface that looks similar to the crafting square in the Inventory.

Simple Usage

{{Inventory Crafting
|showname = 1
|A1 =  |B1 = Marshmallow Planks
|A2 =  |B2 = Marshmallow Planks
|Output = Marshmallow Stick,4
}}
produces
Name Ingredients Crafting recipe
Marshmallow Stick Marshmallow Planks

Shapeless

If a recipe is shapeless, you need to set {{{Shapeless = 1}}} in the template, which will display an icon which when hovered over explains what a shapeless recipe is. Another way to make a recipe shapeless is by filling the hidden parameters as the inputs.

{{Inventory Crafting
|showname =1
|Gummy  
|Output = Gummy Ball
}}
produces
Name Ingredients Crafting recipe
Gummy Ball Gummy
Gummy



Gummy Ball

The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.

Animation, Custom Names, Input Filling, and Row Fillings

To make the slots animate, you make a list of blocks and objects you want to show, separated by semi-colons.

The first bracketed text can be used to specify a title for each frame individually. The last bracketed text can be used to specify a description.

Individual rows can be filled in for less work. You must set the {{{R1}}} or {{{R2}}} parameter to the item name. The whole grid could be filled in using one parameter, {{{Input}}}.

{{Inventory Crafting
|showname = 1
|R2 = Chewing-gum; [&p&oCandy Goodness]Candy Cane[&fTasty]; {Any Marshmallow Planks}
|Input = ; Candy Cane; {Any Marshmallow Planks}
|Output = [&d&oPurple Puddle]Chewing-gum Puddle; [&o&5Tasty Block]Candy Cane Block[&fLong-lasting]; Marshmallow Workbench
}}
produces
Name Ingredients Crafting recipe
Chewing-gum Puddle or
Candy Cane Block or
Marshmallow Workbench
Candy Cane or
Any Marshmallow Planks +
Chewing-gum

Candy CaneMarshmallow PlanksLight Marshmallow PlanksDark Marshmallow Planks

Candy CaneMarshmallow PlanksLight Marshmallow PlanksDark Marshmallow Planks
Chewing-gumCandy GoodnessMarshmallow PlanksLight Marshmallow PlanksDark Marshmallow PlanksChewing-gumCandy GoodnessMarshmallow PlanksLight Marshmallow PlanksDark Marshmallow Planks

Purple PuddleTasty BlockMarshmallow Workbench

Smelting

See also: Template:Smelting

Using this template, you can create tables like those commonly used in the “Smelting” and “Smelting ingredient” sections of articles about blocks and items. It can be used similarly to {{Furnace}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Furnace}}. You can set the parameter {{{showname = 1}}} or {{{showname = 0}}} in the first template of the table to show or hide the Name column. To group multiple smelting templates into one table, you also need to set {{{Head = 1}}} in the first template of the table, and {{{Foot = 1}}} in the last.

You can change what is shown in the fuel slot by using the parameter {{{Fuel}}}. It defaults to Any fuel

Example usage:

{{Smelting
|Licorice Ore
|Licorice
|Head = 1 
}}
{{Smelting
|Gummy
|Fuel = Sugar
|Hot Gummy
}}
{{Smelting
|Raw Cranfish
|Fuel = Sugar
|Cooked Cranfish
|Foot = 1
}}
produces
Name Ingredients Smelting recipe
Licorice Licorice Ore +
Any fuel
Licorice Ore
CoalCharcoalWoodWood PlanksBlock of Coal

Licorice
Hot Gummy Gummy +
Sugar
Gummy
Sugar

Hot Gummy
Cooked Cranfish Raw Cranfish +
Sugar
Raw Cranfish
Sugar

Cooked Cranfish

Sugar Smelting

Using this template, you can create tables like those commonly used in the “Sugar Smelting” and “Sugar Smelting ingredient” sections of articles about blocks and items. It can be used similarly to {{Sugar Furnace}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Sugar Furnace}}. You can set the parameter {{{showname = 1}}} or {{{showname = 0}}} in the first template of the table to show or hide the Name column. To group multiple smelting templates into one table, you also need to set {{{Head = 1}}} in the first template of the table, and {{{Foot = 1}}} in the last.

You can change what is shown in the fuel slot by using the parameter {{{Fuel}}}. It defaults to Sugar

Example usage:

{{Sugar Smelting
|PEZ Ore
|PEZ
|Head = 1 
}}
{{Sugar Smelting
|[&6&oGolden Gummy]Gummy[/&9+2 Max Health]
|[&oPlain Hot Gummy]Hot Gummy
}}
{{Sugar Smelting
|Raw Cranfish
|Cooked Cranfish
|Foot = 1
}}
produces
Name Ingredients Smelting recipe
PEZ PEZ Ore +
Sugar
PEZ Ore
Sugar

PEZ
Hot Gummy Gummy +
Sugar
Golden Gummy
Sugar

Plain Hot Gummy
Cooked Cranfish Raw Cranfish +
Sugar
Raw Cranfish
Sugar

Cooked Cranfish

Sugaring

See also: Template:Sugaring

Using this template, you can create tables like those commonly used in the “Sugaring” and “Sugaring ingredient” sections of articles about blocks and items. It can be used similarly to {{Sugar Factory}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Sugar Factory}}. You can set the parameter {{{showname = 1}}} or {{{showname = 0}}} in the first template of the table to show or hide the Name column. The input slot defaults to the page name and the output slot defaults to Sugar. To group multiple smelting templates into one table, you also need to set {{{Head = 1}}} in the first template of the table, and {{{Foot = 1}}} in the last.

Example usage:

{{Sugaring
|Sugar Furnace
|Sugar
|Head = 1
}}
{{Sugaring
|Pudding
|Sugar
}}
{{Sugaring
|PEZ Pickaxe
|Sugar
|Foot = 1
}}
produces
Name Ingredients Sugaring recipe
Sugar Sugar Furnace
Sugar Furnace
Sugar
Sugar Pudding
Pudding
Sugar
Sugar PEZ Pickaxe
PEZ Pickaxe
Sugar

Advanced Sugaring

See also: Template:Advanced Sugaring

Using this template, you can create tables like those commonly used in the “Advanced Sugaring” and “Advanced Sugaring ingredient” sections of articles about blocks and items. It can be used similarly to {{Advanced Sugar Factory}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Advanced Sugar Factory}}. You can set the parameter {{{showname = 1}}} or {{{showname = 0}}} in the first template of the table to show or hide the Name column. To group multiple smelting templates into one table, you also need to set {{{Head = 1}}} in the first template of the table, and {{{Foot = 1}}} in the last.

Example usage:

{{Advanced Sugaring
|Chocolate Stone
|Chocolate Coin
|Head = 1
}}
{{Advanced Sugaring
|Honeycomb Block
|Honeycomb
}}
{{Advanced Sugaring
|Fraise Tagada Flower
|Honey Shard
|Foot = 1
}}
produces
Name Ingredients Advanced Sugaring recipe
Chocolate Coin Chocolate Stone
Chocolate Stone
Chocolate Coin
Honeycomb Honeycomb Block
Honeycomb Block
Honeycomb
Honey Shard Fraise Tagada Flower
Fraise Tagada Flower
Honey Shard
Advertisement