Module:Protection banner: Difference between revisions

m
fix a few mistakes
(don't use Module:Middleclass)
m (fix a few mistakes)
Line 153:
end
configTables[#configTables + 1] = cfg.masterBanner
for i, field in ipairs(objProtection.bannerConfigFields) do
for j, t in ipairs(configTables) do
if t[field] then
Line 754:
 
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerBannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj:setImageWidth(40)
obj:setImageTooltip(blurbObj:makeBannerText('alt')) -- Large banners use the alt text for the tooltip.
Anonymous user