Template talk:Infobox station

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Trains / Stations (Rated Template-class)
WikiProject icon 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
 Template  This template does not require a rating on the project's quality scale.
 

Center title[edit]

Title is not centered in Grand Central Terminal. --Obsuser (talk) 07:07, 4 May 2017 (UTC)

@Obsuser: That's right. This is because it has the parameter |style=MNRR, and Template:MNRR style includes the declaration text-align: left;. --Redrose64 🌹 (talk) 08:05, 4 May 2017 (UTC)
I think infobox title should be centered. --Obsuser (talk) 08:26, 4 May 2017 (UTC)
@Obsuser: The styling hasn't been changed since 2008, so I suppose you could just edit the template yourself (although it might be best to ask at WT:NYCS first). Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
09:11, 4 May 2017 (UTC)
Template is protected, so someone with proper rights could do it. I've asked on WT:NYCS too. --Obsuser (talk) 10:20, 4 May 2017 (UTC)
@Obsuser: The template containing the CSS to be changed is Template:MNRR style, which isn't protected. (The CSS is transcluded into the infobox because of the aforementioned parameter.) Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
10:52, 4 May 2017 (UTC)

The reason it is not centered is because the style is meant to emulate the actual station signs at MNR stations. Those signed are left aligned, not centered. I think the template should be left alone, as it doesn't exactly what it is intended to do. oknazevad (talk) 13:11, 4 May 2017 (UTC)

Exactly. The template should not be changed - centering has no real value here, but replicating station signs is a nice stylistic polish. Pi.1415926535 (talk) 15:23, 4 May 2017 (UTC)
Agreed. The template matches the way signs are formatted in real life - which is to say, left-aligned. This falls under WP:DONTFIX. epicgenius (talk) 13:12, 5 May 2017 (UTC)
OK, I didn't know about that. In real life they are not italicized either (and infobox title italics for usually-not-italicized terms is not common) – I might be missing something again, but let's clear this too... Example: https://knittedyarns.files.wordpress.com/2009/01/img_0138.jpg. --Obsuser (talk) 22:25, 5 May 2017 (UTC)
The italics are also added by Template:MNRR style where the full declaration list is
background-color: white;
border-top: 10px solid #000000;
font-size: 200%;
font-family:Helvetica, Arial, sans-serif;
font-weight: bolder;
font-style: italic;
line-height: 110%;
text-align: left;
(newlines, which are insignificant, added for clarity). The declaration in question is font-style: italic;. The template {{MNRR style}} is not protected. --Redrose64 🌹 (talk) 09:35, 6 May 2017 (UTC)
Yankees east 153rd station sign.jpg
They are italicized, here → is an example. The previous example was from the NYC Subway, not from MNR. Vcohen (talk) 11:25, 6 May 2017 (UTC)

"map_state" parameter[edit]

This might be a silly question with an obvious answer, but I'm at a loss to answering it myself - how does one go about using the "map_state" parameter? The only inputs I thought would make sense, "collapsible" and "collapsed" both don't work. I found only one instance in the template itself where the "map_state" parameter is placed,

|  data65  = {{#if:{{{route_map|}}}|
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="collapsible '''{{{map_state|}}}'''">

I see it's part of a <table style>, but unsure of what would possibly go after "collapsible" in the class parameter that would actually enable a collapsible box. I'm trying to work this out so I can collapse the map used on the Newcastle Interchange article. --Philip Terry Graham 16:54, 16 May 2017 (UTC)

It looks like you want to set the value to "collapsed" or "expanded", as in |map_state=collapsed. (You also need |route_map= defined; confusingly, map_state applies to route_map, not to the location map.) See 102 Street LRT Station. Click on the TemplateData monthly error report and search for "map_state" to see other parameter values that are used. Not all of them work as the editor intended, I suspect. – Jonesey95 (talk) 23:05, 16 May 2017 (UTC)
@Jonesey95: Very confusing indeed. I honestly thought it was for the location map, since all the parameters for the route map were prefixed with "route" and all those for the location map were prefixed with "map". This seems to be an exception, however. Any chance that we can modify this template so that the location map can be collapsed as well, or would that require a discussion from other editors as well? Philip Terry Graham 10:23, 17 May 2017 (UTC)
The documentation seems pretty clear: "Determines route map state".
I do not see a collapse option at Template:Location map, so it's not trivial to add one. There is probably a way, but I have not seen it done in other infoboxes. – Jonesey95 (talk) 13:58, 17 May 2017 (UTC)

Map location errors[edit]

I've been fixing errors in the category Category:Location maps with different longitude and latitude precisions. This is a maintenance category of "errors". I have cleaned-up all the errors in articles, and a few in Draft/User space too. The category is now mostly empty except for four remaining errors that are related to this Template. While not causing any "problems", I'd like to get rid of these also just to have an empty category, which I will monitor for new errors. Can someone look into this? Editing this template is beyond my skill level. MB 22:09, 16 May 2017 (UTC)