更多操作
创建页面,内容为“local p = {} function p.getPlayStatus(type) if (type == 'DEEP') then return '深度' else if (type == 'FINISH') then return '通关' else if (type == 'ABANDON') then return '弃坑' else return '未定义'..type end end end end return p” |
无编辑摘要 |
||
第2行: | 第2行: | ||
function p.getPlayStatus(type) | function p.getPlayStatus(type) | ||
mw.log(type) | |||
if (type == 'DEEP') then | if (type == 'DEEP') then | ||
return '深度' | return '深度' |
2025年3月11日 (二) 12:28的版本
此模块的文档可以在模块:PlayStatus/doc创建
local p = {}
function p.getPlayStatus(type)
mw.log(type)
if (type == 'DEEP') then
return '深度'
else if (type == 'FINISH') then
return '通关'
else if (type == 'ABANDON') then
return '弃坑'
else
return '未定义'..type
end
end
end
end
return p