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

Content deleted Content added
add
test
Line 213:
if topicBlurb == '' then
addCategory(categoryDatabase['bad-topic'])
elseif scope thenelse
end
-- scope is not nil, so we write that into the bullet point
if scope then
addToMessage('* <b>' .. topicBlurb .. '</b>, specifically the parts about <b>' .. scope .. '</b>\n')
-- scope is not nil, so we write that into the bullet point
else
addToMessage('* <b>' .. topicBlurb .. '</b>, specifically the parts about <b>' .. scope .. '</b>\n')
-- scope is nil, so we have nothing to add
else
addToMessage('* <b>' .. topicBlurb .. '</b>\n')
-- scope is nil, so we have nothing to add
end
addToMessage('* <b>' .. topicBlurb .. '</b>\n')
end
-- check for a superTopic (e.g. South Asia is the superTopic of Indian military history)
local superTopic = subtopics[code]
if subtopics[code] then
-- we have a superTopic, so explain that
addToMessage(', a subtopic of <b>' .. getTopicBlurb(superTopic) .. '</b>\n')
else
addToMessage('\n')
end
end
end