Changes
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)