Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template talk:Infobox rail company

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

New template

[edit]

I've started to introduce a new infobox template for Railway companies, primarily in the UK. The template is simple, yet effective at bringing uniformity to the articles. The template allows the operator's logo to be placed on a background colour suited to the operator as well as enabling there to be an image showcasing a typical train operated by the firm and some key statistics that are of interest.

The Rail companies infobox is shown on the pages with green links below.

View articles linking to this template

— Preceding unsigned comment added by Samluke777 (talkcontribs) 2005

Project Status

[edit]
  • To Do / Work In Progress
  • Completed

British train operating companies

[edit]
Passenger train services in the United Kingdom
Great Britain
InterCity: First Great Western - First TransPennine Express - GNER
Grand Central Railway*‡ - Hull Trains* - Midland Mainline - one - Virgin Trains
London &
South East:
c2c - Chiltern Railways - First Capital Connect - First Great Western - Gatwick Express
Heathrow Connect* - Heathrow Express* - Island Line - one - Silverlink - Southeastern
South West Trains - Southern
Regional: Arriva Trains Wales - Central Trains - First Great Western - First ScotRail
Merseyrail - Northern Rail
International: Eurostar (U.K.), SNCF and SNCB (Eurostar)
Northern Ireland
Regional: Northern Ireland Railways*
International: Northern Ireland Railways and Iarnród Éireann (Enterprise)
* Not franchised ‡ Starts December 2006

Defunct train operating companies

[edit]
Defunct train operating companies:
InterCity: Anglia Railways
London & South East: Connex South Central - Connex South Eastern - First Great Eastern - Thames Trains
Regional: Arriva Trains Merseyside - Arriva Trains Northern - First North Western - MTL
Northern Spirit - ScotRail - Wales and Borders - Wales and West - Valley Lines


Image Size

[edit]

I've uploaded a new logo for Northern Spirit which is from its official website, however it is too big in the article, is there a way to adjust the size in the infobox without having to upload another version? Danielnez1 19:40, 10 August 2007 (UTC)[reply]

Secondary regions

[edit]

I've modified the code of the template so that the secondary regions/routes/etc. field is now optional: on the CrossCountry article this field was empty, so seemed unnecessary. --RFBailey (talk) 23:59, 4 December 2007 (UTC)[reply]

Support for route diagram required.

[edit]

I am proposing adding functionality to add a route diagram to the infobox in the same way as {{Infobox rail line}} does. This is required for the Gautrain article, as this template is still the most suited infobox for the article, but lacks this critical field/functionality. G.A.Stalk 10:37, 23 December 2008 (UTC)[reply]

I have recoded the infobox in my userspace here[Link removed -- G.A.Stalk 12:40, 10 June 2010 (UTC)], and thoroughly tested it as well here[Link removed -- G.A.Stalk 12:40, 10 June 2010 (UTC)]. In the absence of comment, this template's code will be updated shortly. G.A.Stalk 12:00, 17 January 2009 (UTC)[reply]

Logo handling

[edit]

Why are logos in this infobox handled differently from every other infobox company I've seen? Usually it just has a logo field where you put the image as you normally would, but this splits it up into logo_filename and logo_width. It's really annoying and arbitrary. -- Love, Smurfy 20:03, 23 February 2010 (UTC)[reply]

Examples, please (so I can investigate)? I presume that this is a legacy issue though (long before I edited the template—I merely added the ability to specify logo_width as an optional parameter). G.A.Stalk 04:28, 24 February 2010 (UTC)[reply]

Headquarters

[edit]

It should say where each company is/was based on the template e.g. Southern is based in Tonbridge. Pdiddyjr (talk) 19:10, 3 March 2012 (UTC)[reply]

Accessibility of talk page =

[edit]

The sections above use red and green to indicate different things,; this is a breach of MOS:COLOUR because people who are colour-blind cant distinguish them. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:45, 11 March 2012 (UTC)[reply]

Yes, this is really bad. A good example of the worst. But I don't know what it is doing here. Secondarywaltz (talk) 19:41, 11 March 2012 (UTC)[reply]

Field does not show up.

[edit]

This field does not show up
| nameforarea =
Peter Horn User talk 22:06, 5 August 2017 (UTC)[reply]

Which article is this in? What have you set for either |regions= or |secregions=? --Redrose64 🌹 (talk) 22:58, 5 August 2017 (UTC)[reply]
In Talk:Manchester, Sheffield and Lincolnshire Railway#Use of template it is exactly shown by copy and paste as "| nameforarea = What is this?" Peter Horn User talk 00:05, 6 August 2017 (UTC)[reply]
A field in Template:Infobox rail company Peter Horn User talk 00:09, 6 August 2017 (UTC)[reply]
The value set in |nameforarea=What is this? Does not show. (which is a somewhat peculiar value) isn't displayed because |regions= and |secregions= are both blank. --Redrose64 🌹 (talk) 13:00, 6 August 2017 (UTC)[reply]
I got it (kapiche). Peter Horn User talk 13:57, 7 August 2017 (UTC)[reply]

Additional fields

[edit]
Infobox rail company
Key people
names of people

It might be useful to add fields that are found in Template:Infobox company but nor in this template. Peter Horn User talk 13:41, 7 August 2017 (UTC)[reply]

Make that some fields, that is any fields that are relevant to a rail company. see sample. Peter Horn User talk 13:55, 7 August 2017 (UTC) Peter Horn User talk 18:23, 7 August 2017 (UTC)[reply]
@Andy Dingley: Can you help? Peter Horn User talk 18:50, 7 August 2017 (UTC) Peter Horn User talk 13:28, 9 August 2017 (UTC)[reply]