跳至內容

「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,132

次編輯