Testing page for firing specific parts of Documentation with tables (only reasonably doable from lua)
testCurrent:File:Sandbox.svg | This is the template sandbox page for Template:Excerpt. |
File:Sandbox.svg | This is the template sandbox page for Template:Excerpt. To avoid major disruption and server load, any changes should be developed here in the sandbox and tested on the testcases (create) page or your own user subpage. |
local doc = require("Module:Documentation")
local docsandbox = require("Module:Documentation/sandbox")
local p = {}
local function generateNotice(page,module)
return module.sandboxNotice( --args, env
{},
module.getEnvironment({page=page})
)
end
function p.testCurrentSNotice(frame)
return generateNotice(frame.args.page,doc)
end
function p.testSandboxSNotice(frame)
return generateNotice(frame.args.page,docsandbox)
end
return p