Module:Infobox: Difference between revisions
m It helps to specify which table to put it in. |
Halve invimage group spacing |
||
| Line 74: | Line 74: | ||
if image == '----' then | if image == '----' then | ||
table.insert( invImages, '</div><div | table.insert( invImages, '</div><div style="padding-top:.5em">' ) | ||
elseif image then | elseif image then | ||
if not grid then | if not grid then | ||
| Line 84: | Line 84: | ||
if grid and #invImages > 0 then | if grid and #invImages > 0 then | ||
invImages = '<div class="infobox-invimages">' .. table.concat( invImages, '' ) .. '</div>' | invImages = '<div class="infobox-invimages"><div>' .. table.concat( invImages, '' ) .. '</div></div>' | ||
else | else | ||
invImages = '' | invImages = '' | ||