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

添加16字节 、​ 2022年7月27日 (星期三)
no
(args)
(no)
第23行: 第23行:
end
end
function p.direct(frame)
function p.direct(frame)
return p.filter[frame.args[3]](p.tab_img(frame.args[1],frame.args[2]))
return p.filter[frame.args[3] or 'no'](p.tab_img(frame.args[1],frame.args[2]))
end
end
function p.jsonmode(frame)
function p.jsonmode(frame)
return p.filter[frame.args[3]](p.tab_img(frame.args[1],mw.text.jsonDecode(frame.args[2])))
return p.filter[frame.args[3] or 'no'](p.tab_img(frame.args[1],mw.text.jsonDecode(frame.args[2])))
end
end
return p
return p
1,124

个编辑