Template:Hotbar/doc

From Create: Minecraft Mod Wiki
Revision as of 14:58, 15 April 2021 by Create: Minecraft Mod Wiki>Joker876 (File usage)
Jump to navigation Jump to search

Template:Documentation header

Template shortcut

This template is used to create an interface that looks similar to the Hotbar.

See Template:Inventory slot for basic slot usage, this documentation page will cover additional or different functions.

Usage

{{hotbar
|Slot 1
|Slot 2
|Slot 3
|Slot 4
|Slot 5
|Slot 6
|Slot 7
|Slot 8
|Slot 9
|selected=Selected slot, 1-9
|hotbar=Hotbar img
|selector=Selection img
}}

Any empty slots can be left blank.

Examples

Blank slots
{{hotbar|Grass Block|||Dirt|Wheat,2}}

Grass BlockDirtWheat2


Direct slot specification
Template:Tcode

Grass BlockDirtWheat2


Selected slot
{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}


Grass BlockDirtWheat2

File usage

See also