Module:Livestock/doc
来自星砂岛百科
更多语言
更多操作
这是模块:Livestock的文档页面
概述
Livestock 提供畜牧动物域的数据读取、配方列表与成长阶段渲染,供 {{Infobox livestock}} 与 {{AnimalRecipes}} 调用。
用法
{{#invoke:Livestock|getField|奶牛|mount_speed}}
{{#invoke:Livestock|renderGrowStages|奶牛}}
{{#invoke:Livestock|productionRecipeList|奶牛}}
函数
getField:读取条目字段,默认查当前页面标题。renderGrowStages:渲染成长阶段图片区块。processRecipeList:渲染加工配方列表。productionRecipeList:渲染产出配方列表。machineList:返回关联机器名称列表。