模板:Infobox component/doc

出自Minecraft基岩版开发Wiki
這是文件頁面,它應該被放置到Template:Infobox component,檢視Template:Documentation以取得更多資訊。
infobox_component/doc
附加包元件
元件所屬
?
元件型別
?
API
?

{{Infobox component}}應當被放在條目頂端,給予讀者關於條目的基本資訊。

模板參數[編輯]

該模板是元件的Infobox

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
標題title

Infobox的標題,不填寫時預設繼承頁面標題

預設
{{PAGENAMEBASE}}
範例
minecraft:abcd
頁面名稱選填
所屬的域domain

本元件所屬的,可以填寫block、block-netease、item、item-netease、entity、attachable、geometry、biome、feature、featurerule、dimension、particle、spawngroup、spawnrule、datadrivenspawn、ddspawn、recipe、fog、fogsetting、level、world、textureset、volume、behaviortree、automation、domain或自訂值

字串必填
元件型別type

本元件的型別,可以填寫component、condition、event、aigoal、trigger、attribute、property、domain或自訂值

字串必填
元件IDid

元件的ID

數值選填
所屬系列series

元件所屬的系列

字串選填
APIapi

本元件所屬的API,可以填寫datadriven、data-driven、dd、script、scripting、scriptengine、scriptingengine、se、datadriven-script、data-driven-script、datadriven-scripting、data-driven-scripting、datadriven-scriptengine、data-driven-scriptengine、datadriven-scriptingengine、data-driven-scriptingengine、dd-se、modapi或自訂值

字串必填
前置元件required

該元件的前置元件

字串選填
格式版本format-version

該元件的格式版本,每兩個格式版本之間用;隔開

字串必填
加入版本added

加入版本

字串選填
中國版加入版本ac

中國版加入版本

字串選填
國際版加入版本ai

國際版加入版本

字串選填
棄用版本deprecated

棄用版本

字串選填
中國版棄用版本dc

中國版棄用版本

字串選填
國際版棄用版本di

國際版棄用版本

字串選填
移除版本removed

移除版本

字串選填
中國版移除版本rc

中國版移除版本

字串選填
國際版移除版本ri

國際版移除版本

字串選填
所需實驗性玩法experiment

元件所依賴的實驗性玩法,可填{{Experiment}}的參數,每兩個參數之間用;隔開

字串選填
注釋note

底欄注釋

字串選填

範例[編輯]

{{infobox component
| title = minecraft:aaa
| domain = entity
| type = component
| id = -0123456789
| series = navigation
| api = dd
| required = minecraft:bbb
| format-version = 1.16.100
| added = 1.16.100.56
| removed = 1.18.0.20
| experiment = ddi_;mola
}}
minecraft:aaa
附加包元件
元件所屬
元件型別
元件ID
-0123456789
所屬系列
導覽
前置元件
1.16.100
加入版本
移除版本
  • 假日創作者功能
  • Molang功能

參見[編輯]