Module:Block value: Difference between revisions

No edit summary
No edit summary
Line 5: Line 5:
args = f:getParent().args
args = f:getParent().args
end
end
local block = args[1]:gsub( '%s+', '' ):lower()
local block = ( args[1] or '' ):gsub( '%s+', '' ):lower()


-- Most of these transforms are unnecessary, but are kept for compatibility with original template
-- Most of these transforms are unnecessary, but are kept for compatibility with original template