Template:Hotbar/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
SlowestClock (talk | contribs) |
Tag: Reverted |
||
Line 29: | Line 29: | ||
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2}}</nowiki></code> |
<code><nowiki>{{hotbar|Grass Block|||Dirt|Wheat,2}}</nowiki></code> |
||
{{hotbar| |
{{hotbar|bread|||Dirt|Wheat,2}} |
||
Revision as of 20:24, 12 March 2025
[refresh]
This is the documentation page. It should be transcluded into Template:Hotbar. See Template:Documentation for more information.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}}
Direct slot specification
{{hotbar|1=Bedrock|4=Dirt|5=Wheat,2}}
Selected slot
{{hotbar|Grass Block|||Dirt|Wheat,2|selected=4}}
File usage
See also
{{Crafting Table}}
{{Inventory Table}}
{{Furnace}}
{{Brewing Stand}}
{{Stonecutter}}
{{Loom}}
{{Grindstone}}
{{Hotbar}}
{{Smithing Table}}
{{Legacy Smithing Table}}
{{Anvil}}
{{Inventory slot}}
{{Inventory}}
- Module:UI