Jump to content

Module:Sandbox/BrandonXLF/4

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 20:14, 4 January 2022 (AC with every element). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

-- Sandbox, do not delete
local ac = require('Module:Authority control')
local p = {}

function p.main()
	local args = {}
	
	for i, v in ipairs(ac.conf) do
		args[v[1]] = v[5]
	end
	
	local parentFrame = mw.getCurrentFrame():newChild{title = 'Foo', args = args}
	local frame = parentFrame:newChild{title = 'Template:Authority control', args = {}}
	
	return ac.authorityControl(frame)
end

return p