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

This template is used to create an interface that looks similar to the Crafting Table's.

See Шаблон:Інвентарний слот for basic usage, this documentation page will cover additional or different functions.

Most of the time, such as when creating the list of crafting recipes on an item's article, {{Крафт}} can be used instead.

Usage[]

{{Верстак
|A1=  |B1=              |C1= 
|A2=  |B2= Дубові дошки |C2= 
|A3=  |B3= Дубові дошки |C3= 
|Вихід= Палиця,4
}}
produces

Shapeless[]

If a recipe is shapeless, add shapeless=1 to the template, which will display an icon which when hovered over explains what a shapeless recipe is.

{{Верстак
|безформні= 1
|A1=  |B1= Пил блейза              |C1= 
|A2=  |B2= Вугілля,Деревне вугілля |C2= 
|A3=  |B3= Порох                   |C3= 
|Вихід= Заряд полум'я,3
}}
produces

3

The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.

Fixed[]

If a recipe is fixed, add fixed=1 to the template, which will display an icon which when hovered over explains what a fixed recipe is. The notfixed parameter can also be set to specify exceptions.

{{Верстак
|фіксований= 1
|нефіксований= Стяг
             |B2= Стяг
|A3= Лазурит |B3= Лазурит  |C3= Лазурит 
|Вихід= Стяг з синьою основою
}}
produces


The fixed parameter does not support animation, so fixed, shapeless and normal recipes cannot be combined.

Animated[]

To make the slots animate, you make a list of blocks and objects you want to show, separated by semi-colons.

{{Верстак
|A1= ; Лазурит |B1=                 ; Лазурит |C1= ; Лазурит
|A2= ; Лазурит |B2= Лазуритовий блок; Лазурит |C2= ; Лазурит
|A3= ; Лазурит |B3=                 ; Лазурит |C3= ; Лазурит
|Вихід= Лазурит,9; Лазуритовий блок
}}
produces
{{Верстак
|A1= Залізний зливок; Золотий зливок; Діамант; Лазурит
|B1= Залізний зливок; Золотий зливок; Діамант; Лазурит
|C1= Залізний зливок; Золотий зливок; Діамант; Лазурит
 |A2= Залізний зливок; Золотий зливок; Діамант; Лазурит
 |B2= Залізний зливок; Золотий зливок; Діамант; Лазурит
 |C2= Залізний зливок; Золотий зливок; Діамант; Лазурит
  |A3= Залізний зливок; Золотий зливок; Діамант; Лазурит
  |B3= Залізний зливок; Золотий зливок; Діамант; Лазурит
  |C3= Залізний зливок; Золотий зливок; Діамант; Лазурит
|Вихід= Залізний блок; Золотий блок; Діамантовий блок; Лазуритовий блок
}}
produces

Mods[]

Mod images and normal images can be combined just like in a single slot.

When uploading mod images, they must have the mod page name in parenthesis at the end. For example Fancystone (FancyPack).

The Mod parameter can be used to set a default used for all parameters, this is best used when all items in the crafting table are modded items, or if the mod name is long and using the vanilla (v) parameter for the vanilla items in the table would be quicker.

{{Верстак
|A1= Червона пилюка               |B1= IndustrialCraft:Кабель |C1= Пил світлокаменю
|A2= IndustrialCraft:Електросхема |B2= Блок лазуриту          |C2= IndustrialCraft:Електросхема
|A3= Пил світлокаменю             |B3= IndustrialCraft:Кабель |C3= Червона пилюка
|Вихід= IndustrialCraft:Покращена електросхема,2
}}
or
{{Верстак
|Mod= IndustrialCraft
|A1= Червона пилюка   |B1= Кабель        |C1= Пил світлокаменю
|A2= Електросхема     |B2= Блок лазуриту |C2= Електросхема
|A3= Пил світлокаменю |B3= Кабель        |C3= Червона пилюка
|Вихід=Покращена електросхема,2
}}
produces

2

Note the links of the vanilla Minecraft items, compared to the IndustrialCraft items.

Animation is fully supported between mod and vanilla items.

See also[]

Advertisement