更多操作
无编辑摘要 |
无编辑摘要 |
||
第7行: | 第7行: | ||
local statusType = args[1] | local statusType = args[1] | ||
if (statusType == 'DEEP') then | if (statusType == 'DEEP') then | ||
return '深度' | return '{{Tip|深度|包括但不限于长时间游玩、全成就、全收集}}' | ||
elseif (statusType == 'FINISH') then | elseif (statusType == 'FINISH') then | ||
return '通关' | return '{{Tip|通关|仅完成主线、支线等}}' | ||
elseif (statusType == 'ABANDON') then | elseif (statusType == 'ABANDON') then | ||
return '弃坑' | return '{{Tip|弃坑|未完成主流程}}' | ||
else | else | ||
return '[[分类:脚本错误的页面]]' | return '[[分类:脚本错误的页面]]' |
2025年3月13日 (四) 10:18的版本
此模块的文档可以在模块:PlayStatus/doc创建
local getArgs = require('Module:Arguments').getArgs
local p = {}
function p.getPlayStatus(frame)
local args = getArgs(frame)
local statusType = args[1]
if (statusType == 'DEEP') then
return '{{Tip|深度|包括但不限于长时间游玩、全成就、全收集}}'
elseif (statusType == 'FINISH') then
return '{{Tip|通关|仅完成主线、支线等}}'
elseif (statusType == 'ABANDON') then
return '{{Tip|弃坑|未完成主流程}}'
else
return '[[分类:脚本错误的页面]]'
end
end
return p