Module:Sandbox/BrandonXLF/4: Difference between revisions

Content deleted Content added
AC with every element
No edit summary
Line 3:
local p = {}
 
function p.main( frame )
local args = { state = frame.args.state }
for i_, vconf in ipairspairs( ac.conf ) do
args[vconf[1]] = vconf[5]
end
local parentFramenewParentFrame = mw.getCurrentFrame()frame:newChild{ title = 'Foo', args = args }
local framenewFrame = parentFramenewParentFrame:newChild{ title = 'Template:Authority control', args = {} }
return ac.authorityControl(frame newFrame )
end