Module:Data to Table: Difference between revisions

ReisuDesign (talk | contribs)
No edit summary
ReisuDesign (talk | contribs)
No edit summary
Line 205: Line 205:
local container = mw.html.create()
local container = mw.html.create()


-- Keep empty values
-- Default number to 0 when missing or empty
if key == 'number' and not ne(value) then
value = '0'
unquoted = true
end
if value ~= nil then
if value ~= nil then