Open main menu

Changes

Module:Protection banner

54 bytes added, 18:24, 26 March 2015
Undid revision 653638001 by Edokter (talk) Getting weird error!
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName _right = cfg.padlockIndicatorNamespadlockPositions[protectionObj.action] or cfg.padlockIndicatorNamespadlockPositions.default or 'pp-default55px'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
return local root = mw.getCurrentFramehtml.create('div') root :extensionTag{addClass('metadata topicon nopopups') name = :attr('indicatorid','protected-icon') args :css{display = {name 'none', right = self._indicatorName_right}, content = :wikitext(self:renderImage()) }return tostring(root)
end
Anonymous user