Jump to content

Template talk:Infobox rail company: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Samluke777 (talk | contribs)
mNo edit summary
Cewbot (talk | contribs)
m Maintain {{WPBS}}: 2 WikiProject templates. Create {{WPBS}}.
 
(47 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{WikiProject banner shell|
{{WikiProject Trains|UK=yes}}
{{WikiProject Companies}}
}}
{{tfd end|merge=Template:Infobox rail|date=3 October 2013|result=no consensus}}
== New template ==

I've started to introduce a new infobox template for [[Railway companies]], primarily in the [[United Kingdom|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.
I've started to introduce a new infobox template for [[Railway companies]], primarily in the [[United Kingdom|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.


Line 4: Line 11:


[[Special:Whatlinkshere/Template:Infobox_Rail_companies|View articles linking to this template]]
[[Special:Whatlinkshere/Template:Infobox_Rail_companies|View articles linking to this template]]

<small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Samluke777|Samluke777]] ([[User talk:Samluke777|talk]] • [[Special:Contributions/Samluke777|contribs]]) 2005</span></small><!-- Template:Unsigned -->


==Project Status==
==Project Status==


*<font color="#DF0000">'''To Do / Work In Progress'''</font>
*<span style="color:#DF0000;">'''To Do / Work In Progress'''</span>
*<font color="#12C100">'''Completed'''</font>
*<span style="color:#12C100;">'''Completed'''</span>


===British train operating companies===
===British train operating companies===


{{Accessibility dispute|date=March 2012}}
{| align=left id=toc cellpadding="2"

!colspan=2|[[List of companies operating trains in the United Kingdom|British train operating companies]]
{|style="margin:0 auto;" align=left id=toc cellpadding="2"
!colspan=3|[[List of companies operating trains in the United Kingdom|Passenger train services in the United Kingdom]]
|-
|-
!colspan=3|[[Rail transport in Great Britain|Great Britain]]
|-
|-
|align=right valign="top"|'''InterCity:'''
|align=right valign="top"|'''InterCity:'''
|<font color="#12C100">[[Eurostar]]</font> - <font color="#12C100">[[First Great Western]]</font> - <font color="#12C100">[[Great North Eastern Railway|GNER]]</font> - <font color="#DF0000">[[Hull Trains]]</font> - <font color="#12C100">[[Midland Mainline]]</font> - <font color="#DF0000">[[one (railway)|one]]</font> - <font color="#12C100">[[First TransPennine Express]]</font> - <font color="#DF0000">[[Virgin Trains]]</font>
|colspan="2"|[[First Great Western|<span style="color:#12C100">First Great Western</span>]] - [[First TransPennine Express|<span style="color:#12C100">First TransPennine Express</span>]] - [[Great North Eastern Railway|<span style="color:#12C100">GNER</span>]]<br> [[Grand Central Railway|<span style="color:#12C100">Grand Central Railway</span>]]*‡ - [[Hull Trains|<span style="color:#12C100">Hull Trains</span>]]* - [[Midland Mainline|<span style="color:#12C100">Midland Mainline</span>]] - [[one (train operating company)|<span style="color:#12C100">one</span>]] - [[Virgin Trains|<span style="color:#12C100">Virgin Trains</span>]]
|-
|-
|align=right valign="top"|'''London & South East:'''
|align=right valign="top"|'''London &<br />South East:'''
|<font color="#12C100">[[c2c]]</font> - <font color="#DF0000">[[Chiltern Railways]]</font> - <font color="#12C100">[[First Great Western Link]]</font> - <font color="#12C100">[[Gatwick Express]]</font> - <font color="#12C100">[[Heathrow Express]]</font> - <font color="#12C100">[[Island Line, IOW|Island Line]]</font><br><font color="#DF0000">[[one (railway)|one]]</font> - <font color="#12C100">[[Silverlink]]</font> - <font color="#12C100">[[South Eastern Trains]]</font> - <font color="#12C100">[[South West Trains]]</font> - <font color="#12C100">[[Southern (train operating company)|Southern]]</font> - <font color="#12C100">[[Thameslink]]</font> - <font color="#12C100">[[WAGN]]</font>
|colspan="2"|[[c2c|<span style="color:#12C100">c2c</span>]] - [[Chiltern Railways|<span style="color:#12C100">Chiltern Railways</span>]] - [[First Capital Connect|<span style="color:#12C100">First Capital Connect</span>]] - [[First Great Western|<span style="color:#12C100">First Great Western</span>]] - [[Gatwick Express|<span style="color:#12C100">Gatwick Express</span>]] <br> [[Heathrow Connect|<span style="color:#12C100">Heathrow Connect</span>]]* - [[Heathrow Express|<span style="color:#12C100">Heathrow Express</span>]]* - [[Island Line, IOW|<span style="color:#12C100">Island Line</span>]] - [[one (train operating company)|<span style="color:#12C100">one</span>]] - [[Silverlink|<span style="color:#12C100">Silverlink</span>]] - [[Southeastern (train operating company)|<span style="color:#12C100">Southeastern</span>]] <br> [[South West Trains|<span style="color:#12C100">South West Trains</span>]] - [[Southern (train operating company)|<span style="color:#12C100">Southern</span>]]
|-
|-
|align=right valign="top"|'''Regional:'''
|align=right valign="top"|'''Regional:'''
|<font color="#12C100">[[Arriva Trains Wales]]</font> - <font color="#12C100">[[Central Trains]]</font> - <font color="#DF0000">[[First ScotRail]]</font> - <font color="#12C100">[[Merseyrail]]</font> - <font color="#12C100">[[Northern Rail]]</font> - <font color="#12C100">[[Wessex Trains]]</font>
|colspan="2"|[[Arriva Trains Wales|<span style="color:#12C100">Arriva Trains Wales</span>]] - [[Central Trains|<span style="color:#12C100">Central Trains</span>]] - [[First Great Western|<span style="color:#12C100">First Great Western</span>]] - [[First ScotRail|<span style="color:#12C100">First ScotRail</span>]] <br /> [[Merseyrail|<span style="color:#12C100">Merseyrail</span>]] - [[Northern Rail|<span style="color:#12C100">Northern Rail</span>]]
|-
|-
|align=right valign="top"|'''International:'''
|colspan="2"|[[Eurostar (U.K.) Ltd.|Eurostar (U.K.)]], [[SNCF]] and [[SNCB]] ([[Eurostar|<span style="color:#12C100">Eurostar</span>]])
|-
!colspan=3|[[Rail transport in Ireland|Northern Ireland]]
|-
|align=right valign="top"|'''Regional:'''
|colspan="2"|[[Northern Ireland Railways|<span style="color:#12C100">Northern Ireland Railways</span>]]*
|-
|align=right valign="top"|'''International:'''
|colspan="2"|[[Northern Ireland Railways|<span style="color:#12C100">Northern Ireland Railways</span>]] and [[Iarnród Éireann]] ([[Enterprise (train)|<span style="color:#12C100">Enterprise</span>]])
|-
<!-- NO INDIVIDUAL TRAIN SERVICES-->
||
|align="left" valign="top"|* Not franchised ‡ Starts [[December]] [[2006]]
|}
|}


