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

模块:PlayStatus:修订间差异

来自此界与彼端
无编辑摘要
标签手工回退
无编辑摘要
第10行: 第10行:
elseif (statusType == 'ABANDON') then
elseif (statusType == 'ABANDON') then
return '弃坑'
return '弃坑'
elseif (statusType == 'UNKNOWN') then
return '未知'
else
else
return '未定义的'..statusType
return ''
end
end
end
end
return p
return p

2025年3月11日 (二) 14:41的版本

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

local p = {}

function p.getPlayStatus(frame)
	local args = frame.args
	local statusType = args[1]
	if (statusType == 'DEEP') then 
		return '深度'
	elseif (statusType == 'FINISH') then
		return '通关'
	elseif (statusType == 'ABANDON') then
		return '弃坑'
	else
		return ''
	end
end
return p