全站通知:
模块:Expanded/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