Module:Block value: Difference between revisions
Just the parens should be removed, not the contents |
No edit summary |
||
| Line 5: | Line 5: | ||
args = f:getParent().args | args = f:getParent().args | ||
end | end | ||
local block = ( args[1] or '' ):lower() | local block = mw.text.trim( args[1] or '' ):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 | ||