Module:ScriptItem: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 570: Line 570:
local headers = nil--{ "Type", "Description" }
local headers = nil--{ "Type", "Description" }
local rows = { { p.formatType(tokens[1], frame), description } }
local rows = { { p.formatType(tokens[1], frame), description } }
local widths = { 80, 400 }
local widths = { 120, 400 }
return p.table(headers, rows, widths, 'wikitable-returns wikitable')
return p.table(headers, rows, widths, 'wikitable-returns wikitable')
end
end
Line 896: Line 896:
if #rows > 0 then
if #rows > 0 then
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "<div style='margin-top: 20px;'></div>")
table.insert(out, "\n'''Break-down'''<br>\n"..p.table(false, rows, { 110, 400 }, false))
table.insert(out, "\n'''Break-down'''<br>\n"..p.table(false, rows, { 120, 400 }, false))
end
end
end
end
6,834

edits

Navigation menu