Module:Infobox: Difference between revisions
m 52 revisions imported |
No edit summary |
||
| Line 10: | Line 10: | ||
images = {}, | images = {}, | ||
invimages = {}, | invimages = {}, | ||
rows = {} | rows = {}, | ||
} | } | ||
| 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 ) | |||
local html = { | local html = { | ||
'<div class="notaninfobox">', | '<div class="notaninfobox">', | ||
| Line 238: | Line 239: | ||
'|-', | '|-', | ||
args.rows or '', | args.rows or '', | ||
args.rowsextra or '', | |||
footer or '', | footer or '', | ||
'|}', | '|}', | ||