Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 535:
 
function p._icon(args, frame)
local system = args[1] or args.system or frame[1]
local data = args.data
 
Line 544:
data = data or getData(system)
 
local line, line_name = getLine(data, args[2] or args.line or frame[2])
 
local icon
Line 550:
 
if line then
local line_type = args[3] or args.type or frame[3]
if line_type then
line_type = data.aliases and data.aliases[mw.ustring.lower(line_type)] or line_type