Module:DynamicPageList

Documentation for this module may be created at Module:DynamicPageList/doc

local p = {}

function p.show(frame)
	local namespace = ""
    local category = ""
	
	if frame == nil then
		frame = mw.getCurrentFrame()
	end
	
	parameters = ''
	for key, value in pairs(frame.args) do
		parameters = parameters .. key .. '=' .. value .. '\n'
	end

    args = { 
    	'DynamicPageList', 
    	parameters 
    }

	result = frame:callParserFunction('#tag', args)

	return result
end

return p