Modul:Protection banner: Unterschied zwischen den Versionen
use Protection:isProtected instead of checking using getLevel
(add an image link parameter, and get the link data from the banner config) |
(use Protection:isProtected instead of checking using getLevel) |
||
Zeile 1.019: | Zeile 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) |