這個模板是用於展示物品欄裡面的網格的。
查看Template:Inventory slot以獲得基本網格用法,這個文件頁面將會覆蓋所有額外的或不同的功能。
用法[]
{{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 }}
任何格都可以為空。
例子[]
空格
{{hotbar|Grass Block|||Dirt|Wheat}}
將物品/方塊放置到指定格
{{hotbar|1=Grass Block|4=Dirt|5=Wheat}}
選擇格
{{hotbar|Grass Block|||Dirt|Wheat|selected=4}}
選擇一格,這格的內容可以自動改變
{{hotbar|Grass Block|||Dirt,5;Block of Diamond,64|Wheat,16|selected=4}}