模板:Hotbar/doc

出自Minecraft基岩版开发Wiki
這是文件頁面,它應該被放置到Template:Hotbar,檢視Template:Documentation以取得更多資訊。

這個模板是用於展示物品欄裏面的網格的。

檢視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}}

使用的檔案[編輯]

另見[編輯]