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 09:19, 24 August 2026 by Kaph (talk | contribs) (Create Template:Crafting, replicating minecraft.wiki's crafting-grid style without Lua)

Usage

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

Renders as: 1

Replicates the visual style of minecraft.wiki's Template:Crafting — a beveled 3×3 grid of recessed item slots, an arrow, a larger output slot, and hover tooltips — 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, and the hover tooltip is a pure-CSS box anchored above the slot rather than minecraft.wiki's own cursor-following JS gadget.

Parameters

Parameter Description
A1C3 The icon shown in that grid position, as its filename without the extension (e.g. Gold Ingot for File:Gold Ingot.png). Left blank for an empty slot. Also becomes the default hover-tooltip text for that slot.
A1extC3ext Overrides the assumed .png extension (e.g. jpg, svg) for that slot's file, for the rare icon that isn't a PNG.
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 Overrides the hover-tooltip text for that slot (e.g. A1name=Gold Ingot (any)) instead of using A1 itself.
Output, Outputext, Outputlink, Outputamount, Outputname Same five options as a grid slot, for the larger output slot on the right.
shapeless Set to 1 (or any non-empty value) to show the shapeless-recipe badge in the top-right corner — hovering it explains what it means, same as on minecraft.wiki.