Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
mNo edit summary
No edit summary
Line 671:
local Type = args[3] or args.type
local data = args.data
local text_color = args.color or args.colour
if system or data then
data = data or getData(system, true)
Line 685 ⟶ 686:
end
 
if Type and Type ~= '' then
if line == '' then
line = Type
Line 692 ⟶ 693:
end
end
 
if text_color then
local delink = require('Module:Delink')._delink
line = '[[' .. delink({line, wikilinks = "target"}) .. '|<span style="color:' .. text_color .. '">' .. delink{line} .. '</span>]]'
end
 
return line
end