Anonymous user
Module:Infobox: Difference between revisions
make all whitespace arguments nil, rather than just empty string arguments
(disallow zero-numbered row parameters) |
(make all whitespace arguments nil, rather than just empty string arguments) |
||
Line 259:
end
-- ParserFunctions considers
-- behavior of {{infobox}}, change any
-- them false too. (Except the 'italic title' param, which specifies different behavior
-- depending on whether it's absent or empty)
args = {}
for k, v in pairs(origArgs) do
if mw.ustring.match(v
args[k] = v
end
|