Anonymous user
Module:If empty: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
test: do I even need these lines?
(lua doesn't cast nil into blank strings apparently) |
m (test: do I even need these lines?) |
||
Line 1:
-- this is intended to replace {{If empty}}
function p.run(frame)
local args = require('Module:Arguments').getArgs(frame)
Line 10 ⟶ 9:
return args[i]
end
|