Module:Infobox: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
m bugfix
Line 94: Line 94:
-- Nested helper function
-- Nested helper function
-- Produces the navbar, if specified
-- Produces the navbar, if specified
function navbar()
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, navbar())
table.insert(lines, navbar_row())
end
end