Warning.png

Поддержка Wiki прекращена, она доступна в режиме архива. Информация в ней устарела и может быть неактуальной.

Изменения

Перейти к: навигация, поиск

Шаблон:Инвентарный слот/док

24 байта добавлено, 11:05, 9 августа 2016
Нет описания правки
<!-- TODO: Update for sprite usage -->
A mod image is specified with the Mod: section of the name (or by setting a default mod using the mod parameter). The image link will then link to the mod sub-page allowing correct linking of mod images. The uploaded image name should by uploaded as <code>Grid <Name> (<Mod>).png</code> and should be added to the [[:Category:Inventory slot mods|Inventory slot mods]] category, which prevents them from being confused with official Minecraft items.<br>
For example, to display this mod image [[:File:Grid Bronze Sword (IndustrialCraft).png]]: <code><nowiki>{{Slot|IndustrialCraft:Bronze Sword}}</nowiki></code> (or <code><nowiki>{{SlotСлот|mod=IndustrialCraft|Bronze Sword}}</nowiki></code>)
;shows
{{SlotСлот|IndustrialCraft:Bronze Sword}}
Slots can be animated with a theoretically unlimited amount of frames, between mod items and vanilla items. Frames are separated by semi-colons (;).
<pre>{{SlotСлот|
Dirt;
TNT,64;
}}</pre>
;shows
{{SlotСлот|
Dirt;
TNT,64;
As you can see, the mod had to be specified for each mod frame, this is where the default mod parameter is useful.
<code><nowiki>{{SlotСлот|mod=IndustrialCraft|Bronze Sword,6; ; Bronze Helmet,12; Copper,50; Copper Dust}}</nowiki></code>
;shows
{{SlotСлот|mod=IndustrialCraft|Bronze Sword,6; ; Bronze Helmet,12; Copper,50; Copper Dust}}
Чтобы использовать предметы из ванильного Minecraft, когда установлен параметр "мод", добавляйте "vanilla" (сокращенно "v") или "minecraft" (сокращенно "mc") вместо мода (нечувствительны к регистру).

Навигация