Minecraft Wiki
Advertisement
Lua logo
このテンプレートは、モジュール:Smeltingを使用しています。また、このスクリプトは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. It can be used similarly to {{Furnace}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Grid/Furnace}}. 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:

名前 材料 製錬のレシピ
ステーキ 生の牛肉 +
いずれかの燃料


0.35
スポンジ 濡れたスポンジ +
いずれかの燃料


0.15
Easy fuel Wood


0.15
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の解説は、テンプレート:Smelting/docから参照されています。
Advertisement