Template:Crafting Table/doc

From Parallel Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
This template uses Module:UI, a script written in Lua.

This template is used to create an interface that looks similar to the Crafting Table's. (Not to be confused with the Crafter'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

{{Crafting Table
|A1=  |B1=                 |C1= 
|A2=  |B2= Oak Wood Planks |C2= 
|A3=  |B3= Oak Wood Planks |C3= 
|Output= Stick,4
}}
produces
Invicon Oak Wood Planks.png: Inventory sprite for Oak Wood Planks in Minecraft as shown in-game linking to mcwiki:Oak Wood Planks with description: Oak Wood PlanksInvicon Oak Wood Planks.png: Inventory sprite for Oak Wood Planks in Minecraft as shown in-game linking to mcwiki:Oak Wood Planks with description: Oak Wood Planks
Invicon Stick.png: Inventory sprite for Stick in Minecraft as shown in-game linking to mcwiki:Stick with description: Stick4

Shapeless

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
Invicon Blaze Powder.png: Inventory sprite for Blaze Powder in Minecraft as shown in-game linking to mcwiki:Blaze Powder with description: Blaze PowderInvicon Coal.png: Inventory sprite for Coal in Minecraft as shown in-game linking to mcwiki:Coal with description: CoalInvicon Gunpowder.png: Inventory sprite for Gunpowder in Minecraft as shown in-game linking to mcwiki:Gunpowder with description: Gunpowder
Invicon Fire Charge.png: Inventory sprite for Fire Charge in Minecraft as shown in-game linking to mcwiki:Fire Charge with description: Fire Charge3

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 notfixed parameter can also be set to specify exceptions.

{{Crafting Table
|fixed= 1
|notfixed= the banner
                  |B2= Banner
|A3= Lapis Lazuli |B3= Lapis Lazuli |C3= Lapis Lazuli
|Output= Blue Base Banner
}}
produces
Invicon Banner.png: Inventory sprite for Banner in Minecraft as shown in-game linking to mcwiki:Banner with description: BannerInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis Lazuli
Banner

The fixed parameter does not support animation, so fixed, shapeless and normal 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.

{{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
Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli Block.png: Inventory sprite for Lapis Lazuli Block in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli Block with description: Lapis Lazuli BlockInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis Lazuli
Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis Lazuli9Invicon Lapis Lazuli Block.png: Inventory sprite for Lapis Lazuli Block in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli Block with description: Lapis Lazuli Block
{{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
Invicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite IngotInvicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to mcwiki:Iron Ingot with description: Iron IngotInvicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to mcwiki:Gold Ingot with description: Gold IngotInvicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to mcwiki:Diamond with description: DiamondInvicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli with description: Lapis LazuliInvicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to mcwiki:Netherite Ingot with description: Netherite Ingot
Invicon Block of Iron.png: Inventory sprite for Block of Iron in Minecraft as shown in-game linking to mcwiki:Block of Iron with description: Block of IronInvicon Block of Gold.png: Inventory sprite for Block of Gold in Minecraft as shown in-game linking to mcwiki:Block of Gold with description: Block of GoldInvicon Block of Diamond.png: Inventory sprite for Block of Diamond in Minecraft as shown in-game linking to mcwiki:Block of Diamond with description: Block of DiamondInvicon Lapis Lazuli Block.png: Inventory sprite for Lapis Lazuli Block in Minecraft as shown in-game linking to mcwiki:Lapis Lazuli Block with description: Lapis Lazuli BlockInvicon Block of Netherite.png: Inventory sprite for Block of Netherite in Minecraft as shown in-game linking to mcwiki:Block of Netherite with description: 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 mod pages are currently being transferred to the FTB Wiki.

See also


de:Vorlage:Grid/Crafting Table/doc es:Plantilla:Mesa de trabajo/doc fr:Modèle:Grille/Établi/doc ja:テンプレート:Crafting Table/doc ko:틀:Crafting Table/doc nl:Template:Grid/Crafting Table/doc pl:Szablon:Grid/Crafting Table/doc pt:Predefinição:Bancada de trabalho/doc ru:Шаблон:Верстак/док uk:Шаблон:Верстак/док zh:Template:Crafting Table/doc