Module:Protection banner: Difference between revisions
Content deleted Content added
use isDemo instead of args.category and use an isSmall variable while we're at it |
undo, as a lot of code would need to be changed for template demos to look respectable on unprotected pages |
||
Line 812:
local ret = {}
-- Render the banner
if protectionObj:isProtected()
ret[#ret + 1] = tostring(
(
:new(protectionObj, blurbObj, cfg)
)
Line 824 ⟶ 822:
-- Render the categories
if
ret[#ret + 1] = protectionObj:makeCategoryLinks()
end
|