-- Sandbox, do not delete
local ac = require('Module:Authority control')
local p = {}
function p.foo ( frame )
return mw.title.new('Template:Youtube'):getContent()
end
function p.main( frame )
local args = { state = frame.args.state }
for _, conf in pairs( ac.conf ) do
args[conf[1]] = conf[5]
end
local newParentFrame = frame:newChild{ title = 'Foo', args = args }
local newFrame = newParentFrame:newChild{ title = 'Template:Authority control', args = {} }
return require('Module:Suppress categories').main( ac.authorityControl( newFrame ) )
end
return p