===Defunct train operating companies===


{| class="toccolours" cellpadding="2"
!colspan=2|[[List of companies operating trains in the United Kingdom|Defunct train operating companies]]:
|-
!valign="top" align=right|InterCity:
|[[Anglia Railways|<span style="color:#DF0000">Anglia Railways</span>]]
|-
!valign="top" align=right|London & South East:
|[[Connex South Central|<span style="color:#DF0000">Connex South Central</span>]] - [[Connex South Eastern|<span style="color:#DF0000">Connex South Eastern</span>]] - [[First Great Eastern|<span style="color:#12C100">First Great Eastern</span>]] - [[Thames Trains|<span style="color:#12C100">Thames Trains</span>]]
|-
!valign="top" align=right|Regional:
|[[Arriva Trains Merseyside|<span style="color:#DF0000">Arriva Trains Merseyside</span>]] - [[Arriva Trains Northern|<span style="color:#DF0000">Arriva Trains Northern</span>]] - [[First North Western|<span style="color:#12C100">First North Western</span>]] - [[MTL (transport company)|<span style="color:#DF0000">MTL</span>]]<br>[[Northern Spirit|<span style="color:#DF0000">Northern Spirit</span>]] - [[ScotRail|<span style="color:#DF0000">ScotRail</span>]] - [[Wales and Borders|<span style="color:#DF0000">Wales and Borders</span>]] - [[Wales and West|<span style="color:#DF0000">Wales and West</span>]] - [[Valley Lines (train operating company)|<span style="color:#DF0000">Valley Lines</span>]]
|-
|}
<br clear=all>


==Image Size==


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? [[User:Danielnez1|Danielnez1]] 19:40, 10 August 2007 (UTC)


==Secondary regions==
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. --[[User:RFBailey|RFBailey]] ([[User talk:RFBailey|talk]]) 23:59, 4 December 2007 (UTC)


== Support for route diagram required. ==


