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

Content deleted Content added
close p tag
save a WIP
Line 244:
if superTopic ~= '' then
-- we have a superTopic, so explain that
addToMessage(', a subtopic of <b>' .. getTopicBlurbmakeSubtopicCompleteBlurb(superTopic) .. '</b>\n')
else
addToMessage('\n')
Line 297:
else
if numberOfCompleteTopics ~= 0 then
addToMessage('<p> The entire ' .. articleOrPage .. ' relates to ')
if numberOfCompleteTopics > 1 then
addToMessage('the following contentious topics:</p>\n')
for _, topic in ipairs(completeTopics) do
makeTopicBulletPoint(topic, nil)
end
else
addToMessage('<b>' .. getTopicBlurb(completeTopics[1]) .. '</b>')
local superTopic = callFromListTemplate(completeTopics[1], 'supertopic')
if superTopic then
addToMessage(getSubtopicBlurb(completeTopics[1]) .. '</b>, part of the contentious topic designation for ' .. makeSubtopicCompleteBlurb(completeTopics[1]) .. '.</p>')
else
addToMessage(getTopicBlurb(completeTopics[1]) .. '</b>, a contentious topic.</p>')
end
end