Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
No edit summary
m «type» parameter, overridden by «type-left» and «type-right»
Line 110:
_leftTerminus = _line['left terminus']
elseif type(_line['left terminus']) == 'table' then
_leftTerminus = _line['left terminus'][args.TypeL[v] or args.Type[v] or 1]
end
if type(_line['right terminus']) == 'string' then
_rightTerminus = _line['right terminus']
elseif type(_line['right terminus']) == 'table' then
_rightTerminus = _line['right terminus'][args.TypeR[v] or args.Type[v] or 1]
end
Line 197:
left = {},
right = {},
Type = {},
TypeL = {},
TypeR = {},
Line 218 ⟶ 219:
['optional strings'] = {
['note'] = 'note',
['type-left'] = 'typeLType',
['type-rightleft'] = 'typeRTypeL',
['type-right'] = 'TypeR'
},
['optional boolean'] = {