模板:IDTableRow

出自Minecraft基岩版开发Wiki
[檢視 | 編輯 | 歷史 | 清除緩存]文件頁面

該模板用於為識別碼表格提供資訊。

語法[編輯]

參數[編輯]

名稱 效果 備註
type 設定識別碼型別。 預設為Other
name 設定顯示的名稱。 支援自動補全。
id 設定賦命名空間識別碼
datavalue 設定資料值
numericid 設定數字識別碼 支援自動補全。
key 設定在地化鍵名。 支援自動補全。
biometags 設定生態域標籤 支援自動補全。
blocktags 設定方塊標籤 支援自動補全。
itemtags 設定物品標籤 支援自動補全。

識別碼型別[編輯]

可用值
biome
biomes
block
blocks
effect
effects
enchantment
enchantments
entity
entities
env
environment
environments
item
items
mod
other

自動補全[編輯]

當識別碼型別不為ModOther時,部分參數可透過呼叫Module:IDInfoModule:IDInfo/data取得資料。

範例[編輯]

輸入:
{{IDTable|showblocktags=true
|{{IDTableRow|id=minecraft:stone|type=block}}
}}
輸出:
名稱賦命名空間識別碼數字識別碼資料值方塊標籤在地化鍵名
石頭minecraft:stone10stonetile.stone.stone.name