Template:Hotbar/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
Created page with "{{documentation header}} {{shortcut|hotbar}} This template is used to create an interface that looks similar to the Hotbar. See Template:Inventory slot for basic slot..."
 
Create: Minecraft Mod Wiki>Joker876
Line 51: Line 51:


== File usage ==
== File usage ==
<gallery>
<gallery hideaddbutton=true>
File:Hotbar.png
File:Hotbar.png
File:Hotbar selector.png
File:Hotbar selector.png

Revision as of 14:58, 15 April 2021

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