Module:Contentious topics/talk notice: Difference between revisions

Content deleted Content added
various code improvements
ECR
Line 216:
end
end
--[[
Now build some further information collapse boxes
We get the content of each collapse box from Wikipedia:Contentious topics/[Topic]/Further information
--]]
-- Now build the messageBox
Line 229 ⟶ 235:
["text"] = messageBody
})
-- If ECR is enabled, prepend the ECR warning
if restrictionFlags["ECR"] then
messageBox = frame:expandTemplate{ title = "Template:Contentious topics/talk notice/ECR warning", args = { section = args.section and "yes" or "", small = args.small}} .. messageBox
end
--[[