Module:Sandbox/Sunpriat/Test
Appearance
From Wikipedia, the free encyclopedia
You might want to create a documentation page for this Scribunto module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
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月25日T16:10:57Z"}]}]}}' ) return mw.dumpObject() end function p.test3(frame) return frame.args[1] end return p