Module:Weld
local weld={}
function weld.up(frame)
local args = frame.args
if (args==nil or args[1]==nil) then args = frame:getParent().args end
local zero,begin,ends = "",'<div style="margin-top:-1px">',"</div>"
local result, is = zero,false
for _,t in ipairs(args) do
if(t~=zero) then
if(is) then
result = result .. begin .. t .. ends
else
result,is = t,true
end
end
end
return result
end
return weld