Module:RoleInfobox: Difference between revisions

Content deleted Content added
m Moved trimTable to top
m Updated MainImage width
 
(One intermediate revision by the same user not shown)
Line 13:
local output = field.Value
if not HF.isempty(output) then
output = '[[File:' .. output .. '|250px306px]]'
return output
end
Line 23:
local ships = HF.explode(';', field.Value)
 
ships = Infobox.trimTable(ships)
table.sort(ships)
 
Line 43:
local upgrades = HF.explode(';', field.Value)
 
upgrades = Infobox.trimTable(upgrades)
table.sort(upgrades)