Module:Sandbox/Aidan9382/DocInteraction
Appearance
Testing page for firing specific parts of Documentation with tables (only reasonably doable from lua)
testCurrent:![]() | This is the template sandbox page for Template:Excerpt (diff). See also the companion subpage for test cases. |
![]() | This is the template sandbox page for Template:Excerpt (diff). See also the companion subpage for test cases. |
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