模板:Hotbar:修订间差异

来自The Land of StarLight
imported>Ffbot
(机器人:自动替换文本 (-<!-- Put categories/interwiki on the documentation page --> +<!-- 请将分类/语言链接放在文档页面 -->))
 
(导入1个版本)
 
(没有差异)

2022年10月3日 (一) 11:09的最新版本


[查看 | 编辑 | 历史 | 清除缓存]文档页面

这个模板是用于展示物品栏里面的网格的。

查看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}}

使用的文件

en:Template:Hotbar