Documentation[créer] [purger]
local p = {}

function p.main( frame )
	local str = frame.args[ 1 ]
	local nb = frame.args[ 'nb' ]

	for i = 1, nb do
		if str:find( '[[', nil, true ) then
			str
				:gsub( '%[%[[Cc]atégorie:.-%]%]', '' )
				:gsub( '%[%[[Cc]ategory:.-%]%]', '' )
			end
	end
end

return p