Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
fix
show categories for testing
Line 110:
local rows, nested_ratings, task_forces, notes, categories, taskforce_categories = {}, {}, {}, {}, {}, {}
local add_category = function(category, key)
if category and category~='none' and not demo then
local cat_link = wikilink('Category:' .. category, key)
if args.demo_page then
table.insert(categories, cat_link)
table.insert(rows, cat_link)
elseif not demo then
table.insert(categories, cat_link)
end
end
end