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..."
 
BoxWithout (talk | contribs)
m 4 revisions imported
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{documentation header}}
{{documentation subpage}}
{{shortcut|hotbar}}
{{Ts|hotbar}}
This template is used to create an interface that looks similar to the [[Hotbar]].
This template is used to create an interface that looks similar to the {{MC|Hotbar}}.


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


=== Examples ===
=== Examples ===
Blank slots<br>
;Blank slots<br>
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2}}</nowiki></code>
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2}}</nowiki></code>


Line 32: Line 32:




Direct slot specification<br>
;Direct slot specification<br>
{{tcode|hotbar|1{{=}}Grass Block|4{{=}}Dirt|5{{=}}Wheat,2}}
<code><nowiki>{{hotbar|1=Grass Block|4=Dirt|5=Wheat,2}}</nowiki></code>


{{hotbar|1=Grass Block|4=Dirt|5=Wheat,2}}
{{hotbar|1=Grass Block|4=Dirt|5=Wheat,2}}




Selected slot<br>
;Selected slot<br>
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}</nowiki></code>
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}</nowiki></code>


{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}
{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}
<!--
Grid functions<br>
<code><nowiki>{{hotbar|Grass Block|||Dirt,5;Block of Diamond,64|Wheat,16|IndustrialCraft:Advanced Circuit,2|selected=4}}</nowiki></code>
{{hotbar|Grass Block|||Dirt,5;Block of Diamond,64|Wheat,16|IndustrialCraft:Advanced Circuit,2|selected=4}}
-->


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

Latest revision as of 21:33, 14 February 2025

This is a documentation subpage for Template:Hotbar.
It contains usage information, categories and other content that is not part of the original template page.
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[edit source]

{{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[edit source]

Blank slots

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

Grass BlockDirtWheat2


Direct slot specification

{{hotbar|1=Grass Block|4=Dirt|5=Wheat,2}}

Grass BlockDirtWheat2


Selected slot

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


Grass BlockDirtWheat2

File usage[edit source]

See also[edit source]