Changes
Jump to navigation
Jump to search
end function Padlock:setRight(px) self._right = pxcfg.padlockPositions[action] or cfg.padlockPositions.default or '55px'
use the config to set the padlock "right" propery, and remove the Padlock:setRight method
self._imageAlt = blurbObj:makeAltText()
self._imageLink = blurbObj:makeLinkText()
end
:addClass('metadata topicon nopopups')
:attr('id', 'protected-icon')
:css{display = 'none', right = self._right or '55px'}
:wikitext(self:renderImage())
return tostring(root)