切換菜單
切換偏好設定選單
切換個人選單
尚未登入
若您做出任何編輯,會公開您的 IP 位址。

本站正在进行早期测试,目前仍存在许多内容的缺失。

此頁面為 模块:Insect 的說明文件

概述

Insect 提供昆蟲域的數據讀取與配方列表渲染,供 {{Infobox insect}} 等頁面模板調用。

用法

{{#invoke:Insect|getField|萤火虫|type_display}}
{{#invoke:Insect|processRecipeList|萤火虫}}
{{#invoke:Insect|productionRecipeList|萤火虫}}

示例

{{#invoke:Insect|getField|萤火虫|origin}}

函數

  • getField:讀取條目字段,默認查當前頁面標題。
  • processRecipeList:渲染加工配方列表。
  • productionRecipeList:渲染產出配方列表。
  • machineList:返回關聯機器名稱列表。

數據來源