This template is within the scope of WikiProject Trains, an attempt to build a comprehensive and detailed guide to rail transport on Wikipedia. If you would like to participate, you can visit the project page, where you can join the project and/or contribute to the discussion. See also: WikiProject Trains to do list and the Trains Portal.TrainsWikipedia:WikiProject TrainsTemplate:WikiProject Trainsrail transport
This template was considered for deletion on 2019 March 7. The result of the discussion was "no consensus".
To help centralize discussions and keep related topics together, the following pages redirect here:
Hi. I am clearly not proficient enough to know how to align collapsible sections on a template. I flipped the orientation of Template:Confederation Line to west to east since that appears to be the convention for routemaps, but in doing so, I was unable to get the collapsible segments to properly line up how they did prior to me flipping the diagram's orientation. Could someone with more experience help go in and fix it? Much appreciated. OrdinaryScarlett (talk) 12:09, 11 January 2025 (UTC)[reply]
@OrdinaryScarlett: Unfortunately I have no idea. They seem to always be distorted either in the template or in the article. Because of that, I avoid them at all costs. The best solutions I can think of, assuming this is not fixed, is to remove the collapsible section(s) entirely or try to ignore it. Sorry I could not be of more help! Hotdog with ketchup (talk) 21:14, 11 January 2025 (UTC)[reply]
Usually it's a matter of either making sure the column width of the collapsible section is the same as in the body, or setting the |tw= (text width) parameter value correctly. Useddenim (talk) 19:31, 6 July 2025 (UTC)[reply]
Adding a new set color
I've just been doing some maintenance work over at Commons on a new BSicon color, emerald. Could someone with template editor privileges please update your routemap to include | emerald = 006400 | ex_emerald = 64A064. Thanks for your help. VanIsaac, GHTVcontrabout01:04, 17 February 2025 (UTC)[reply]
My takeaway from the discussion was "Yes, we could use a darker shade of green, but emerald is too close to the existing set f ." I was going to delete emerald and suggest Brunswick as an alternative, but just haven't got to it yet. Useddenim (talk) 03:44, 17 February 2025 (UTC)[reply]
I have said that I already read that discussion and saw a lot of back and forth, and I do not see any new comments since 4 January. Please be explicit about your request, if you have one. That discussion and the above discussion are both confusing to me. – Jonesey95 (talk) 19:28, 20 February 2025 (UTC)[reply]
I have three suggestions for improving this module. I initially attempted to enhance it myself but had to pause due to its complexity.
Would it be better to move the i18n table into a configuration submodule? Also, should the odata table be placed in a subpage and accessed via the mw.loadData method?
I noticed that the current approach to generating tables involves concatenating wikitext directly, which appears unstructured. Would it be more appropriate to use the mw.html.create method to construct the table in a cleaner, more maintainable way?
I have a question:
Who is/are the author(s) of this module? Were they two Russian Wikipedians (According to Chinese WP)?
This edit request to Module:Routemap has been answered. Set the |answered= parameter to no to reactivate your request.
Template:RoutemapRoute's documentation mentions parameters |Llink=, |Lsize=, |Rlink=, |Rsize=. Therefore I suggest to make this change (line 1096 and 1097):
ifargs.lthenargs.l=p._rmri{args.l,args.llink,(args.lsizeorargs.size),' '}..' 'elseargs.l=''end to ifargs.lthenargs.l=p._rmri{args.l,args.llinkorargs.Llink,(args.Lsizeorargs.lsizeorargs.size),' '}..' 'elseargs.l=''end
ifargs.rthenargs.r=' '..p._rmri{args.r,args.rlink,(args.rsizeorargs.size),' '}elseargs.r=''end to ifargs.rthenargs.r=' '..p._rmri{args.r,args.rlinkorargs.Rlink,(args.Rsizeorargs.rsizeorargs.size),' '}elseargs.r=''endRepakr (talk) 07:53, 14 August 2025 (UTC)[reply]
This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |answered=yes parameter to deactivate the template.
As per above I have made changes to sandbox. These changes, firstly, fix a problem with invisible text in dark mode as seen in Example 2.1 in template's documention, secondly they fix a problem of unworking parametrs, mentioned in Template:RoutemapRoute. (They are |Llink=, |Lsize=, |Rlink=, |Rsize=.) Repakr (talk) 07:55, 18 August 2025 (UTC)[reply]
Help, please
I originally posted this on the Template:Railway line legend page, so this may not fit this page exactly, but some of these never show up, as far as I can tell. After thorough research, the only place using the horsecar icon is the Disneyland Horsecar. However, there is NO list of draisine systems, so is there any rail line that uses it? Also, I'm doing a list of these symbols with examples, so if anyone can tell me a way to find Wikipedia articles with certain icons, that would be amazing. Daylighted tunnels, among other things, are hard to find. This would be very helpful, so if there is any way to do this, please tell me. AtTheTownHouse (talk) 23:27, 10 September 2025 (UTC)[reply]