Open main menu

Changes

Module:Protection banner

15 bytes added, 11:00, 16 March 2014
try doing the error check earlier
-- right - the "right" css property value, as a string (optional)
--]]
image = image or error('No image parameter specified in p.renderPadlock')
local root = mw.html.create('div')
root
:attr('id', 'protected-icon')
:css{display = 'none', right = right or '55px'}
:wikitext(image or error('No image parameter specified in p.renderPadlock'))
return tostring(root)
end
Anonymous user