Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
No edit summary
sync
Line 395:
end
if args[tf_prefix..'HOOK'] then
table.insert(rows,{text= args[tf_prefix..'HOOK']})
end
if yesno(args[tf_prefix..'QUALITY']) and class then
Line 610:
local raw_args = frame:getParent().args
local banner_name = mw.title.new(args.BANNER_NAME or 'Template:WikiProject ' .. (args.PROJECT or 'PROJECT'))
if not (banner_name and banner_name.exists) then
error('Invalid project or banner name', 0)
end
local demo = not yesno(args.category or true, true)
local on_template_page = not demo and (
Line 619 ⟶ 616:
)
if on_template_page then
local templatepage = require('Module:WikiProject banner/templatepage/sandbox').templatepage
return templatepage(args, raw_args)
else