Jump to content

Module:Sandbox/Innesw/test

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Innesw (talk | contribs) at 11:30, 6 October 2024 (reduced to generalised code with instructions on use). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

-- 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