Module:Protection banner/sandbox: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
rm unnecessary locals
Jackmcbarn (talk | contribs)
fix calls to removed functions
Line 803:
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj:setImageWidth(.imageWidth = 20)
obj:setImageTooltip(.imageCaption = blurbObj:makeBannerText('tooltip'))
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')