模組:Livestock/doc
出自星砂島百科
更多語言
更多操作
此頁面為 模块:Livestock 的說明文件
概述
Livestock 提供畜牧動物域的數據讀取、配方列表與成長階段渲染,供 {{Infobox livestock}} 與 {{AnimalRecipes}} 調用。
用法
{{#invoke:Livestock|getField|奶牛|mount_speed}}
{{#invoke:Livestock|renderGrowStages|奶牛}}
{{#invoke:Livestock|productionRecipeList|奶牛}}
函數
getField:讀取條目欄位,默認查當前頁面標題。renderGrowStages:渲染成長階段圖片區塊。processRecipeList:渲染加工配方列表。productionRecipeList:渲染產出配方列表。machineList:返回關聯機器名稱列表。