local yesno = require("Module:Yesno")local _style = local style =
local function subFormat(s) return '
' .. s .. '
'end
local p =
function p.top return table.concat('end
function p.main(frame) local args = local _args = frame.args for k, v in pairs(_args) do local a = string.match(k, '(%a+)%d+') if not a then a = k end local b = tonumber(string.match(k, '%a+(%d+)')) if not b then b = 1 end if a
'line' then args.line[b] = v elseif a
'right' then args.right[b] = v elseif a
'typeR' then args.TypeR[b] = v elseif a
'onewayL' then args.onewayL[b] = yesno(v) elseif a
'circular' then args.circular[b] = yesno(v) elseif a
'circularR' then args.circularR[b] = yesno(v) elseif a
'throughR' then args.throughR = yesno(v) end end local data = for i = 1, #args.line do if args.system[i] then data[i] = require('Module:L-rail/' .. args.system[i]) else data[i] = data[i-1] end end local rows = return rows[_args.rows] or rows['all']end
return p