Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 7:
if key == 'text_IPS' then
return nil
end
elseif value then
if valuetype(val) ~== 'string' then
value = mw.text.trim(value)
val = val:match('^%s*(.-)%s*$')
if value ~= '' then
if val == '' then
return valuenil
else
return nilval
end
else
return val
end
return nil
end
})