Template:Crafting Table: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
Created page with "<includeonly>{{#invoke: UI | craftingTable }}</includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki on the documentation page --> </noinclude>"
 
Create: Minecraft Mod Wiki>NonaWax
No edit summary
Line 1: Line 1:
<infobox>
  <title source="title1">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <data source="row1">
    <label>Label</label>
  </data>
  <data source="row2">
    <label>Label</label>
  </data>
</infobox>
<noinclude>
Example usage:
<pre>
{{Crafting Table
  | title1=Example
  | image1=Example
  | caption1=Example
  | row1=Example
  | row2=Example
}}
</pre>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"row1":{"suggested":true},"row2":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</noinclude>
<includeonly>{{#invoke: UI | craftingTable }}</includeonly><noinclude>
<includeonly>{{#invoke: UI | craftingTable }}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>

Revision as of 00:44, 9 June 2021

Example usage:

{{Crafting Table

  | title1=Example

  | image1=Example

  | caption1=Example

  | row1=Example

  | row2=Example

}}

No description.

Template parameters

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption1caption1

no description

Unknownsuggested
row1row1

no description

Unknownsuggested
row2row2

no description

Unknownsuggested


[view | edit | history | purge]Documentation

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

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

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

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.

{{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

{{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

[view | edit | history | purge]The above documentation is transcluded from Template:Crafting Table/doc.