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

模块:Description

来自星露谷物语扩展百科
Sizau留言 | 贡献2025年9月10日 (三) 03:59的版本 (创建页面)

(差异) ←上一版本 | 已核准修订 (差异) | 最后版本 (差异) | 下一版本→ (差异)
[ 创建 | 刷新 ]文档页面
当前模块文档缺失,需要扩充。
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