Jump to content

Module:Sandbox/Innesw/test

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Innesw (talk | contribs) at 10:23, 13 November 2024 (Undid revision 1257122719 by Innesw (talk) should not have saved). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- this is a location for general tests of module code
-- It should be used by:
--  (a) pasting the module code here
--  (b) possibly making on-the-fly changes to the code, for testing
--  (c) ensuring the function p.main exists, which will usually call other functions with any required parameters
--  (d) previewing the page User:Innesw/test, which calls this test page's function main
local p = {}
local lframe

function p.main(frame)
    lframe = mw.getCurrentFrame()
end

return p