Module:Airport destination list/sandbox: Difference between revisions

Content deleted Content added
add 4thcoltitle (?)
oops
Line 8:
local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args
local cols
if isemptyisnotempty(args['4thcoltitle']) and isnotempty(args['3rdcoltitle']) then
cols = 4
elseif isnotempty(args['3rdcoltitle']) andthen 3cols or= 23
else cols = 32
elseif isnotempty(args['3rdcoltitle']) then
cols = 3
else
cols = 2 -- just pick up 2, since 3rdcoltitle does not exist
end