Jump to content

Module:Sandbox/Sunpriat/Test

From Wikipedia, the free encyclopedia
local p = {}

function p.table()
return '{|\n|cell\n|}'
end

function p.test2()
return 'test'
end

function p.test(frame)
foo = 1
local pframe = frame:getParent()
    local config = frame.args
    local args = pframe.args

-- par=mw.text.jsonDecode( '{"continue":{"rvcontinue":"20210225161348|112613895","continue":"||"},"query":{"pages":[{"pageid":8719579,"ns":0,"title":"Sherry-Netherland","revisions":[{"timestamp":"2021-02-25T16:10:57Z"}]}]}}' )

return mw.dumpObject()
end

function p.test3(frame)
return frame.args[1]
end

return p