模块:Description
来自星露谷物语扩展百科
更多操作
local utils = require("Module:Utils")
local utils2 = require("Module:Expanded/Utils")
local description = require("Module:Description")
local expanded = utils.lazyload("Module:Expanded/Description/data/zh", true)
local expanded2 = utils.lazyload("Module:Expanded/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 description.getDesc(text)
end
return p