Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 515: Line 515:
local description = p.formatDescription(table.concat(callbackTokens, ' ', 3))
local description = p.formatDescription(table.concat(callbackTokens, ' ', 3))
rows[i2] = { p.formatType(parameterType, frame), p.formatSource(parameterName, frame), description }
rows[i2] = { i2..') ', p.formatType(parameterType, frame), p.formatSource(parameterName, frame), description }
end
end
local headers, widths
local headers, widths
headers = { "Type", "Name", "Description" }
headers = nil--{ "Type", "Name", "Description" }
widths = { 100, 180, 400 }
widths = { 30, 80, 110, 400 }
local table2 = "\n"..p.table(headers, rows, widths, 'wikitable-callback wikitable')
local table2 = "\n"..p.table(headers, rows, widths, 'wikitable-callback wikitable')
table.insert(html, table2)
table.insert(html, table2)
6,833

edits