模組:Seed/doc
出自星砂島百科
更多語言
更多操作
< 模块:Seed
此頁面為 模块:Seed 的說明文件
概述
Seed 提供種子域的數據讀取與配方列表渲染,供 {{Infobox seed}} 與 {{SeedRecipes}} 調用。
用法
{{#invoke:Seed|getField|土豆种子|type_display}}
{{#invoke:Seed|processRecipeList|土豆种子}}
{{#invoke:Seed|productionRecipeList|土豆种子}}
函數
getField:讀取條目欄位,默認查當前頁面標題。processRecipeList:渲染加工配方列表。productionRecipeList:渲染產出配方列表。machineList:返回關聯機器名稱列表。