Module:ShipInfobox: Difference between revisions
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 145:
function Infobox.MaxCargo ( field, vars )
local output =
local number = 0
if HF.isempty(field.Cargo) then
if not HF.isempty(field.S1) then
end
if not HF.isempty(field.S2) then
end
if not HF.isempty(field.S3) then
end
if not HF.isempty(field.S4) then
end
if not HF.isempty(field.S5) then
end
if not HF.isempty(field.S6) then
end
if not HF.isempty(field.S7) then
end
if not HF.isempty(field.S8) then
end
if HF.isempty(output) then
output = "---"
else
output = tostring(number)
end
return output
| |||