Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
m add all parameters except «state1» and «state2»
m %s to %1
Line 120:
local function station(s)
if _line['station link'] then
return _line['station link'][s] or data[v][1]['station link'][s] or mw.ustring.gsub(_line['station link'][1] or data[v][1]['station link'][1], '%%s1', s)
else
return data[v][1]['station link'][s] or mw.ustring.gsub(data[v][1]['station link'][1], '%%s1', s)
end
end