Module:Rail/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 269:
style and string.match(style, 'route') then
root:wikitext((string.gsub(lineTitle, '[[.*|(.*)]]', tostring(box))))
elseif style == 'box' then
root:wikitext(tostring(box))
else
root:wikitext(tostring(box), ' ', style ~= 'box' and lineTitle)
end
return root