Module:Module introspection: Difference between revisions
mNo edit summary |
m rearrange |
||
| Line 247: | Line 247: | ||
-- Return the tables as strings | -- Return the tables as strings | ||
local summary = string.format("'''Introspection summary:''' Module:%s | local summary = string.format("'''Introspection summary:''' Module:%s provides %d functions and uses %d Lua module(s) as dependencies.", module_name, #module_funcs, num_deps) | ||
local combined_tables = table.concat({ | local combined_tables = table.concat({ | ||
"{|", | "{|", | ||
'| style="vertical-align:top; width:50%;" |', | |||
func_table, | |||
'| style="vertical-align:top; width:50%;" |', | '| style="vertical-align:top; width:50%;" |', | ||
dep_table, | dep_table, | ||
"|}" | "|}" | ||
}, "\n") | }, "\n") | ||