• Home
  • Random
  • Recent changes
  • Special pages
  • Community portal
  • Settings
  • About The Wiki Camp 2
  • Disclaimers
The Wiki Camp 2
  • Create account
  • Log in

Template:Smelting

  • Template
  • Discussion
  • Language
  • Watch
  • View history
  • View source
    • What links here
    • Permanent link
    • Page information
Template documentation[view] [edit] [history] [purge]

Script error: The function "docPage" does not exist.

Error: no modules specified

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
  |Raw Beef
  |Steak
  |0,35
}}
{{Smelting
  |Wet Sponge
  |Sponge
  |0,15
}}
{{Smelting
  |name=Easy fuel
  |ingredients=[[Wood]]
  |Any Wood
  |Charcoal
  |0,15
  |fuel=Any Planks
  |foot=1
}}

produces:

Lua error: callParserFunction: function "#dplvar" was not found. Lua error: callParserFunction: function "#dplvar" was not found. Lua error: callParserFunction: function "#dplvar" was not found.

The above documentation is transcluded from Template:Smelting/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://camp2.rectangle.zone/index.php?title=Template:Smelting&oldid=90381"
Categories:
  • Pages with script errors
  • Lua templates with errors
  • Lua-based templates
Last edited on 5 July 2023, at 03:04

Languages

    This page is not available in other languages.

    The Wiki Camp 2
    • This page was last edited on 5 July 2023, at 03:04.
    • This page has been accessed 130 times.
    • Privacy policy
    • About The Wiki Camp 2
    • Disclaimers
    • Desktop