Module:Seed/doc
来自星砂岛百科
更多语言
更多操作
< 模块:Seed
这是模块:Seed的文档页面
概述
Seed 提供种子域的数据读取与配方列表渲染,供 {{Infobox seed}} 与 {{SeedRecipes}} 调用。
用法
{{#invoke:Seed|getField|土豆种子|type_display}}
{{#invoke:Seed|processRecipeList|土豆种子}}
{{#invoke:Seed|productionRecipeList|土豆种子}}
函数
getField:读取条目字段,默认查当前页面标题。processRecipeList:渲染加工配方列表。productionRecipeList:渲染产出配方列表。machineList:返回关联机器名称列表。