Template:Crafting Table/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
BoxWithout (talk | contribs)
m 11 revisions imported
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{lua|UI}}
{{Lua|UI}}
This template is used to create an interface that looks similar to the [[Crafting Table|Crafting Table's]].
 
This template is used to create an interface that looks similar to the {{MC|Crafting Table|Crafting Table's}}.


See [[Template:Inventory slot]] for basic usage, this documentation page will cover additional or different functions.
See [[Template:Inventory slot]] for basic usage, this documentation page will cover additional or different functions.


Most of the time, such as when creating the list of crafting recipes on an item's article, {{tl|Crafting}} can be used instead.
Most of the time, such as when creating the list of crafting recipes on an item's article, {{t|Crafting}} can be used instead.
__TOC__
__TOC__
== Usage ==
== Usage ==
<pre style="max-width: 400px">{{Crafting Table
<pre style="max-width: 400px">{{Crafting Table
|A1=  |B1=                 |C1=  
|A1=  |B1=           |C1=  
|A2=  |B2= Oak Planks |C2=  
|A2=  |B2= Oak Planks |C2=  
|A3=  |B3= Oak Planks |C3=  
|A3=  |B3= Oak Planks |C3=  
Line 17: Line 18:
;produces:
;produces:
{{Crafting Table
{{Crafting Table
|A1=  |B1=                 |C1=  
|A1=  |B1=           |C1=  
|A2=  |B2= Oak Planks |C2=  
|A2=  |B2= Oak Planks |C2=  
|A3=  |B3= Oak Planks |C3=  
|A3=  |B3= Oak Planks |C3=  
Line 27: Line 28:
<pre style="max-width: 400px">{{Crafting Table
<pre style="max-width: 400px">{{Crafting Table
|shapeless= 1
|shapeless= 1
|A1=  |B1= Blaze Powder |C1=  
|A1=  |B1= Blaze Powder   |C1=  
|A2=  |B2= Coal,Charcoal |C2=  
|A2=  |B2= Coal; Charcoal |C2=  
|A3=  |B3= Gunpowder     |C3=  
|A3=  |B3= Gunpowder     |C3=  
|Output= Fire Charge,3
|Output= Fire Charge,3
}}</pre>
}}</pre>
Line 36: Line 37:
{{Crafting Table
{{Crafting Table
|shapeless= 1
|shapeless= 1
|A1=  |B1= Blaze Powder |C1=  
|A1=  |B1= Blaze Powder   |C1=  
|A2=  |B2= Coal,Charcoal |C2=  
|A2=  |B2= Coal; Charcoal |C2=  
|A3=  |B3= Gunpowder     |C3=  
|A3=  |B3= Gunpowder     |C3=  
|Output= Fire Charge,3
|Output= Fire Charge,3
}}
}}


The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.
The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.
=== Fixed ===
If a recipe is fixed, add fixed=1 to the template, which will display an icon which when hovered over explains what a fixed recipe is. The <code>notfixed</code> parameter can also be set to specify exceptions.
<pre style="max-width: 700px">{{Crafting Table
|fixed= 1
|notfixed= the banner
                  |B2= Banner
|A3= Lapis Lazuli |B3= Lapis Lazuli |C3= Lapis Lazuli
|Output= Blue Base Banner
}}</pre>
;produces:
{{Crafting Table
|fixed= 1
|notfixed= the banner
                  |B2= Banner
|A3= Lapis Lazuli |B3= Lapis Lazuli |C3= Lapis Lazuli
|Output= Blue Base Banner
}}
The fixed parameter does not support animation, so fixed, shapeless and normal recipes cannot be combined.


=== Animated ===
=== Animated ===
Line 109: Line 89:
|Output= Block of Iron; Block of Gold; Block of Diamond; Lapis Lazuli Block; Block of Netherite
|Output= Block of Iron; Block of Gold; Block of Diamond; Lapis Lazuli Block; Block of Netherite
}}
}}
=== Mods ===
Mod images and normal images can be combined just like in a single slot. However, this usage is not recommended, as [https://ftb.gamepedia.com/Feed_The_Beast_Wiki:Minecraft_Wiki_exportation_project mod pages are currently being transferred to the FTB Wiki].
<!--
When uploading mod images, they must have the mod page name in parenthesis at the end. For example Fancystone (FancyPack).
The Mod parameter can be used to set a default used for all parameters, this is best used when all items in the crafting table are modded items, or if the mod name is long and using the vanilla (v) parameter for the vanilla items in the table would be quicker.
<pre style="max-width: 848px">{{Crafting Table
|A1= Redstone                      |B1= IndustrialCraft:Cable |C1= Glowstone Dust
|A2= IndustrialCraft:Electronic Circuit |B2= Lapis Lazuli Block    |C2= IndustrialCraft:Electronic Circuit
|A3= Glowstone Dust                    |B3= IndustrialCraft:Cable |C3= Redstone
|Output= IndustrialCraft:Advanced Circuit,2
}}</pre>
;or
<pre style="max-width: 656px">{{Crafting Table
|Mod= IndustrialCraft
|A1= v:Redstone Dust        |B1= Cable                |C1= vanilla:Glowstone Dust
|A2= Electronic Circuit    |B2= V:Lapis Lazuli Block  |C2= Electronic Circuit
|A3= Vanilla:Glowstone Dust |B3= Cable                |C3= v:Redstone Dust
|Output= Advanced Circuit,2
}}</pre>
;produces:
{{Crafting Table
|A1= Redstone                      |B1= IndustrialCraft:Cable |C1= Glowstone Dust
|A2= IndustrialCraft:Electronic Circuit |B2= Lapis Lazuli Block    |C2= IndustrialCraft:Electronic Circuit
|A3= Glowstone Dust                    |B3= IndustrialCraft:Cable |C3= Redstone
|Output= IndustrialCraft:Advanced Circuit,2
}}
Note the links of the vanilla Minecraft items, compared to the IndustrialCraft items.
Animation is fully supported between mod and vanilla items.
-->


== See also ==
== See also ==

Latest revision as of 21:33, 14 February 2025

This is a documentation subpage for Template:Crafting Table.
It contains usage information, categories and other content that is not part of the original template page.

Lua error in package.lua at line 80: module 'Dev:Arguments' not found.

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

See Template:Inventory slot for basic usage, this documentation page will cover additional or different functions.

Most of the time, such as when creating the list of crafting recipes on an item's article, {{Crafting}} can be used instead.

Usage[edit source]

{{Crafting Table
|A1=  |B1=            |C1= 
|A2=  |B2= Oak Planks |C2= 
|A3=  |B3= Oak Planks |C3= 
|Output= Stick,4
}}
produces
Oak Planks
Oak Planks

Stick4

Shapeless[edit source]

If a recipe is shapeless, add shapeless=1 to the template, which will display an icon which when hovered over explains what a shapeless recipe is.

{{Crafting Table
|shapeless= 1
|A1=  |B1= Blaze Powder   |C1= 
|A2=  |B2= Coal; Charcoal |C2= 
|A3=  |B3= Gunpowder      |C3= 
|Output= Fire Charge,3
}}
produces
Blaze Powder
Coal
Gunpowder

Fire Charge3

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

Animated[edit source]

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

{{Crafting Table
|A1= ; Lapis Lazuli |B1=                   ; Lapis Lazuli |C1= ; Lapis Lazuli
|A2= ; Lapis Lazuli |B2= Lapis Lazuli Block; Lapis Lazuli |C2= ; Lapis Lazuli
|A3= ; Lapis Lazuli |B3=                   ; Lapis Lazuli |C3= ; Lapis Lazuli
|Output= Lapis Lazuli,9; Lapis Lazuli Block
}}
produces
Lapis Lazuli Block

Lapis Lazuli9
{{Crafting Table
|A1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
|B1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
|C1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
 |A2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
 |B2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
 |C2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
  |A3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
  |B3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
  |C3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli; Netherite Ingot
|Output= Block of Iron; Block of Gold; Block of Diamond; Lapis Lazuli Block; Block of Netherite
}}
produces
Iron IngotIron IngotIron Ingot
Iron IngotIron IngotIron Ingot
Iron IngotIron IngotIron Ingot

Block of Iron

See also[edit source]