- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
模板:Inventory slot
此模板使用了模組:Inventory slot,以及資料模組模組:Inventory slot/Aliases。 這些腳本均使用Lua編寫。更多詳情,請參閱維基百科:Lua和MediaWiki:擴充套件:Scribunto。 |
Inventory slot模板用於建立模仿遊戲內物品欄的圖形介面元素。圖片主要取自{{InvSprite}}
,若指定專案未被找到,模板會回落至獨立圖片,名稱格式為Grid <物品名>.png
。
用法[編輯]
所有的輸入都是可選的:
{{Slot |[Title]Mod:Name,Amount[Description]; [Title2]Mod2:Name2,Amount2[Description2]; ... |mod=Default mod (useful for animations and layout templates) |default=Image always shown under the main image |align=Vertical Alignment |link=Link override |title=Text show on mouseover |class=Adds additional classes to the .invslot class |style=Adds styling to the .invslot |imgclass=Adds additional classes to the .invslot-item |numstyle=Adds styling to the stack number }}
部分[編輯]
The first parameter is a special parameter consisting of various "parts" grouped together in frames (delimited by ;
) which will be display one after another if JavaScript is enabled. Every part is optional, but without "name", won't do anything.
範例[編輯]
To display an inventory item of "Raw Porkchop" with an stack size of 20 you would put: {{Slot|Raw Porkchop,20}}
- 顯示
An amount of 2–999 is supported, anything else will not be displayed.
別稱[編輯]
Alias | Output |
---|---|
Any Balloon Matching Balloon |
|
Any Banner Matching Banner |
|
Any Bed Matching Bed |
|
Any Blackstone Matching Blackstone |
|
Any Boat Matching Boat |
|
Any Campfire Matching Campfire |
|
Any Candle Matching Candle |
|
Any Carpet Matching Carpet |
|
Any Cobblestone or Blackstone Matching Cobblestone or Blackstone |
|
Any Colored Dye Matching Colored Dye |
|
Any Concrete Matching Concrete |
|
Any Concrete Powder Matching Concrete Powder |
|
Any Coral Matching Coral |
|
Any Coral Block Matching Coral Block |
|
Any Coral Fan Matching Coral Fan |
|
Any Dead Coral Matching Dead Coral |
|
Any Dead Coral Block Matching Dead Coral Block |
|
Any Dead Coral Fan Matching Dead Coral Fan |
|
Any Dye Matching Dye |
|
Any Dyed Bed Matching Dyed Bed |
|
Any Dyed Candle Matching Dyed Candle |
|
Any Dyed Carpet Matching Dyed Carpet |
|
Any Dyed Terracotta Matching Dyed Terracotta |
|
Any Dyed Wool Matching Dyed Wool |
|
Any Fence Matching Fence |
|
Any Fence Gate Matching Fence Gate |
|
Any Firework Star Matching Firework Star |
|
Any Flower Matching Flower |
|
Any Fungi Matching Fungi |
|
Any Fungus Matching Fungus |
|
Any Glazed Terracotta Matching Glazed Terracotta |
|
Any Hardened Stained Glass Matching Hardened Stained Glass |
|
Any Hardened Stained Glass Pane Matching Hardened Stained Glass Pane |
|
Any Hyphae Matching Hyphae |
|
Any Lantern Matching Lantern |
|
Any Lingering Potion Matching Lingering Potion |
滯留型回復藥水滯留型迅捷藥水滯留型抗火藥水滯留型劇毒藥水滯留型治療藥水滯留型夜視藥水滯留型虛弱藥水滯留型力量藥水滯留型緩速藥水滯留型跳躍藥水滯留型傷害藥水滯留型水下呼吸藥水滯留型隱形藥水滯留型緩降藥水Lingering Potion of Luck滯留型腐朽藥水滯留型龜仙藥水 |
Any Log Matching Log |
|
Any Log or Stem Matching Log or Stem |
|
Any Mushroom Matching Mushroom |
|
Any Nether Fence Matching Nether Fence |
|
Any Nether Planks Matching Nether Planks |
|
Any Nether Wood Door Matching Nether Wood Door |
|
Any Nether Wood Fence Matching Nether Wood Fence |
|
Any Nether Wood Fence Gate Matching Nether Wood Fence Gate |
|
Any Nether Wood Pressure Plate Matching Nether Wood Pressure Plate |
|
Any Nether Wood Sign Matching Nether Wood Sign |
|
Any Nether Wood Stairs Matching Nether Wood Stairs |
|
Any Nether Wood Trapdoor Matching Nether Wood Trapdoor |
|
Any Nether wood Slab Matching Nether wood Slab |
|
Any Nylium Matching Nylium |
|
Any Ore Matching Ore |
|
Any Overworld Fence Matching Overworld Fence |
|
Any Overworld Planks Matching Overworld Planks |
|
Any Overworld wood Slab Matching Overworld wood Slab |
|
Any Planks Matching Planks |
|
Any Potion Matching Potion |
回復藥水迅捷藥水抗火藥水劇毒藥水治療藥水夜視藥水虛弱藥水力量藥水緩速藥水跳躍藥水傷害藥水水下呼吸藥水隱形藥水緩降藥水Potion of Luck腐朽藥水龜仙藥水 |
Any Prismarine Matching Prismarine |
海磷石 |
Any Purpur Block Matching Purpur Block |
|
Any Quartz Block Matching Quartz Block |
|
Any Red Sandstone Matching Red Sandstone |
|
Any Roots Matching Roots |
|
Any Sandstone Matching Sandstone |
|
Any Sapling Matching Sapling |
|
Any Shield Matching Shield |
|
Any Shulker Box Matching Shulker Box |
|
Any Sign Matching Sign |
|
Any Soul Sand Matching Soul Sand |
|
Any Splash Potion Matching Splash Potion |
飛濺型回復藥水飛濺型迅捷藥水飛濺型抗火藥水飛濺型劇毒藥水飛濺型治療藥水飛濺型夜視藥水飛濺型虛弱藥水飛濺型力量藥水飛濺型緩速藥水飛濺型跳躍藥水飛濺型傷害藥水飛濺型水下呼吸藥水飛濺型隱形藥水飛濺型緩降藥水Splash Potion of Luck飛濺型腐朽藥水飛濺型龜仙藥水 |
Any Stained Glass Matching Stained Glass |
|
Any Stained Glass Pane Matching Stained Glass Pane |
|
Any Stem Matching Stem |
|
Any Stone Matching Stone |
|
Any Stone Bricks Matching Stone Bricks |
|
Any Stone Button Matching Stone Button |
|
Any Stone Pressure Plate Matching Stone Pressure Plate |
|
Any Stone Slab Matching Stone Slab |
海磷石半磚 |
Any Stone Stairs Matching Stone Stairs |
海磷石階梯 |
Any Stripped Hyphae Matching Stripped Hyphae |
|
Any Stripped Log Matching Stripped Log |
|
Any Stripped Log or Stem Matching Stripped Log or Stem |
|
Any Stripped Stem Matching Stripped Stem |
|
Any Stripped Wood Matching Stripped Wood |
|
Any Stripped Wood or Hyphae Matching Stripped Wood or Hyphae |
|
Any Tipped Arrow Matching Tipped Arrow |
|
Any Torch Matching Torch |
|
Any Tulip Matching Tulip |
|
Any Wall Matching Wall |
海磷石牆 |
Any Wood Matching Wood |
|
Any Wood or Hyphae Matching Wood or Hyphae |
|
Any Wool Matching Wool |
|
Any axe Matching axe |
|
Any chainmail armor Matching chainmail armor |
|
Any diamond armor Matching diamond armor |
|
Any diamond tools Matching diamond tools |
|
Any fuel Matching fuel |
|
Any golden armor Matching golden armor |
|
Any golden tools Matching golden tools |
|
Any hoe Matching hoe |
|
Any iron armor Matching iron armor |
|
Any iron tools Matching iron tools |
|
Any leather armor Matching leather armor |
|
Any netherite armor Matching netherite armor |
|
Any netherite tools Matching netherite tools |
|
Any pickaxe Matching pickaxe |
|
Any shovel Matching shovel |
|
Any stone tools Matching stone tools |
|
Any stone-tier block Matching stone-tier block |
|
Any sword Matching sword |
|
Any wood Button Matching wood Button |
|
Any wood Door Matching wood Door |
|
Any wood Fence Matching wood Fence |
|
Any wood Pressure Plate Matching wood Pressure Plate |
|
Any wood Slab Matching wood Slab |
|
Any wood Stairs Matching wood Stairs |
|
Any wood Trapdoor Matching wood Trapdoor |
|
Any wooden tools Matching wooden tools |
|
Arrow Loaded Crossbow |
|
Arrow of Decay |
|
Arrow of Fire Resistance |
|
Arrow of Fire Resistance Extended |
|
Arrow of Harming |
|
Arrow of Harming Enhanced |
|
Arrow of Healing |
|
Arrow of Healing Enhanced |
|
Arrow of Invisibility |
|
Arrow of Invisibility Extended |
|
Arrow of Leaping |
|
Arrow of Leaping Enhanced |
|
Arrow of Leaping Extended |
|
Arrow of Luck |
|
Arrow of Night Vision |
|
Arrow of Night Vision Extended |
|
Arrow of Poison |
|
Arrow of Poison Enhanced |
|
Arrow of Poison Extended |
|
Arrow of Regeneration |
|
Arrow of Regeneration Enhanced |
|
Arrow of Regeneration Extended |
|
Arrow of Slow Falling |
|
Arrow of Slow Falling Extended |
|
Arrow of Slowness |
|
Arrow of Slowness Enhanced |
|
Arrow of Slowness Extended |
|
Arrow of Splashing |
|
Arrow of Strength |
|
Arrow of Strength Enhanced |
|
Arrow of Strength Extended |
|
Arrow of Swiftness |
|
Arrow of Swiftness Enhanced |
|
Arrow of Swiftness Extended |
|
Arrow of Water Breathing |
|
Arrow of Water Breathing Extended |
|
Arrow of Weakness |
|
Arrow of Weakness Extended |
|
Arrow of the Turtle Master |
|
Arrow of the Turtle Master Enhanced |
|
Arrow of the Turtle Master Extended |
|
Awkward Lingering Potion |
|
Awkward Potion |
|
Awkward Splash Potion |
|
Banner Pattern Bordure Indented |
|
Banner Pattern Creeper |
|
Banner Pattern Creeper Charge |
|
Banner Pattern Field Masoned |
|
Banner Pattern Flower |
|
Banner Pattern Flower Charge |
|
Banner Pattern Globe |
|
Banner Pattern Piglin |
|
Banner Pattern Skull |
|
Banner Pattern Skull Charge |
|
Banner Pattern Snout |
|
Banner Pattern Thing |
|
Beacon |
|
Black Firework Star |
|
Blue Firework Star |
|
Blue Key |
Blue Key |
Bottle o' Enchanting |
經驗瓶 |
Broken Elytra |
|
Brown Firework Star |
|
Bubble Column |
Bubble Column |
Button |
|
Chain Command Block |
連鎖式指令方塊 |
Chloride |
|
Clock |
時鐘 |
Command Block |
指令方塊 |
Compass |
羅盤 |
Conduit |
|
Cooked Beef |
|
Creeper Head |
|
Crimson Hyphae |
緋紅菌絲體 |
Crimson Stem |
緋紅蕈柄 |
Cyan Firework Star |
|
Damaged Arrow Loaded Crossbow |
|
Damaged Bow |
|
Damaged Carrot on a Stick |
|
Damaged Chainmail Boots |
|
Damaged Chainmail Chestplate |
|
Damaged Chainmail Helmet |
|
Damaged Chainmail Leggings |
|
Damaged Crossbow |
|
Damaged Diamond Axe |
|
Damaged Diamond Boots |
|
Damaged Diamond Chestplate |
|
Damaged Diamond Helmet |
|
Damaged Diamond Hoe |
|
Damaged Diamond Leggings |
|
Damaged Diamond Pickaxe |
|
Damaged Diamond Shovel |
|
Damaged Diamond Sword |
|
Damaged Elytra |
|
Damaged Firework Loaded Crossbow |
|
Damaged Fishing Rod |
|
Damaged Flint and Steel |
|
Damaged Golden Axe |
|
Damaged Golden Boots |
|
Damaged Golden Chestplate |
|
Damaged Golden Helmet |
|
Damaged Golden Hoe |
|
Damaged Golden Leggings |
|
Damaged Golden Pickaxe |
|
Damaged Golden Shovel |
|
Damaged Golden Sword |
|
Damaged Iron Axe |
|
Damaged Iron Boots |
|
Damaged Iron Chestplate |
|
Damaged Iron Helmet |
|
Damaged Iron Hoe |
|
Damaged Iron Leggings |
|
Damaged Iron Pickaxe |
|
Damaged Iron Shovel |
|
Damaged Iron Sword |
|
Damaged Leather Boots |
|
Damaged Leather Cap |
|
Damaged Leather Pants |
|
Damaged Leather Tunic |
|
Damaged Netherite Axe |
|
Damaged Netherite Boots |
|
Damaged Netherite Chestplate |
|
Damaged Netherite Helmet |
|
Damaged Netherite Hoe |
|
Damaged Netherite Leggings |
|
Damaged Netherite Pickaxe |
|
Damaged Netherite Shovel |
|
Damaged Netherite Sword |
|
Damaged Shears |
|
Damaged Shield |
|
Damaged Stone Axe |
|
Damaged Stone Hoe |
|
Damaged Stone Pickaxe |
|
Damaged Stone Shovel |
|
Damaged Stone Sword |
|
Damaged Trident |
|
Damaged Turtle Shell |
|
Damaged Warped Fungus on a Stick |
|
Damaged Wooden Axe |
|
Damaged Wooden Hoe |
|
Damaged Wooden Pickaxe |
|
Damaged Wooden Shovel |
|
Damaged Wooden Sword |
|
Debug Stick |
除錯棒 |
Diamond Axe |
|
Diamond Hoe |
|
Diamond Pickaxe |
|
Diamond Shovel |
|
Diamond Sword |
|
Dragon Egg |
|
Dragon Head |
|
Dragon's Breath |
|
Elytra |
|
Elytra Wings |
|
Enchanted Book |
附魔書 |
Enchanted Golden Apple |
Enchanted Golden Apple |
End Crystal |
終界水晶 |
Filled Bundle |
|
Fire |
火 |
Firework Loaded Crossbow |
|
Golden Apple |
|
Golden Axe |
|
Golden Hoe |
|
Golden Pickaxe |
|
Golden Shovel |
|
Golden Sword |
|
Gray Firework Star |
|
Green Firework Star |
|
Half Filled Bundle |
|
Head |
|
Heart of the Sea |
|
Heat Block |
加熱塊 |
Iron Axe |
|
Iron Hoe |
|
Iron Pickaxe |
|
Iron Shovel |
|
Iron Sword |
|
Jigsaw Block |
|
Lava |
熔岩 |
Lead (element) |
|
Light 0 |
|
Light 1 |
|
Light 10 |
|
Light 11 |
|
Light 12 |
|
Light 13 |
|
Light 14 |
|
Light 15 |
|
Light 2 |
|
Light 3 |
|
Light 4 |
|
Light 5 |
|
Light 6 |
|
Light 7 |
|
Light 8 |
|
Light 9 |
|
Light Block 0 |
|
Light Block 1 |
|
Light Block 10 |
|
Light Block 11 |
|
Light Block 12 |
|
Light Block 13 |
|
Light Block 14 |
|
Light Block 15 |
|
Light Block 2 |
|
Light Block 3 |
|
Light Block 4 |
|
Light Block 5 |
|
Light Block 6 |
|
Light Block 7 |
|
Light Block 8 |
|
Light Block 9 |
|
Light Blue Firework Star |
|
Light Gray Firework Star |
|
Light Negative |
|
Lime Firework Star |
|
Lingering Potion of Decay |
滯留型腐朽藥水 |
Lingering Potion of Fire Resistance |
滯留型抗火藥水 |
Lingering Potion of Fire Resistance Extended |
滯留型抗火藥水 |
Lingering Potion of Harming |
滯留型傷害藥水 |
Lingering Potion of Harming Enhanced |
滯留型傷害藥水 |
Lingering Potion of Healing |
滯留型治療藥水 |
Lingering Potion of Healing Enhanced |
滯留型治療藥水 |
Lingering Potion of Invisibility |
滯留型隱形藥水 |
Lingering Potion of Invisibility Extended |
滯留型隱形藥水 |
Lingering Potion of Leaping |
滯留型跳躍藥水 |
Lingering Potion of Leaping Enhanced |
滯留型跳躍藥水 |
Lingering Potion of Leaping Extended |
滯留型跳躍藥水 |
Lingering Potion of Luck |
Lingering Potion of Luck |
Lingering Potion of Night Vision |
滯留型夜視藥水 |
Lingering Potion of Night Vision Extended |
滯留型夜視藥水 |
Lingering Potion of Poison |
滯留型劇毒藥水 |
Lingering Potion of Poison Enhanced |
滯留型劇毒藥水 |
Lingering Potion of Poison Extended |
滯留型劇毒藥水 |
Lingering Potion of Regeneration |
滯留型回復藥水 |
Lingering Potion of Regeneration Enhanced |
滯留型回復藥水 |
Lingering Potion of Regeneration Extended |
滯留型回復藥水 |
Lingering Potion of Slow Falling |
滯留型緩降藥水 |
Lingering Potion of Slow Falling Extended |
滯留型緩降藥水 |
Lingering Potion of Slowness |
滯留型緩速藥水 |
Lingering Potion of Slowness Enhanced |
滯留型緩速藥水 |
Lingering Potion of Slowness Extended |
滯留型緩速藥水 |
Lingering Potion of Strength |
滯留型力量藥水 |
Lingering Potion of Strength Enhanced |
滯留型力量藥水 |
Lingering Potion of Strength Extended |
滯留型力量藥水 |
Lingering Potion of Swiftness |
滯留型迅捷藥水 |
Lingering Potion of Swiftness Enhanced |
滯留型迅捷藥水 |
Lingering Potion of Swiftness Extended |
滯留型迅捷藥水 |
Lingering Potion of Water Breathing |
滯留型水下呼吸藥水 |
Lingering Potion of Water Breathing Extended |
滯留型水下呼吸藥水 |
Lingering Potion of Weakness |
滯留型虛弱藥水 |
Lingering Potion of Weakness Extended |
滯留型虛弱藥水 |
Lingering Potion of the Turtle Master |
滯留型龜仙藥水 |
Lingering Potion of the Turtle Master Enhanced |
滯留型龜仙藥水 |
Lingering Potion of the Turtle Master Extended |
滯留型龜仙藥水 |
Lingering Water Bottle |
|
Locator Map |
|
Lodestone Compass |
磁石羅盤 |
Lodestone Compass BE |
磁石羅盤 |
Magenta Firework Star |
|
Magma Block |
岩漿塊 |
Magma Block BE |
岩漿塊 |
Map (no markers) |
|
Mundane Lingering Potion |
|
Mundane Potion |
|
Mundane Splash Potion |
|
Music Disc 11 |
|
Music Disc 13 |
|
Music Disc Blocks |
|
Music Disc Cat |
|
Music Disc Chirp |
|
Music Disc Far |
|
Music Disc Mall |
|
Music Disc Mellohi |
|
Music Disc Pigstep |
|
Music Disc Stal |
|
Music Disc Strad |
|
Music Disc Wait |
|
Music Disc Ward |
|
Nether Portal |
地獄傳送門 |
Nether Star |
地獄之星 |
Netherite Axe |
|
Netherite Hoe |
|
Netherite Pickaxe |
|
Netherite Shovel |
|
Netherite Sword |
|
Orange Firework Star |
|
Pink Firework Star |
|
Player Head |
|
Potion of Decay |
腐朽藥水 |
Potion of Fire Resistance |
抗火藥水 |
Potion of Fire Resistance Extended |
抗火藥水 |
Potion of Harming |
傷害藥水 |
Potion of Harming Enhanced |
傷害藥水 |
Potion of Healing |
治療藥水 |
Potion of Healing Enhanced |
治療藥水 |
Potion of Invisibility |
隱形藥水 |
Potion of Invisibility Extended |
隱形藥水 |
Potion of Leaping |
跳躍藥水 |
Potion of Leaping Enhanced |
跳躍藥水 |
Potion of Leaping Extended |
跳躍藥水 |
Potion of Luck |
Potion of Luck |
Potion of Night Vision |
夜視藥水 |
Potion of Night Vision Extended |
夜視藥水 |
Potion of Poison |
劇毒藥水 |
Potion of Poison Enhanced |
劇毒藥水 |
Potion of Poison Extended |
劇毒藥水 |
Potion of Regeneration |
回復藥水 |
Potion of Regeneration Enhanced |
回復藥水 |
Potion of Regeneration Extended |
回復藥水 |
Potion of Slow Falling |
緩降藥水 |
Potion of Slow Falling Extended |
緩降藥水 |
Potion of Slowness |
緩速藥水 |
Potion of Slowness Enhanced |
緩速藥水 |
Potion of Slowness Extended |
緩速藥水 |
Potion of Strength |
力量藥水 |
Potion of Strength Enhanced |
力量藥水 |
Potion of Strength Extended |
力量藥水 |
Potion of Swiftness |
迅捷藥水 |
Potion of Swiftness Enhanced |
迅捷藥水 |
Potion of Swiftness Extended |
迅捷藥水 |
Potion of Water Breathing |
水下呼吸藥水 |
Potion of Water Breathing Extended |
水下呼吸藥水 |
Potion of Weakness |
虛弱藥水 |
Potion of Weakness Extended |
虛弱藥水 |
Potion of the Turtle Master |
龜仙藥水 |
Potion of the Turtle Master Enhanced |
龜仙藥水 |
Potion of the Turtle Master Extended |
龜仙藥水 |
Prismarine |
海磷石 |
Prismarine Slab |
海磷石半磚 |
Prismarine Stairs |
海磷石階梯 |
Prismarine Wall |
海磷石牆 |
Purple Firework Star |
|
Red Firework Star |
|
Red Key |
Red Key |
Repeating Command Block |
重複型指令方塊 |
Sculk Sensor |
Sculk Sensor |
Sculk Sensor BE |
Sculk Sensor BE |
Sea Lantern |
海燈籠 |
Skeleton Skull |
|
Soul Fire |
靈魂火 |
Sparkler |
|
Splash Potion of Decay |
飛濺型腐朽藥水 |
Splash Potion of Fire Resistance |
飛濺型抗火藥水 |
Splash Potion of Fire Resistance Extended |
飛濺型抗火藥水 |
Splash Potion of Harming |
飛濺型傷害藥水 |
Splash Potion of Harming Enhanced |
飛濺型傷害藥水 |
Splash Potion of Healing |
飛濺型治療藥水 |
Splash Potion of Healing Enhanced |
飛濺型治療藥水 |
Splash Potion of Invisibility |
飛濺型隱形藥水 |
Splash Potion of Invisibility Extended |
飛濺型隱形藥水 |
Splash Potion of Leaping |
飛濺型跳躍藥水 |
Splash Potion of Leaping Enhanced |
飛濺型跳躍藥水 |
Splash Potion of Leaping Extended |
飛濺型跳躍藥水 |
Splash Potion of Luck |
Splash Potion of Luck |
Splash Potion of Night Vision |
飛濺型夜視藥水 |
Splash Potion of Night Vision Extended |
飛濺型夜視藥水 |
Splash Potion of Poison |
飛濺型劇毒藥水 |
Splash Potion of Poison Enhanced |
飛濺型劇毒藥水 |
Splash Potion of Poison Extended |
飛濺型劇毒藥水 |
Splash Potion of Regeneration |
飛濺型回復藥水 |
Splash Potion of Regeneration Enhanced |
飛濺型回復藥水 |
Splash Potion of Regeneration Extended |
飛濺型回復藥水 |
Splash Potion of Slow Falling |
飛濺型緩降藥水 |
Splash Potion of Slow Falling Extended |
飛濺型緩降藥水 |
Splash Potion of Slowness |
飛濺型緩速藥水 |
Splash Potion of Slowness Enhanced |
飛濺型緩速藥水 |
Splash Potion of Slowness Extended |
飛濺型緩速藥水 |
Splash Potion of Strength |
飛濺型力量藥水 |
Splash Potion of Strength Enhanced |
飛濺型力量藥水 |
Splash Potion of Strength Extended |
飛濺型力量藥水 |
Splash Potion of Swiftness |
飛濺型迅捷藥水 |
Splash Potion of Swiftness Enhanced |
飛濺型迅捷藥水 |
Splash Potion of Swiftness Extended |
飛濺型迅捷藥水 |
Splash Potion of Water Breathing |
飛濺型水下呼吸藥水 |
Splash Potion of Water Breathing Extended |
飛濺型水下呼吸藥水 |
Splash Potion of Weakness |
飛濺型虛弱藥水 |
Splash Potion of Weakness Extended |
飛濺型虛弱藥水 |
Splash Potion of the Turtle Master |
飛濺型龜仙藥水 |
Splash Potion of the Turtle Master Enhanced |
飛濺型龜仙藥水 |
Splash Potion of the Turtle Master Extended |
飛濺型龜仙藥水 |
Splash Water Bottle |
|
Stone Axe |
|
Stone Hoe |
|
Stone Pickaxe |
|
Stone Shovel |
|
Stone Sword |
|
Stonecutter |
切石機 |
Structure Block |
|
Thick Lingering Potion |
|
Thick Potion |
|
Thick Splash Potion |
|
Tipped Arrow |
|
Totem of Undying |
|
Trident |
|
Trident BE |
|
Uncraftable Lingering Potion |
|
Uncraftable Potion |
|
Uncraftable Splash Potion |
|
Uncraftable Tipped Arrow |
|
Warped Hyphae |
扭曲菌絲體 |
Warped Stem |
扭曲蕈柄 |
Water |
水 |
Water (compound) |
|
Water Bottle |
|
White Firework Star |
|
Wither Skeleton Skull |
|
Wooden Axe |
|
Wooden Button |
|
Wooden Hoe |
|
Wooden Pickaxe |
|
Wooden Shovel |
|
Wooden Sword |
|
Written Book |
完成的書 |
Yellow Firework Star |
|
Yellow Key |
Yellow Key |
Zombie Head |
註:旗幟變種因過多圖示而不被包含在內。
The above aliases can be used to shorten common items, such as all wood blocks or adding parts to certain names by default.
{{Slot|Any Log;Golden Apple}}
- 顯示
When using the alias, parts can be added which will override any parts in the alias.
{{Slot|Any Log,4;[&oShiny Apple]Enchanted Golden Apple}}
- 顯示
Mods can specify an additional aliases table using the modaliases parameter.
標題和描述[編輯]
The title parameter can be used to set a title for all frames.
{{Slot|Raw Porkchop; Cooked Porkchop|title=Smelly Porkchop}}
- 顯示
To remove the title, set it to "none": {{Slot|Raw Porkchop; Cooked Porkchop|title=none}}
- 顯示
However, the first bracketed text can be used to specify a title for each frame individually, and also supports standard formatting codes using &
instead of §
. If the title only contains formatting codes and no actual text, the formatting will be added to the normal title.
{{Slot|[&b]Diamond Sword}}
- 顯示
The last bracketed text can be used to specify a description, this also supports standard formatting codes, and can also have multiple lines by using forward slashes (/).
{{Slot|[&b&oExcalibur]Iron Sword[&7Smite V/Fire Aspect I//&9+6 Attack Damage]}}
- 顯示
子框架[編輯]
Subframes are shown as a single frame, but the frames within it are advanced every time the subframe is displayed. A set of frames can be put in a subframe by wrapping it in braces.
Here, an alias (which resolves to multiple frames) is wrapped in a subframe, and a different wood plank variant is shown each animation cycle:
{{Slot|{Any Planks};Iron Ingot}}
- 顯示
對齊[編輯]
Align uses the vertical-align CSS property. For example to align to the middle:
Smells like{{Slot|Raw Porkchop|align=middle}}in here!
- 顯示
預設[編輯]
Default is always shown and is placed under the image. {{Slot|default=Grid layout Brewing Empty}}
{{Slot|Splash Mundane Potion|default=Grid layout Brewing Empty}}
- 顯示
連結[編輯]
To change the link for all frames from the image name put: {{Slot|Charcoal|link=煤炭#木炭}}
- 顯示
To remove the link, set link to none: {{Slot|Charcoal|link=none}}
- 顯示
Note that this retains the title.
可用圖片[編輯]
In general, an item can be referred to by its tooltip name.
For dyes, dyed items and wood, there are two shortcuts to refer to all colors or tree species. Use e.g. "Any Wood Planks" if the item appears in more than one input slot and doesn't have to be the same color in all slots. Different copies of the same "Any [item]" will switch randomly and separately among the variants. Otherwise, use "Matching [item]"; all slots containing a "Matching" item will cycle through the species or dye colors in unison, even if they're not the same item.
{{Slot|Any Planks}}{{Slot|Any wood Slab}}{{Slot|Any wood Stairs}} {{Slot|Matching Wood Planks}}{{Slot|Matching Wood Slab}}{{Slot|Matching wood Stairs}}
shows
Most items with a durability bar exist as "Damaged [item]".
See Template:InvSprite for the full list of items.
其他模板[編輯]
These templates implement this template into a GUI screen which mimics how it would look in Minecraft. Thus, they have mostly the same features as this template.
{{Crafting Table}}
{{Inventory Table}}
{{Furnace}}
{{Brewing Stand}}
{{Stonecutter}}
{{Loom}}
{{Grindstone}}
{{Hotbar}}
{{Inventory}}
{{Inventory slot}}
- Module:UI