Module:Sandbox/Epicgenius/NYC bus link explained

require('strict');local getArgs = require('Module:Arguments').getArgslocal p =

function p.getLink(frame) local args = getArgs(frame); local city; if 'NYC'

args.city then city = 'New York City bus'; elseif 'LI'

args.city then city = 'Long Island bus'; end local result = ; for _, name in ipairs (args) do table.insert (result, table.concat) end return table.concat (result, ', ');end

return p;