Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
move main article checking to only happen if MAIN_TEXT not set
Tag: Reverted
No edit summary
Tag: Reverted
Line 188:
cell:done()
return cell
end
if args.MAIN_TEXT or '' == '' then
local topic = args.MAIN_ARTICLE and if_exists(args.MAIN_ARTICLE) or if_exists(project, project .. ' articles'),
else
local topic = ''
end
local portal = args.PORTAL
Line 195 ⟶ 200:
project_link.prefixedText,
project_name,
topic,
args.MAIN_ARTICLE and if_exists(args.MAIN_ARTICLE) or if_exists(project, project .. ' articles'),
project_link.talkPageTitle.prefixedText
))