Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 08:37, 24 August 2026 by Kaph (talk | contribs) (Create Template:Crafting, replicating minecraft.wiki's crafting-grid style without Lua)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Crafting
|A1=Gold Ingot.png |B1=Gold Ingot.png |C1=Gold Ingot.png
|A2=Gold Ingot.png |B2=Diamond.png    |C2=Gold Ingot.png
|A3=Gold Ingot.png |B3=Gold Ingot.png |C3=Gold Ingot.png
|Output=Lapis Lazuli Block.png |Outputamount=1 |Outputname=Example Output
}}

Renders as: 1

Replicates the visual style of minecraft.wiki's Template:Crafting — a beveled 3×3 grid of recessed item slots, an arrow, and a larger output slot — without Lua/Scribunto, which this wiki doesn't have. The trade-off: nothing is looked up automatically from an item name, so every slot needs its own filename (and optionally a link and stack-size label) spelled out.

Parameters

Parameter Description
A1C3 Filename of the icon shown in that grid position (no File: prefix, e.g. Gold Ingot.png). Left blank for an empty slot.
A1linkC3link Optional page the slot's icon links to. Left blank, the icon isn't clickable.
A1amountC3amount Optional stack-size number shown in the slot's corner (e.g. 4).
A1nameC3name Optional tooltip text for the stack-size label (only shown if amount is also set).
Output, Outputlink, Outputamount, Outputname Same four options as a grid slot, for the larger output slot on the right.