I am proposing adding functionality to add a route diagram to the infobox in the same way as {{tl|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. [[User:G.A.S|<span style="font-family:Brush Script MT;font-size:large;">G.A.S</span>]][[User talk:G.A.S|<sup><span style="font-family:Verdana;">talk</span></sup>]] 10:37, 23 December 2008 (UTC)


: I have recoded the infobox in my userspace here<sup>[Link removed -- [[User:G.A.S|<span style="font-family:Brush Script MT; font-size:1.4em;">G.A.S</span>]][[User talk:G.A.S|<sup><span style="font-family:Verdana;">talk</span></sup>]] 12:40, 10 June 2010 (UTC)]</sup>, and thoroughly tested it as well here<sup>[Link removed -- [[User:G.A.S|<span style="font-family:Brush Script MT; font-size:1.4em;">G.A.S</span>]][[User talk:G.A.S|<sup><span style="font-family:Verdana;">talk</span></sup>]] 12:40, 10 June 2010 (UTC)]</sup>. In the absence of comment, this template's code will be updated shortly. [[User:G.A.S|<span style="font-family:Brush Script MT;font-size:large;">G.A.S</span>]][[User talk:G.A.S|<sup><span style="font-family:Verdana;">talk</span></sup>]] 12:00, 17 January 2009 (UTC)


== Logo handling ==


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, [[User:Smurfy|Smurfy]] 20:03, 23 February 2010 (UTC)
: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). [[User:G.A.S|<span style="font-family:Brush Script MT; font-size:1.4em;">G.A.S</span>]][[User talk:G.A.S|<sup><span style="font-family:Verdana;">talk</span></sup>]] 04:28, 24 February 2010 (UTC)


== Headquarters ==


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


== Accessibility of talk page ===


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. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 18:45, 11 March 2012 (UTC)
:Yes, this is really bad. A good example of the worst. But I don't know what it is doing here. [[User:Secondarywaltz|Secondarywaltz]] ([[User talk:Secondarywaltz|talk]]) 19:41, 11 March 2012 (UTC)


== Field does not show up. ==


This field does not show up<br>
| nameforarea =<br>
[[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 22:06, 5 August 2017 (UTC)
:Which article is this in? What have you set for either {{para|regions}} or {{para|secregions}}? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 22:58, 5 August 2017 (UTC)
::In [[Talk:Manchester, Sheffield and Lincolnshire Railway#Use of template]] it is exactly shown by copy and paste as "| nameforarea = What is this?" [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 00:05, 6 August 2017 (UTC)
:::A field in [[Template:Infobox rail company]] [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 00:09, 6 August 2017 (UTC)
::::The value set in {{para|nameforarea|What is this? Does not show.}} (which is a somewhat peculiar value) isn't displayed because {{para|regions}} and {{para|secregions}} are both blank. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 13:00, 6 August 2017 (UTC)
:::::I got it (kapiche). [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 13:57, 7 August 2017 (UTC)


== Additional fields ==
===Defunct train operating companies===
{{Infobox company

| key_people = names of people
{| class="toccolours" cellpadding="2"
}}
!colspan=2|[[List of companies operating trains in the United Kingdom|Defunct train operating companies]]:
It might be useful to add fields that are found in [[Template:Infobox company]] but nor in [[Template:Infobox rail company|this template]]. [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 13:41, 7 August 2017 (UTC)
|-
:Make that some fields, that is any fields that are relevant to a rail company. see sample. [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 13:55, 7 August 2017 (UTC) [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 18:23, 7 August 2017 (UTC)
!valign="top" align=right|InterCity:
:::{{replyto|User:Andy Dingley}} Can you help? [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 18:50, 7 August 2017 (UTC) [[User:Peter Horn|Peter Horn]] [[User talk:Peter Horn|User talk]] 13:28, 9 August 2017 (UTC)
|<font color="#DF0000">[[Anglia Railways]]</font>
|-
!valign="top" align=right|London & South East:
|<font color="#DF0000">[[Connex|Connex South Central]]</font> - <font color="#DF0000">[[Connex|Connex South Eastern]]</font> - <font color="#12C100">[[First Great Eastern]]</font> - <font color="#12C100">[[Thames Trains]]</font>
|-
!valign="top" align=right|Regional:
|<font color="#DF0000">[[Arriva Trains Merseyside]]</font> - <font color="#DF0000">[[Arriva Trains Northern]]</font> - <font color="#DF0000">[[First North Western]]</font> - <font color="#DF0000">[[MTL (train operator)|MTL]]</font><br><font color="#DF0000">[[Northern Spirit]]</font> - <font color="#DF0000">[[ScotRail]]</font> - <font color="#DF0000">[[Wales and Borders]]</font> - <font color="#DF0000">[[Wales and West]]</font> - <font color="#DF0000">[[Valley Lines]]</font>
|-
|}

Latest revision as of 22:22, 1 July 2024

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]