Module:Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 80: | Line 80: | ||
.. '\n</td><td></td>' | .. '\n</td><td></td>' | ||
.. '\n<tr>' | .. '\n<tr>' | ||
.. '<table style="width: 100%; margin: 0"><tr>' | |||
.. '<td style="width: 15%; text-align: left; white-space: nowrap; font-size: smaller">' | |||
.. (prev_x or '') | |||
.. '</td>' | |||
.. '<td style="width: 70%; padding-left: 1em; padding-right: 1em; text-align: center">' | |||
.. title | |||
.. '</td>' | |||
.. '<td style="width: 15%; text-align: right; white-space: nowrap; font-size: smaller">' | |||
.. (next_x or '') | |||
.. '</td>' | |||
.. '</tr>' | |||
elseif has_adjacent_x then -- no prev y, has adjacent x | elseif has_adjacent_x then -- no prev y, has adjacent x | ||
s = s .. '<table style="width: 100%; margin: 0"><tr>' | s = s .. '<table style="width: 100%; margin: 0"><tr>' | ||