Content deleted Content added
m fix |
m station function (for future use); remove non-breaking spaces |
||
Line 52:
_style['r'], _style['0'],
_style['t'], _style['1'],
'width: 8px; min-width: 8px; background-color: #'
}),
['body midcell'] = table.concat({_style['c'], _style['v'],
Line 117:
_rightTerminus = _line['right terminus'][args.TypeR[v] or 1]
end
--[[
local function station(s)
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], '%%s', s)
end
]]
if not args.left[v] then
Line 149 ⟶ 155:
table.insert(t, '\n|-')
table.insert(t, table.concat({'\n|', style['body leftcell'], left[v], leftTerminus[v]}))
table.insert(t, table.concat({'\n|', style['body banner'], colour[v], '"|
'\n|', style['body midcell'], lineTitle[v], '<div style="font-size: smaller">', note[v], '</div>',
'\n|', style['body banner'], colour[v], '"|
table.insert(t, table.concat({'\n|', style['body rightcell'], right[v], rightTerminus[v]}))
end
|