This page is protected and can only be modified by administrators

Template:Table/Smelting

From Aether Project Wiki
Jump to navigation Jump to search
[view | edit | history | purge]Documentation
Shortcut
Lua logo.svg
This template uses Module:Smelting, a script written in Lua.

Using this template, you can create tables like those commonly used in the “Smelting” and “Smelting ingredient” sections of articles about blocks and items.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing the recipe. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple smelting templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

You can change what is shown in the fuel slot by using the parameter {{{fuel}}}. It defaults to Any fuel

Example usage:

{{Smelting
  |head=1
  |name=[[mcw:Steak|Steak]]
  |ingredients=[[mcw:Raw Beef|Raw Beef]] +<br>Any [[mcw:Fuel|fuel]]
  |Raw Beef
  |Steak
  |0,35
}}
{{Smelting
  |name=[[mcw:Sponge|Sponge]]
  |ingredients=[[mcw:Wet Sponge|Wet Sponge]] +<br>Any [[mcw:Fuel|fuel]]
  |Wet Sponge
  |Sponge
  |0,15
}}
{{Smelting
  |name=Easy fuel
  |ingredients=[[mcw:Wood|Wood]]
  |Any Wood
  |Charcoal
  |0,15
  |fuel=Any Planks
  |foot=1
}}

produces:

Name Ingredients Smelting recipe
Steak Raw Beef +
Any fuel


0.35
Sponge Wet Sponge +
Any fuel


0.15
Easy fuel Wood


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