Changes

Jump to: navigation, search

Module:Category handler

99 bytes added, 06:05, 27 September 2013
pass the demospace parameter to Module:Namespace detect
end
ndargs.page = args.page
ndargs.demospace = args.demospace
local ndresult = nsDetect.main(ndargs)
if ndresult then
-- Namespace parameters exist; advanced usage.
-- If the all parameter is specified, return it.
if local all = args.all if type(all) == 'string' then ret = ret .. args.all
end
end
end
if args.other then ndargs.other = args.other end if ndargs.page = args.page then ndargs.page demospace = args.page enddemospace
local data = nsDetect.main(ndargs)
-- Remove non-positive integer values, as only positive integers
-- from 1-10 were used with the old template.
if datanum > 0 and math.floor(datanum) == datanumthen and local dataArg = args[datanum] if type(dataArg) == 'string' then ret = ret .. args[datanum]dataArg end
end
else
Anonymous user

Navigation menu