Module:Module introspection: Difference between revisions
move text for lack of code descriptions |
m bugfix |
||
| Line 312: | Line 312: | ||
-- Return the tables | -- Return the tables | ||
-- Styling may be improved at a later time | -- Styling may be improved at a later time | ||
local | local lines = { | ||
'{| class="wikitable mw-collapsible"', | '{| class="wikitable mw-collapsible"', | ||
'! colspan="2" | Introspection summary for Module:' .. module_name .. " ", | '! colspan="2" | Introspection summary for Module:' .. module_name .. " ", | ||
| Line 320: | Line 320: | ||
'| style="vertical-align:top; border-left:none" |', | '| style="vertical-align:top; border-left:none" |', | ||
dep_table, | dep_table, | ||
} | } | ||
-- Check whether descriptions was passed in | -- Check whether descriptions was passed in | ||
| Line 338: | Line 338: | ||
table.insert(lines, "|}") | table.insert(lines, "|}") | ||
return | return table.concat(lines, "\n") | ||
end | end | ||