Anonymous user
Module:Protection banner: Difference between revisions
Fixing content model
(add hack to prevent indicator tags producing whitespace at the top of articles) |
(Fixing content model) |
||
Line 825:
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj.
or cfg.
or '
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local
root
:addClass('metadata topicon nopopups')
:attr('id', 'protected-icon')
:css{display = 'none', right = self._right}
return tostring(root)
▲ content = self:renderImage()
end
|