local p = function p.route(frame) local route = frame.args.route local inv = frame.args.inv local station = frame.args.station local listall = frame.args.listall local ilist = mw.text.split(route, '\n') local output = local list = if not (int
station) then output = output .. '–\'\'\ .. v .. '\'\'\ elseif (#entry
'M') and not (listall
1) then output = output .. ' – ' end output = output .. stnlnk(entry[1], entry[3]) end end return outputend
function p.stnlnk(frame) local station = frame.args[1] local link = frame.args[2] return stnlnk(station, link)end
function stnlnk(station, link) if link