打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模块:Description

来自星露谷物语扩展百科
[ 创建 | 刷新 ]文档页面
当前模块文档缺失,需要扩充。
local utils = require("Module:Utils")
local items = require("Module:Items")

local expanded = utils.lazyload("Module:Description/data/zh", true)
local expanded2 = utils.lazyload("Module:Description/data/en", true)

local p = {}

function p.getDesc(input)
    local text = utils.getArg(input)
    if not text then
        return ""
    end
	text = text:lower():gsub("_"," ")
    return expanded[text] or expanded2[text] or items.getDescription(text)
end

return p