Module:Infobox: Difference between revisions

No edit summary
No edit summary
 
Line 230: Line 230:
end
end
args.rows = string.gsub( args.rows or '', '<code class="history%-json">{"label": (".-"), "field": (".-")}</code>\n', repl )
args.rows = string.gsub( args.rows or '', '<code class="history%-json">{"label": (".-"), "field": (".-")}</code>\n', repl )
args.rowsextra = string.gsub( args.rowsextra or '', '<code class="history%-json">{"label": (".-"), "field": (".-")}</code>\n', repl )
args.rows2 = string.gsub( args.rows2 or '', '<code class="history%-json">{"label": (".-"), "field": (".-")}</code>\n', repl )


local html = {
local html = {
Line 239: Line 239:
'|-',
'|-',
args.rows or '',
args.rows or '',
args.rowsextra or '',
args.rows2 or '',
footer or '',
footer or '',
'|}',
'|}',