Module:Sandbox/BrandonXLF/4: Difference between revisions

Content deleted Content added
No edit summary
Allow any custom template
Line 6:
function p.main(frame)
local args = { state = frame.args.state }
local template = frame.args.sandbox and 'Template:Authority control/sandbox'template or 'Template:Authority control'
for _, conf in pairs(config) do
Line 16:
end
return sc.main(frame:expandTemplate{ title = 'Foo'template, args = args })
end