打开/关闭菜单
切换首选项菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模块:PlayStatus

来自此界与彼端
AkiraZea留言 | 贡献2025年3月13日 (四) 12:11的版本

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

local getArgs = require('Module:Arguments').getArgs

local p = {}

function p.render(str)
	if (statusType == 'DEEP') then 
		return '{{Tip|content=深度|tip=包括但不限于长时间游玩、全成就、全收集}}'
	elseif (statusType == 'FINISH') then
		return '{{Tip|content=通关|tip=仅完成主线、支线等}}'
	elseif (statusType == 'ABANDON') then
		return '{{Tip|content=弃坑|tip=未完成主流程}}'
	else
		return statusType..'[[分类:脚本错误的页面]]'
	end
end

function p.getPlayStatus(frame)
	local args = getArgs(frame)
	local statusType = args[1]
	return p.render(statusType)
end

return p