local p = --p stands for package
function p.test(frame) count = countBanners(frame) if count >= 6 then doCollapse = "yes" else doCollapse = "no" end return frame:expandTemplateend
function countBanners(frame) _, count = string.gsub(frame.args[1], "wpb%-header", "") return countend
return p