Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
Undid revision 838762102 by Szqecs (talk)
No edit summary
Line 120:
local function station(s)
if _line['station format'] then
return mw.ustring.gsub(_line['station format'][s], '%%1', s)
or mw.ustring.gsub(data[v][1]['station format'][s], '%%1', s)
or mw.ustring.gsub(_line['station format'][1] or data[v][1]['station format'][1], '%%1', s)
else
return mw.ustring.gsub(data[v][1]['station format'][s], '%%1', s) or mw.ustring.gsub(data[v][1]['station format'][1], '%%1', s)
end
end