Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(add an image link parameter, and get the link data from the banner config) |
(use Protection:isProtected instead of checking using getLevel) |
||
Line 1,019: | Line 1,019: | ||
-- Render the banner |
-- Render the banner |
||
if protectionObj: |
if protectionObj:isProtected() then |
||
-- Get the banner object |
-- Get the banner object |
||
local isPadlock = yesno(args.small) |
local isPadlock = yesno(args.small) |