Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Simplification.
Line 123:
return mw.ustring.gsub(s2, '%%1', s)
else
return nil''
end
end
if _line['station format'] then
return subst(_line['station format'][s] or _line['station format'][1])
orelseif subst(data[v][1]['station format'][s]) then
orreturn subst(_linedata[v][1]['station format'][1s] or data[v][1]['station format'][1])
else
return ''
return subst(data[v][1]['station format'][s]) or subst(data[v][1]['station format'][1])
end
end