Module:Infobox: Difference between revisions

Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
No edit summary
Line 110: Line 110:
.. '\n</td><td></td>'
.. '\n</td><td></td>'
.. '</tr>'
.. '</tr>'
.. '</table>'
else
s = s ..  '</table>'
end
end
s = s ..  '</table>'
elseif next_y then -- no prev y, no adjacent x, so first row should be title in center
elseif next_y then -- no prev y, no adjacent x, so first row should be title in center
s = s .. '<table style="width: 100%; margin: 0"><tr>'
s = s .. '<table style="width: 100%; margin: 0"><tr>'