Module:SiteList: Difference between revisions

no edit summary
No edit summary
No edit summary
if type(site.category) == "table" then
for _, cat in pairs(site.category) do
resultif cat ~= result .. '[[Category:' .. cat .. ']]'then
result = result .. '[[Category:' .. cat .. ']]'
end
end
elseif site.category ~= '' then
else
result = result .. '[[Category:' .. site.category .. ']]'
end