Module:沙盒/盐棋/Sandbox2:修订间差异

来自Arcaea中文维基
(f)
(u)
第2行: 第2行:


function p.main(frame)
function p.main(frame)
return string.byte(mw.getCurrentFrame():expandTemplate{ title = ":版本更新日志" },1,200)
return mw.text.jsonEncode(string.byte(mw.getCurrentFrame():expandTemplate{ title = ":版本更新日志" },1,-1),mw.text.JSON_PRETTY)
end
end


return p
return p

2022年5月6日 (五) 14:11的版本

可在Module:沙盒/盐棋/Sandbox2/doc创建此模块的帮助文档

local p = {}

function p.main(frame)
	return mw.text.jsonEncode(string.byte(mw.getCurrentFrame():expandTemplate{ title = ":版本更新日志" },1,-1),mw.text.JSON_PRETTY)
end

return p