Module:Contentious topics/talk notice/sandbox: Difference between revisions

Content deleted Content added
Relatedcontent
support |section=foo for single-topic areas
Line 52:
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame)
local sectionParameter = yesno(args.section, args.section) or yesno(args.relatedcontent, args.relatedcontent) -- whether we are asections sectionall the way down
local completeTopics, partialTopics = collectTopics(args, sectionParameter)
local restrictions = {} -- A list of which restrictions are enabled for easier iteration