Template:Hotbar/doc: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 |
BoxWithout (talk | contribs) m 4 revisions imported |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{documentation | {{documentation subpage}} | ||
{{ | {{Ts|hotbar}} | ||
This template is used to create an interface that looks similar to the | 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> | ||
{{ | <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}} | ||
== File usage == | == File usage == |
Latest revision as of 21:33, 14 February 2025
Template shortcut
{{hotbar}}
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}}
- Direct slot specification
{{hotbar|1=Grass Block|4=Dirt|5=Wheat,2}}
- Selected slot
{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}
File usage[edit source]
See also[edit source]
{{Inventory slot}}
{{Crafting Table}}
{{Crafting Grid}}
{{Furnace}}
{{Brewing Stand}}
{{Stonecutter}}
{{Loom}}
{{Grindstone}}
{{Hotbar}}
{{Crushing Wheel}}
{{Bulk Washing}}
{{Bulk Haunting}}
{{Bulk Smoking}}
{{Bulk Blasting}}
{{Mechanical Mixer}}
{{Mechanical Press}}
{{Millstone}}
{{Mechanical Crafter}}
{{Mechanical Saw}}
{{Spout}}
{{Sand Paper}}
- Module:Inventory slot
- Module:Inventory slot/Aliases
- Module:UI