Home
Random
Log in
Settings
About BTA-Mirror
Disclaimers
BTA-Mirror
Search
Editing
Template:Crafting table/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template generates a {{tl|Template:Crafting}} table. Each row contains an item's recipe. == Arguments == {| class="wikitable" ! Argument !! Default value !! Note |- | <code>type</code> || <code>workbench</code> || Sets the recipe's type. Valid values are <code>workbench</code>, <code>[[Template:Crafting/Inventory|inventory]]</code>, <code>[[Template:Crafting/Furnace|furnace]]</code> and <code>blast-furnace</code>. |- | <code>1</code> || ''Nothing'' || The first slot from left to right, top to bottom. Only works if <code>type</code> is set to either <code>workbench</code> or <code>inventory</code>. |- | <code>2</code> || ''Nothing'' || The second slot from left to right, top to bottom. Only works if <code>type</code> is set to either <code>workbench</code> or <code>inventory</code>. |- | <code>3</code> || ''Nothing'' || The third slot from left to right, top to bottom. Only works if <code>type</code> is set to either <code>workbench</code> or <code>inventory</code>. |- | <code>4</code> || ''Nothing'' || The fourth slot from left to right, top to bottom. Only works if <code>type</code> is set to either <code>workbench</code> or <code>inventory</code>. |- | <code>5</code> || ''Nothing'' || The fifth slot from left to right, top to bottom. Only works if <code>type</code> is set to <code>workbench</code>. |- | <code>6</code> || ''Nothing'' || The sixth slot from left to right, top to bottom. Only works if <code>type</code> is set to <code>workbench</code>. |- | <code>7</code> || ''Nothing'' || The seventh slot from left to right, top to bottom. Only works if <code>type</code> is set to <code>workbench</code>. |- | <code>8</code> || ''Nothing'' || The eighth slot from left to right, top to bottom. Only works if <code>type</code> is set to <code>workbench</code>. |- | <code>9</code> || ''Nothing'' || The ninth slot from left to right, top to bottom. Only works if <code>type</code> is set to <code>workbench</code>. |- | <code>shapeless</code> || <code>n</code> || Defines if the recipe is shapeless. Note that this means that any arrangement of the items works, not that a specific arrangement can go anywhere in the crafting grid. Only works if <code>type</code> is set to either <code>workbench</code> or <code>inventory</code>. |- | <code>input</code> || ''Nothing'' || The input slot. Only works if <code>type</code> is set to either <code>furnace</code> or <code>blast-furnace</code>. |- | <code>fuel</code> || ''Default fuel items'' || The fuel slot. Only works if <code>type</code> is set to either <code>furnace</code> or <code>blast-furnace</code>. Its default value will be based on the type of furnace. |- | <code>RESULT</code> || ''Nothing'' || The result of the crafting recipe. |- | <code>name</code> || <code>y</code> || Defines if the name of the result will be shown. Can either be set to a boolean (<code>y</code> or <code>n</code>) or to a value to be displayed. |- | <code>ingredients</code> || <code>y</code> || Defines if the ingredients used in the recipe will be shown. Can either be set to a boolean (<code>y</code> or <code>n</code>) or to a value to be displayed. |- | <code>foot</code> || <code>n</code> || Should be set to <code>y</code> at the last row of the table. |} == Usage == {| class="wikitable" ! Code !! Output |- | <code><nowiki>{{Crafting table|1=Block of Diamond|RESULT=Diamond,9|foot=y}}</nowiki></code> || {{Crafting table|1=Block of Diamond|RESULT=Diamond,9|foot=y}} |- | <code><nowiki>{{Crafting table|type=inventory|1=Block of Diamond|RESULT=Diamond,9|foot=y}}</nowiki></code> || {{Crafting table|type=inventory|1=Block of Diamond|RESULT=Diamond,9|foot=y}} |- | <code><nowiki>{{Crafting table|type=furnace|input=Stone Diamond Ore|RESULT=Diamond|foot=y}}</nowiki></code> || {{Crafting table|type=furnace|input=Stone Diamond Ore|RESULT=Diamond|foot=y}} |- | <code><nowiki>{{Crafting table|type=blast-furnace|input=Iron Ingot|RESULT=Crude Steel|foot=y}}</nowiki></code> || {{Crafting table|type=blast-furnace|input=Iron Ingot|RESULT=Crude Steel|foot=y}} |- | <pre> <nowiki> {{Crafting table |type=workbench |1=String |2=Cloth |3=Cloth |4=String |5=Leather |6=Leather |8=Leather |9=Leather |RESULT=Empty Quiver |foot=y }} </nowiki> </pre> || {{Crafting table |type=workbench |1=String |2=Cloth |3=Cloth |4=String |5=Leather |6=Leather |8=Leather |9=Leather |RESULT=Empty Quiver |foot=y }} |- | <pre> <nowiki> {{Crafting table |type=blast-furnace |input=Iron Ingot |RESULT=Crude Steel }} {{Crafting table |type=furnace |input=Stone Coal Ore |RESULT=Coal |foot=y }} </nowiki> </pre> || {{Crafting table |type=blast-furnace |input=Iron Ingot |RESULT=Crude Steel }} {{Crafting table |type=furnace |input=Stone Coal Ore |RESULT=Coal |foot=y }} |}
Summary:
Please note that all contributions to BTA-Mirror may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BTA-Mirror:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Boolean
(
edit
)
Template:Boolean
(
edit
)
Template:Crafting
(
edit
)
Template:Crafting/Furnace
(
edit
)
Template:Crafting/Inventory
(
edit
)
Template:Crafting table
(
edit
)
Template:Crafting table/Process item link
(
edit
)
Template:FileUrl
(
edit
)
Template:Inventory slot
(
edit
)
Template:Template link
(
edit
)
Template:Template link
(
edit
)
Template:Yesno
(
edit
)
Module:InvSprite
(
edit
)
Module:Inventory slot
(
edit
)
Module:Inventory slot/aliases
(
edit
)
Module:Inventory slot/descriptions
(
edit
)
Module:Inventory slot/links
(
edit
)
Module:ProcessArgs
(
edit
)
Module:Sprite
(
edit
)