Template talk:Railway line legend

Latest comment: 2 months ago by Mackensen in topic title text?

I have updated this page and added some integral symbols so Im not sure whether it could do with further updates Gingerblokey 17:57, 16 May 2007 (UTC)Reply

Moving to the template namespace

edit

Since we are linking this legend from various articles in the article namespace, I moved this page from the Wikipedia namespace to the template namespace as per WP:SELF. Zzyzx11 (Talk) 15:56, 22 June 2007 (UTC)Reply

But this is not a template! It's not designed to be transcluded into other pages, but actually linked to from the article space. I suppose it ought to be within the article space (even though its subject matter is diagrams within Wikipedia?). --Dr Greg 11:45, 5 September 2007 (UTC)Reply

Move this Railway line legend (section)to the Help space this is a legend that help by telling what the sysimbles mean.**My Cat inn @ (talk)** 03:03, 22 December 2007 (UTC)Reply

I'm not sure if it would be useful if the help pages are not also included in most Wikipedia mirror. Instead, we could also treat this as sort of a navigation box. Zzyzx11 (talk) 18:43, 24 July 2010 (UTC)Reply

.[.I AM USTINOV D S HOSTAGE,FBI TEL USA EMBASSY 011-7-3172-70-2100,MY 7-7774-91-3208,7-7079-11-6970,7-7076-84-4184,050000,TAX ID 791004300354,SATTY ZHULDYZ 369-984-143,QIWI 77079116970,SEND POLICE.]. Saintnotkvist (talk) 15:55, 5 December 2020 (UTC)Reply

Discussion of this template

edit

I've started a discussion of the layout of this template at Wikipedia talk:Route diagram template#Railway line legend – Tivedshambo (talk) 11:55, 3 September 2007 (UTC)Reply

A test bed for your railway map experiments

edit

Feel free to experiment here to test your rail map building skills before doing an official Wiki article map, like as on a sand board, because it is a very tricky thing to plan out A map symbol key is set below, followed by the test map.

This page is for discussion of the Railway Line Legend template, and is not really a suitable place for experimentation. I have therefore moved the test area to Wikipedia:Railway line template/sandbox. —  Tivedshambo  (t/c) 22:17, 30 November 2008 (UTC)Reply
Be warned there are a very large number of different icons to download and opening the sandbox page could take a considerable time, even on a broadband connection.
You may find it quicker to copy an existing map to your own sandbox and play with it there.
EdJogg (talk) 13:09, 2 December 2008 (UTC)Reply
I've cleared it out, and added a note to that effect. —  Tivedshambo  (t/c) 14:49, 2 December 2008 (UTC)Reply

BHF+BUE is poor as it doesn't distinguish where the level crossing is so it is not in this list I note

edit

Can someone codify a symbol for HST minor station and similar for BST with a small level crossing x before and after it, otherwise we have two symbols to use in a row which seems overkill. An attempt has been made with BHF+BUE but is so counterintuitive as one X on top of a station it has obviously been rightfully omitted from this list.- Adam37 Talk 17:31, 14 May 2016 (UTC)Reply

@Adam37: Wrong page; indeed, wrong project. You need c:Talk:BSicon/New icons and icon requests. --Redrose64 (talk) 19:46, 14 May 2016 (UTC)Reply

Requested move 12 December 2016

edit
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.

The result of the move request was: not moved. There is a consensus that this is not in the ideal spot right now, but there is no consensus on where to move it. The Help namespace is not for articles such as this, and content-specific information usually doesn't go in Wikipedia namespace. Perhaps a larger conversation is necessary to determine where this belongs. (non-admin closure) Bradv 05:04, 1 January 2017 (UTC)Reply


