Module:Infobox: Difference between revisions
mNo edit summary |
m bugfix |
||
| Line 94: | Line 94: | ||
-- Nested helper function | -- Nested helper function | ||
-- Produces the navbar, if specified | -- Produces the navbar, if specified | ||
function | function navbar_row() | ||
local lines = {} | local lines = {} | ||
table.insert(lines, '|-') | table.insert(lines, '|-') | ||
| Line 141: | Line 141: | ||
-- Template navbar | -- Template navbar | ||
if name then | if name then | ||
table.insert(lines, | table.insert(lines, navbar_row()) | ||
end | end | ||