Module:MaterialInfobox: Difference between revisions
Content deleted Content added
Turns out we don't need these |
Another way to build the part of the infobox that might fix it by chance |
||
Line 35:
end
return output
end
function Infobox.TableSplitRows( field, vars )
local output = ''
if not HF.isempty(field.Value) then
local ships = HF.explode(';', field.Value)
table.sort(ships)
output = '<tr><td colspan="2">' ..
table.concat(ships, '</td></tr><tr><td colspan="2">') ..
'</td></tr>'
return output
end
end
| |||