Module:RoleInfobox: Difference between revisions

Content deleted Content added
m Corrected spelling/grammar
m Fixed template
Line 13:
local output = ''
if not HF.isempty(field.Value) then
local ships = HF.explode('; ', field.Value)
table.sort(ships)
for i, ship in ipairs(ships) do
output = output .. '[[' .. HF.trim(ship) .. ']] '
end
Line 28:
local output = ''
if not HF.isempty(field.Value) then
local upgrades = HF.explode('; ', field.Value)
table.sort(upgrades)
for i, upgrade in ipairs(upgrades) do
output = output .. '[[' .. HF.trim(upgrade) .. ']] '
end