Module:Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 92: | Line 92: | ||
.. '</td>' | .. '</td>' | ||
.. '</tr>' | .. '</tr>' | ||
.. '<tr><td></td>' | if next_y then | ||
s = s .. '<tr><td></td>' | |||
.. '<td style="\n' | .. '<td style="\n' | ||
.. 'width: 15%; text-align: left; white-space: nowrap; font-size: smaller">' | .. 'width: 15%; text-align: left; white-space: nowrap; font-size: smaller">' | ||
| Line 99: | Line 100: | ||
.. '</tr>' | .. '</tr>' | ||
.. '</table>' | .. '</table>' | ||
else | |||
s = s .. '</table>' | |||
end | |||
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>' | ||