Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
sync
Line 189:
return cell
end
local topic = args.MAIN_ARTICLE and if_exists(args.MAIN_ARTICLE) or if_exists(project, project .. ' articles')
local topic = ''
if args.MAIN_TEXT or '' == '' then
topic = args.MAIN_ARTICLE and if_exists(args.MAIN_ARTICLE) or if_exists(project, project .. ' articles')
end
local portal = args.PORTAL
local portal_box = portal and frame:expandTemplate{title='Portal', args={portal}} or ''