2734
правки
Изменения
Нет описания правки
==== Simple example ====
To display an inventory item of "Raw PorkchopЛомтик арбуза" with an stack size of 20 you would put: <code><nowiki>{{Слот|Raw PorkchopЛомтик арбуза,20}}</nowiki></code>
;shows
{{Слот|Жареная свининаЛомтик арбуза,20}}
If no image is specified, an empty slot is displayed, this could be used to do layouts like so:
However this is really inefficient and produces ugly code, so don't do this. Use [[Template:BlockGrid]] or [[Template:Schematic]] instead.
=== Aliases Псевдонимы ===
{{#invoke: Инвентарный слот/Псевдонимы/Таблица | table }}
The above aliases can be used to shorten common items, such as all wood blocks or adding parts to certain names by default.
<code><nowiki>{{Слот|Any WoodЛюбое дерево;Golden AppleЗолотое яблоко}}</nowiki></code>
;shows
{{Слот|Any WoodЛюбое дерево;Golden AppleЗолотое яблоко}}