此模块的文档可以在模块:PlayStatus/doc创建
local p = {}
function p.getPlayStatus(frame)
local args = frame.args
local statusType = args[1]
mw.log(statusType)
if (statusType == 'DEEP') then
return '深度'
elseif (statusType == 'FINISH') then
return '通关'
elseif (statusType == 'ABANDON') then
return '弃坑'
elseif (statusType == 'UNKNOWN') then
return '未知'
else
return '未定义的'..statusType
end
end
return p