Template talk:Infobox London station

From Wikipedia, the free encyclopedia

Contents

[edit] Usage notes

[edit] Syntax

{{Infobox London station |               
name = Barking |                  
image = [[Image:barkinglongview.jpg|300px|Barking station]] | 
manager = [[c2c]] |               
zone = [[Travelcard Zone 4|4]] |  
locale = [[Barking]] |            
borough = [[London Borough of Barking and Dagenham|London Borough of<br>Barking and Dagenham]] |             
coordinates = {{coor dms|51|32|22.4|N|0|4|51|E|region:GB_type:landmark}} |            *optional*
platforms=9 |                     
owner=[[Network Rail]] |             *optional* possible values Network Rail, London Underground (usually not the train operators)
start=1854 |                         *optional, cannot be used with years and events*
years=1854<br>1902<br>1905<br>1908 | *optional, cannot be used with start*
events=Opened by LT&SR<br>District Line started<br>District withdrawn<br>District Line restarted |  *optional, cannot be used with start*
railexits0405= 4.687 |                *optional, cannot be used with exits* (Stats from National Rail)
tubeexits= 9.963 |                    *optional, cannot be used with exits* (Stats from TfL), *will also cause the TubePortal tag to be displayed at the bottom of the infobox*
railcode=BKG                          *optional* for stations assigned a National Rail code 
}}

[edit] Sources

[edit] Discussion

[edit] Inclusion of station lists in infobox

I notice the recent useful addition to the template by Mtpt of the station list but think that, as this is the London Station infobox, it might be more useful to be a bit more selective and include just those on the London Underground and the Docklands Light Railway and those National Rail stations actually in London. These stations are listed at List of London Underground stations and List of London railway stations. I have drafted a modified version of the template incorporating these lists in a similar fashion to Mtpt's edit at my sandbox for comments. DavidCane 00:25, 4 July 2006 (UTC)

Must have read your mind as I put this in last night without even seeing your comment. Mrsteviec 09:36, 5 July 2006 (UTC)
I've added back the UK railway stations link, but not the index - take the points above about being more selective about the index, but these stations are still part of the national transport network even if they happen to be in London. Mtpt 14:55, 11 July 2006 (UTC)
No need. There is already a link to National Rail info. Mrsteviec 15:32, 11 July 2006 (UTC)
There is a need. See the comment above. The existing link is to *London* stations, not to the rest of the network. Mtpt 15:35, 11 July 2006 (UTC)
That article has links to wider Uk information. From an article of a station in London it is perfectly reasonable to link to other stations in London first. Mrsteviec 15:37, 11 July 2006 (UTC)
It didn't - it's just in that category - but before we hit 3rv I've edited it to include one. Mtpt 15:45, 11 July 2006 (UTC)

Re tab It would be of some use to put the alpha list back in, in my opinion (subject to it working with a NR station only). It would keep it close to the main UK rail station info template and it would allow us to remove another template, reducing clutter on the pages. Regan123 09:48, 28 November 2006 (UTC)

[edit] Tube Portal

I removed the recent addition of the {{tubeportal}} template from this template. This is because it appears below the main template box and has the effect of messing up the formating of many of the articles where secondary images are aligned directly under the template box.

It might be worth putting the tube portal tag into the template so that it appears inside the box but I don't want to attempt this as it is quite a complex template and I don't want to mess it up. - DavidCane 16:16, 27 September 2006 (UTC)

Probably best to take it out; only insert it into the articles relevant. But not necessarily into the template. Simply south 16:46, 27 September 2006 (UTC)
I've worked out a way of including the Tubeportal tag in the template so that it appears only on those stations that have a tube service. I have done this by adding a new row to the bottom of the box that appears only if the "tubeexits" parameter has been used. Obviously this only applies to stations with a tube service. At the moment there are many tube stations where the older "exits" parameter has been used and these will not show the tag, but it's a start, I think, in the right direction and will save tagging every station article individually with the tubeportal template. DavidCane 02:16, 28 October 2006 (UTC)
This addition also causes the wikiproject category to appear in the article space. These usually are attached to talk pages? MRSCTalk 17:26, 13 November 2006 (UTC)

[edit] Width of infobox and problems with history display

I have noticed a problem when using the new years and events parameters. If the length of the event text is wider than the width of the second column it wraps to a second line. When there is more than one event to be shown this causes the year of the following event to appear next to the second line of the previous event rather than its own and any subsequent years will also not align with their events.

One solution I initially thought would overcome the problem would be to put a "<br><br>" between the years where this happens to force the infobox to leave blank row in the years column, but the problem is dependent on the reader's selected browser text size and it only happens at certain text sizes so the extra <br>" causes a similar misalignment problem if the events text didn't wrap. I think I now how to solve it but I'm going to have to experiment with the live template for a while to see how it affects different articles DavidCane 02:16, 28 October 2006 (UTC)

The following discussion is an archived debate of the proposal. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

[edit] Requested move

Template:London stations → Template:London stations layout – Not to confuse it with Template:LondonStations which is a completely seperate template. It is confusing to go to the right template. Simply south 15:27, 13 September 2006 (UTC)

[edit] Survey

Add "* Support" or "* Oppose" followed by an optional one-sentence explanation, then sign your opinion with ~~~~

[edit] Discussion

Add any additional comments

If it should be moved anywhere it should be to template:Infobox London station. The current naming doesn't actually cause any problems, does it? Mrsteviec 17:32, 13 September 2006 (UTC)

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