Difference between revisions of "Template:Infobox bus company"

From blackwiki
Jump to navigation Jump to search
imported>Galobtter
(rm template)
imported>Sdkb
(adding former name parameter)
Line 6: Line 6:
 
| caption2 = {{{image_caption|}}}
 
| caption2 = {{{image_caption|}}}
  
| label1  = Slogan
+
| label1   = Formerly
| data1   = {{#if:{{{company_slogan|}}}|''{{{company_slogan|}}}''}}
+
| class1  = nickname
| label2   = Parent
+
| data1    = {{{former_name|}}}
| data2   = {{{parent|}}}
+
| label2   = Slogan
| label3   = Founded
+
| data2   = {{#if:{{{company_slogan|}}}|''{{{company_slogan|}}}''}}
| data3   = {{{founded|}}}
+
| label3   = Parent
| label4   = Commenced operation
+
| data3   = {{{parent|}}}
| data4   = {{{commenced|}}}
+
| label4   = Founded
| label5   = Ceased operation
+
| data4   = {{{founded|}}}
| data5   = {{{ceased|}}}
+
| label5   = Commenced operation
| label6   = Defunct
+
| data5   = {{{commenced|}}}
| data6   = {{{defunct|}}}
+
| label6   = Ceased operation
| label7   = Headquarters
+
| data6   = {{{ceased|}}}
| data7   = {{{headquarters|}}}
+
| label7   = Defunct
| label8   = Locale
+
| data7   = {{{defunct|}}}
| data8   = {{{locale|}}}
+
| label8   = Headquarters
| label9   = Service area
+
| data8   = {{{headquarters|}}}
| data9   = {{{service_area|}}}
+
| label9   = Locale
| label10 = Service type
+
| data9   = {{{locale|}}}
| data10   = {{{service_type|}}}
+
| label10   = Service area
| label11 = Alliance
+
| data10   = {{{service_area|}}}
| data11   = {{{alliance|}}}
+
| label11 = Service type
| label12 = Routes
+
| data11   = {{{service_type|}}}
| data12   = {{{routes|}}}
+
| label12 = Alliance
| label13 = Stops
+
| data12   = {{{alliance|}}}
| data13   = {{{stops|}}}
+
| label13 = Routes
| label14 = Destinations
+
| data13   = {{{routes|}}}
| data14   = {{{destinations|}}}
+
| label14 = Stops
| label15 = Hubs
+
| data14   = {{{stops|}}}
| data15   = {{{hubs|}}}
+
| label15 = Destinations
| label16 = Stations
+
| data15   = {{{destinations|}}}
| data16   = {{{stations|}}}
+
| label16 = Hubs
| label17 = Lounge
+
| data16   = {{{hubs|}}}
| data17   = {{{lounge|}}}
+
| label17 = Stations
| label18 = Depots
+
| data17   = {{{stations|}}}
| data18   = {{{depots|}}}
+
| label18 = Lounge
| label19 = Fleet
+
| data18   = {{{lounge|}}}
| data19   = {{{fleet|}}}
+
| label19 = Depots
| label20 = Daily ridership
+
| data19   = {{{depots|}}}
| data20   = {{{ridership|}}}
+
| label20 = Fleet
| label21 = Annual ridership
+
| data20   = {{{fleet|}}}
| data21   = {{#if:{{{annual ridership|}}}|{{{annual ridership}}}|{{{annual_ridership|}}}}}
+
| label21 = Daily ridership
| label22 = Fuel type
+
| data21   = {{{ridership|}}}
| data22   = {{{fuel_type|}}}
+
| label22 = Annual ridership
| label23 = Operator
+
| data22   = {{#if:{{{annual ridership|}}}|{{{annual ridership}}}|{{{annual_ridership|}}}}}
| data23   = {{{operator|}}}
+
| label23 = Fuel type
| label24 = Chief executive
+
| data23   = {{{fuel_type|}}}
| data24   = {{{ceo|}}}
+
| label24 = Operator
| label25 = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}}
+
| data24   = {{{operator|}}}
| data25   = {{{leader|}}}
+
| label25 = Chief executive
| label26 = Website
+
| data25   = {{{ceo|}}}
| data26   = {{{website|}}}
+
| label26 = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}}
 +
| data26   = {{{leader|}}}
 +
| label27 = Website
 +
| data27   = {{{website|}}}
 
| below    = {{#if:{{{map|}}}|
 
| below    = {{#if:{{{map|}}}|
 
<table style="width:100%; margin:0; border:none;" class="collapsible {{{map_state|}}}">
 
<table style="width:100%; margin:0; border:none;" class="collapsible {{{map_state|}}}">

Revision as of 01:07, 20 December 2020

{{{name}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Skeleton

Template:Parameter names example

{{Infobox bus company
| name             = 
| logo             = 
| logo_size        = 
| logo_alt         =
| image            = 
| image_size       = 
| alt              =
| image_caption    = 
| parent           = 
| founded          = <!-- {{Start date|YYYY|MM|DD}} -->
| commenced        =
| ceased           =
| defunct          =
| headquarters     = 
| locale           = 
| service_area     = 
| service_type     = 
| alliance         = 
| routes           = 
| stops            = 
| destinations     = 
| hubs             = 
| stations         = 
| lounge           = 
| depots           = 
| fleet            = 
| ridership        = <!-- Daily ridership --> 
| annual_ridership =
| fuel_type        = 
| operator         = 
| ceo              = 
| leader_type      = 
| leader           = 
| website          = <!-- {{URL |example.com}} --> 
| map              =
| map_name         =
| map_state        = <!-- show or collapsed -->
}}

Description of fields

Parameter Description Example
name The name of the bus company. Harders Coaches
logo The logo of the bus company. Harders_coaches_logo.png
logo_size Size of the logo. 200px
logo_alt Alternative text for the logo A logo with a red bus in a blue circle
image Image of a bus in the company's fleet. Harders coaches bus 862 at Longleat.jpg
image_size Size of the above image. 280px
alt Alternative text for the image A red bus in a town centre
image_caption Caption for the image. Harders Bus at Longleat
parent Parent company of the operator. Centerbus
founded Year the company was founded, and if possible, who by. Use {{Start date}}. 1996 by Thomas Hardy.
commenced The date the company commenced operations.
ceased The date the company ceased operations.
defunct If the company is defunct or not. Use {{End date}} if a date is given No
headquarters The headquarters of the company, operational and registered office.
  • Operational:Harders Coaches Ltd, Bestentime Garage, Fleet Street, Longleat, England.
  • Registered office:Centerbus Ltd, 37 Wenlock Way, Leicester, Leicestershire, England.
locale The general area of operation. Longleat, Wiltshire, UK
service_area The counties in which it operates. Wiltshire, Somerset
service_type Service type:Bus or coach or express. Bus
alliance Group alliance with other companies. Route 19 shared with Stagecoach Wiltshire.
routes How many bus/coach routes are operated by them. 34
stops Major stops along routes. Use {{Flatlist}}.
  • Warminster bus station
  • Frome market place
destinations Major destinations on those routes. Use {{Flatlist}}.
  • Longleat
  • Horningsham
  • Warminster
  • Frome
hubs Places with lots of buses. Longleat.
stations Stations along the routes. Warminster Bus Station
lounge Lounges in the stations. N/A
depots Depots owned by the company. Use {{Flatlist}}.
  • Bestentime Garage
  • Fleet Street
  • Longleat
  • Wiltshire
fleet Buses in the fleet. Use {{Flatlist}}.
  • Optare Solo
  • Plaxton Centro
  • Plaxton Beaver
  • Enviro 400
ridership Daily ridership. 600 passengers per day approx.
annual_ridership Yearly ridership. 2000 passengers per year approx.
fuel_type The fuel type used in the buses. Diesel
operator The operator. Thomas C. Hardy Coaches, Ltd
ceo The CEO. Mr Thomas Hardy Jr.
leader_type Leader type. Operational manager.
leader The CEO. Mr Thomas Hardy Jr.
website The official website of the company. Use {{URL}}. {{URL|hardysbuseslongleat.com}}
map Image or RDT of a system map [[File:My_system_map.svg]]
map_name Name of map (default is "System Map") Map of XYZ Company
map_state whether the map is displayed or collapsed by default collapsed

Example

Bowers Coaches
A red bus pulled over at a bus stop
Bowers Bus at Hayfield
ParentCentrebus Group
Founded1952 (1952) by
Eric W. Bowers
Defunct2012 (2012) (merged with Trent Barton's Dove Holes & Buxton operations to form High Peak)
HeadquartersOperational: Aspincroft Garage, Town End, Chapel-en-le-Frith, High Peak, Derbyshire
Registered Office: Centrebus, 37 Wenlock Way, Leicester, Leicestershire, LE4 9HU
Locale
Service area
Service typeBus
Hubs
Fleet
Fuel typeDiesel
OperatorEric W. Bowers Coaches Limited
WebsiteTemplate:URL
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox bus company
| name            = Bowers Coaches
| image           = Bowers Bus L172EKG 62 at Hayfield.jpg
| image_size      = 280px
| alt             = A red bus pulled over at a bus stop
| image_caption   = Bowers Bus at Hayfield
| parent          = [[Centrebus|Centrebus Group]]
| founded         = {{Start date|1952}} by<br>Eric W. Bowers
| defunct         = {{End date|2012}} (merged with [[Trent Barton|Trent Barton's]] [[Dove Holes]] & [[Buxton]] operations to form [[High Peak (bus company)|High Peak]])
| headquarters    = '''Operational''': Aspincroft Garage, Town End, [[Chapel-en-le-Frith]], [[High Peak, Derbyshire|High Peak]], [[Derbyshire]]<br>'''[[Registered Office]]''': [[Centrebus]], 37 Wenlock Way, [[Leicester]], [[Leicestershire]], LE4 9HU
| locale          = {{Flatlist|
* [[North West England|North West]]
* [[East Midlands]]
}}
| service_area    = {{Flatlist|
* [[Greater Manchester]]
* [[Derbyshire]]
* [[Cheshire East]]
}}
| service_type    = [[Bus]]
| hubs            = {{Flatlist|
* [[Buxton]]
* [[Chapel-en-le-Frith]]
* [[Glossop]]
* [[Macclesfield]]
* [[New Mills]]
}}
| fleet           = {{Flatlist|
* [[Optare Solo]]
* [[Plaxton Beaver]]
* [[Plaxton Centro]]
* [[Alexander Strider]]
}}
| fuel_type       = [[diesel fuel|Diesel]]
| operator        = Eric W. Bowers Coaches Limited
| website         = {{URL|bowersbuses.com}}
}}

See also

ar:قالب:صندوق معلومات حافلات نقل eo:Ŝablono:Informkesto bustransporto ja:Template:Infobox bus transit