Module:Infobox: Difference between revisions

Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
No edit summary
Line 74: Line 74:
if has_adjacent_y and prev_y then
if has_adjacent_y and prev_y then
s = s .. '\n' .. prev_y .. '\n'
s = s .. '<div style="\n' ..
'width: 15%; text-align: left; white-space: nowrap; font-size: smaller">' ..
prev_y ..  
'\n</div>' ..
'\n'
end
end
if has_adjacent_x then
if has_adjacent_x then
Line 82: Line 86:
end
end
if has_adjacent_y and next_y then
if has_adjacent_y and next_y then
s = s .. '\n' .. next_y .. '\n'
s = s .. '<div style="\n' ..
'width: 15%; text-align: left; white-space: nowrap; font-size: smaller">' ..
next_y ..  
'\n</div>' ..
'\n'
end
end
s = s .. '\n'
s = s .. '\n'