Template:Railway line legendHelp:Railway line legend – See discussion at Wikipedia talk:Route diagram template#Diagram articles. As has been mentioned before this is not really a template, as it only transcluded into a very few user pages, and the main use is the links from many RDTs. Therefore it would make sense to have this in help space rather than user space. Optimist on the run (talk) 12:39, 12 December 2016 (UTC)Reply

  • Support as nom Optimist on the run (talk) 10:47, 13 December 2016 (UTC)Reply
  • @Optimist on the run: Support; maybe add {{Railway track legend}}, {{Bus route legend}}, {{Waterways legend}}, {{Roads legend}} and {{Trails legend}} to the nomination? Jc86035 (talk) Use {{re|Jc86035}}
    to reply to me
    13:04, 12 December 2016 (UTC)Reply
  • Move to Wikipedia:Route diagram template/Railway line legend to marry this page with its most related page as a subpage. I oppose the move as proposed since the "Help" namespace is not for pages such as this, but support the creation of Help:Railway line legend as a redirect to wherever this page is moved. Steel1943 (talk) 14:05, 12 December 2016 (UTC)Reply
    Also, I oppose moving the pages referenced above by Jc86035 to their respective "Help:..." titles, but support them becoming subpages of Wikipedia:Route diagram template in the manner as suggested in my previous comment. Steel1943 (talk) 14:19, 12 December 2016 (UTC)Reply
    Additional comment: For the record, I also weak support no move per Zzyzx11's comment about the Wikipedia: namespace. (I support my option stronger than theirs, but IMO, no move is better than the proposed move.) Steel1943 (talk) 15:26, 20 December 2016 (UTC)Reply
  • Oppose moving this page into the Wikipedia project namespace. See my comments above back in 2007 and WP:SELF -- Do not assume that the reader is reading Wikipedia, or indeed any website. Since we are linking this legend from various articles in the main namespace, I moved it OUT of the Wikipedia namespace in the first place because those pages do not generally show up in Wikipedia mirrors, or offline references that re-use this material. If you move it back into the Wikipedia namespace, readers who are seeing all these rail diagrams on a mirror website would likely not have access to this legend. Zzyzx11 (talk) 06:27, 19 December 2016 (UTC)Reply
    Actually, the optimal solution would be to keep this as a template, and tranclude the collapsible box on all affected articles. With the main use being just a link from articles in the main namespace, it could be argued that it violates WP:CLICKHERE, because it is essentially a "Click here to see the legend"; there is also no direct visibility to the legend when articles are printed out and read offline.[1]. Zzyzx11 (talk) 07:02, 19 December 2016 (UTC)Reply
    @Zzyzx11: There are probably some issues with transcluding this and the other templates everywhere, e.g. the three different formats for RDTs, and that some RDTs already have their own legends in addition to the link. Would it work if the pages were moved to the Help namespace? Jc86035 (talk) Use {{re|Jc86035}}
    to reply to me
    07:53, 19 December 2016 (UTC)Reply
    What sort of issues? I could modify {{BS-map}}, for example, change them from "Legend" wikilinks to actual template syntax, then move that entire {{#switch: {{{legend|}}} statement to the bottom of the table. {{BS-table}} and Module:Routemap could also be modified in a similar way. And the Help namespace is not really optimal. Again, as stated on WP:HELPNS, it is suppose to "contain information intended to help use Wikipedia or its software", not really for pages such as this. And some Wikipedia mirrors as a general rule may omit the entire Help namespace because almost all of it is relevant for only Wikipedia. The reason I chose to move it to the template namespace back in 2007 was that it was a compromise at the time: these mirrors needed to include templates or most of the articles would not render correctly. Zzyzx11 (talk) 08:47, 19 December 2016 (UTC)Reply
    @Zzyzx: It might be a bit confusing to have the entire legend before the actual diagram in printed versions, but I guess that might work. @Useddenim, Sameboat, Redrose64, and Epicgenius: your thoughts? Jc86035 (talk) Use {{re|Jc86035}}
    to reply to me
    15:34, 19 December 2016 (UTC)Reply
    No, the legend should be after the actual diagram. This is what I meant when I previously wrote, "move that entire switch statement to the bottom of the table". Zzyzx11 (talk) 08:27, 20 December 2016 (UTC)Reply
    @Zzyzx11: Not possible, for now. {{BS-table}} (several thousand uses) is just table row code, and diagrams using it end with just |} and not an end template so it can't be added easily. If you want to go through all of those and convert them to {{Routemap}} or even {{BS-map}}, you'd probably have to review all of them manually because of things like noinclude tags, switch parser functions and {{Infobox RDT}}. You could just add the legend, I suppose, but it's probably not worth the effort just to do that, since {{BS-table}} has been deprecated for five years. Jc86035 (talk) Use {{re|Jc86035}}
    to reply to me
    09:58, 20 December 2016 (UTC)Reply
    I do not think it is practical to transclude the legend. Printing it also sounds terribly wasteful of papers. I also have issue with catering mirror sites of Wikipedia when most of them are wrapper to earn some ad revenues or attempt to censor its contents, not to mention the sneaky 3rd party privacy mining via Google Analytics or alike. -- Sameboat - 同舟 (talk · contri.) 17:36, 19 December 2016 (UTC)Reply
    So you have issues with "catering mirror sites of Wikipedia" and other places that reuses Wikipedia's content? So "it's terribly wasteful of papers" is your answer to every reader out there who might wish to have printed versions offline? Apologies for being blunt and honest, but to me, that sounds like you either disagree with WP:SELF or the mere fact that Wikipedia's content is reused in many places. That is one of the Wikipedia's Five Pillars: "free content that anyone can use, edit, and distribute". And this includes the material being printed for offline use, or being posted onto third party sites with ads. That is why we have the WP:SELF guideline in the first place. The idea of having a link to a legend that is hard to access when Wikipedia's content is reused in other places has never been optimal. Not back in 2007, and not now in 2016. Zzyzx11 (talk) 07:53, 20 December 2016 (UTC)Reply
    @Zzyzx11: So what practical solution do you propose? Useddenim (talk) 13:00, 20 December 2016 (UTC)Reply
    I don't think that it's a good idea to transclude this into RDTs, since it includes a large number of symbols (even though it's not an exhaustive list), several of which are not found in the average RDT. Most RDTs have perhaps one or two colours, two or three types of station, and two or three other kinds of principal feature (such as tunnels or viaducts). --Redrose64 (talk) 17:56, 20 December 2016 (UTC)Reply
    I thought about using Lua's string functions to search for icon names, but it doesn't seem worth the effort, and would be quite computationally expensive as well as impossible to implement in {{BS-table}} diagrams. Jc86035 (talk) Use {{re|Jc86035}}
    to reply to me
    10:49, 21 December 2016 (UTC)Reply
  • I will concede that it may be difficult to tranclude the legend templates directly on all the articles. Therefore, as an interim solution, the legend links will be enclosed in class="selfreference noprint" to disable them on mirror sites and printed versions. Zzyzx11 (talk) 08:15, 22 December 2016 (UTC)Reply

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.

One-way accessibility symbol

edit

There should be a symbol to denote when a station is only accessible in one direction. I'm not sure how to do that, but it really should exist, especially for systems like the NYC subway, which has many stations that are only accessible for trains heading in a single direction. — Preceding unsigned comment added by Henrygg98 (talkcontribs) 04:05, 6 May 2022 (UTC)Reply

@Henrygg98: In terms of a station with a mix of accessible and inaccessible platforms, I would leave it labeled as inaccessible and put a clarification in the station's article. That should cause the least confusion, especially if we consider a reader with a physical disability looking to Wikipedia for information. Hotdog with ketchup (talk) 01:02, 18 November 2023 (UTC)Reply
Accessible
 
Accessible limited
 
 
Limited
 

The only workaround to this I've seen is to display an accessibility symbol next to the line and station (at right). I can see it maybe getting a little unwieldy, but I imagine that most stations with limited services also have limited connections, leaving room adjacent to the pHST symbol. -MJ (talk) 22:17, 17 November 2023 (UTC)Reply

oops, misread this as "limited service" for some reason. though this still seems like an appropriate solution for some applications. -MJ (talk) 22:23, 17 November 2023 (UTC)Reply

Non-readability

edit

I have to say I'm not a fan of this system and it's extensive use. Often they are used in "route maps" for train systems and they end up being completely useless for Wikipedia articles as they don't help understand the relative routes to the surrounding city map. They should not be used in "route maps" and instead be reserved for whatever purpose they were originally used for. Ergzay (talk) 12:15, 12 November 2022 (UTC)Reply

दिल्ली वाराणसी बुलेट ट्रेन प्रोजेक्ट

edit

दिल्ली वाराणसी बुलेट ट्रेन प्रोजेक्ट का भूमि अधिकरण कब 2405:201:4026:2036:3C82:FDCF:891E:7539 (talk) 05:39, 6 January 2023 (UTC)Reply

Triangles (Wye (rail))

edit

Could we please have an infographic added to include triangles or wyes. For clarity, the graphic would be similar to the switch-back, but include the continuous through line. There are multiple lines and articles where this would be of additional benefit in portraying the line structure. J.christianson (talk) 22:33, 23 December 2024 UTC [refresh]

@J.christianson:There are a set of junctions already: see c:BSicon/Catalogue/junctions/3-way and similar pages. Bazza (talk) 10:28, 19 December 2023 (UTC)Reply
This is the page I needed to locate! Many thanks for pointing me in the right direction. J.christianson (talk) 10:36, 19 December 2023 (UTC)Reply

Icons hard to read in dark mode

edit

The icons at the bottom of the legend show up as black in light mode, which is a nice contrast. However, in dark mode, they show up as black or dark grey against a dark grey background, making them difficult to discern. They should be showing up as white in dark mode; I'm not sure where the CSS that controls this lives. It may fix this to just add class "skin-invert-image" to these images, or there's more advice at mw:Recommendations for night mode compatibility on Wikimedia wikis. -- Beland (talk) 03:45, 11 September 2024 (UTC)Reply

title text?

edit

what is the purpose of the title text? who is it for and who chooses the values?

these values appear when hovering on part of the route depending which part you're hovering. there's no alt text for the template page and most on the article below have no alt text. where they do have alt it's just the image's filename.

(this code should work in any modern developer console/web inspector. right click anywhere on page, click inspect, click console.)

see below --Jeremyb (talk) 02:34, 24 September 2024 (UTC)Reply

  • {{Railway line legend}}: console.log((new Set($('table.RMbox span.mw-default-size > span').map((i,e) => e.title).get())).values().toArray().sort((a,b) => { b = b.toUpperCase(); a = a.toUpperCase(); return a < b ? -1 : (a > b ? 1 : 0); }).map(a => `${a}`).join(' ')) yields: ABZg3 ABZgnr ABZgr ABZr+r ACC AETRAM AIRF ARCH BAHN BHF BHF-R BHF; HUBaq BHF; HUBeq BICYCLE BLaq; KBHFe BLeq; BHF BOOT BRILL BST BUILDING BUS BUS3 CCAR CHURCH CONT1 CSTRe@f DBK dENDEaq dLTRRl dLTRRm DST DSTRa@g eABZgr eACC eBHF eBST eDST eHST eHSTACC eINT ENDEe eSBHF eSHST eTUNNEL1 exCONTgq FEATURE@l FIGHTER FLUG FUNI GIPl HELI hKRZWae HORSECAR HOSPITAL hPTNWae HST HSTACC hSTR hSTRae ICTS INCIDO INT INTACC KBHFa KBHFa-L KMW KRZ KRZo lDAMPF LDER lELC LFT lNAT LOCK2d; STR LSTR mfKRZo mKRZo +cerulean mKRZu MONO MUSEUM nENDEaq numN045 OBUS PARKING pBHF pHST POINTER+3 PSL PSLe PSLr RP2q; BUE-us RP4; STR S+BHF SBHF SBRÜCKE SHST SKRZ-Au SKRZ-Bo SKRZ-G2 SKRZ-G2BUE SKRZ-G4o STADIUM STR+c4 STR+GRZq STR; lDRH STR; lZOLL STRc2 STRf; lhSTRe@g STRo SUBWAY THSTu TRAIN3 TRAM1 TRRr TUNNEL1 VIEWl WORKS WSLgr XBHF-L XBHF-R YRDeq ÜST
  • Morristown Line: console.log((new Set($('table.RMinline span.mw-default-size > span').map((i,e) => e.title).get())).values().toArray().sort((a,b) => { b = b.toUpperCase(); a = a.toUpperCase(); return a < b ? -1 : (a > b ? 1 : 0); }).map(a => `${a}`).join(' ')) yields: ABZg+1 ABZg+1u ABZg+l ABZg+r ABZg2; POINTER+4 ABZg3u ABZgl ABZgl+l ACC c; ABZg+4 CONT3 CONTf CONTfq CONTg CONTgq d; STR dCONTfq dRP4q DST eABZgl+l eABZgr eHST eKRWgl Ellipse sign 10.svg Elongated circle 24.svg exCONTfq exCONTgq exHST exKRW+r exSTRl; exKRW+l; SHI2gl exSTRr; exKRWr; exBS2r; BS2c3 GSPkwy Shield.svg hbKRZWae hKRZWae HST HSTACC hSTRa@f; STRc2 I-280.svg I-287.svg I-80.svg INTACC KACCe mKRZu POINTER+2 RP4e RP4w SKRZ-G2BUE SKRZ-G4o SKRZ-G4u STR STR+c2 STR+c4; PORTALf; lhSTRe@g STR3+1; hACC STRc4 STRl tbKRZW; bGRZq tINTACC tSTR tSTRe@f; WASSERq TUNNEL1 uCONTfq uCONTgq US 202.svg US 46.svg v-WASSERq vACC vWASSERq- YRD --Jeremyb (talk) 02:34, 24 September 2024 (UTC)Reply
    @Jeremyb: These codes represent part of the file name of the icon; for example, ABZg3 denotes c:File:BSicon ABZg3.svg, and on that page we find the descriptions in German (Abzweigstelle geradeaus und nach rechts-unten (3. Quadrant)) and also in English (flying junction, straight and to the lower right (3rd quadrant)). The diagrams are built up from lots of small SVG files, and until a few years ago, you could click on the icon to get to its file description page on Commons. I don't know why it was decided to delink the images, but they did replace the clickable links with title= attributes so that the icon name would show when the icon was hovered. --Redrose64 🌹 (talk) 07:24, 24 September 2024 (UTC)Reply
    @Redrose64 so I still don't see why they're in the title text. are they for readers? debugging?
    wouldn't it be more helpful to have e.g. flying junction, straight and to the lower right (3rd quadrant)? or no title text at all.
    in any case what about alt text? --Jeremyb (talk) 14:38, 24 September 2024 (UTC)Reply
    so how is this title text not worse than not having any title text? --Jeremyb (talk) 14:35, 27 September 2024 (UTC)Reply

The title text is useful when inspecting a diagram to figure out what icons are in use, but probably worthless to anyone not familiar with what they are. If screen readers are picking them up, that's a real problem. Mackensen (talk) 19:48, 9 October 2024 (UTC)Reply