Minecraft Wiki
Register
Advertisement
Ця сторінка документації, вона повинна бути включена в основну сторінку. Більше інформації на сторінці Шаблон:Документація.
Lua logo
Цей шаблон використовує Модуль:Варіння, написаний на мові програмування Lua.
Будь ласка, перегляньте wikipedia:Wikipedia:Lua і mw:Extension:Scribunto (обидві англ.) для розуміння роботи модуля.

Using this template, you can create tables like those commonly used in the “Brewing ingredient” sections of articles about blocks and items. It can be used similarly to {{Grid/Brewing Stand}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Grid/Brewing Stand}}. You can set the parameter {{{показатиім'я=1}}} or {{{показатиім'я=0}}} in the first template of the table to show or hide the Name column. To group multiple crafting templates into one table, you also need to set {{{голова=1}}} in the first template of the table, and {{{підвал=1}}} in the last.

The parameter {{{base=}}} can be set to change the base potion listing. It defaults to Awkward Potion.

The parameter {{{showbase=1}}} can be set to show the base potion in the potion slot instead of the output.

Example usage:

{{Brewing
  |голова=1
  |Сльоза ґаста
  |Potion of Regeneration
}}
{{Brewing
  |ім'я=Splash [[Potions]]
  |ingredients=[[Gunpowder]] +<br>Any [[Potion]]
  |Gunpowder
  |Splash Potion of Regeneration;Splash Potion of Fire Resistance;Splash Potion of Strength
}}
{{Brewing
  |ім'я=Increases Duration
  |показатиосновне=1
  |Redstone
  |основне=Potion of Regeneration
}}
{{Brewing
  |заплановане=1.7
  |підвал=1
  |Redstone
  |Potion of Water Breathing
}}

produces:

Інгредієнти Процес Назва
Сльоза ґаста +
Незграбне зілля



Potion of Regeneration
Gunpowder +
Незграбне зілля



Splash Potions
Redstone +
Potion of Regeneration



Increases Duration
Redstone +
Незграбне зілля



Potion of Water Breathing
(1.7)
Advertisement