本WIKI由呜呜kurumi申请于2020年01月20日创建,编辑权限开放
帮助 | 收藏 | 常见问题
全站通知:

模块:GetItemID

来自公主连结WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

此模块的文档可以在模块:GetItemID/doc创建

local p={}
local data=mw.loadData('Module:GetItemID/data')
function p.get(frame)
	local args = (frame == mw.getCurrentFrame() and frame.args) or frame
	if (data[args[1]]==nil)
	then
		return args[1]
	else
		return data[args[1]]
	end
end
return p