Template:Infobox bus line: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
Make successors optional Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 34: | Line 34: | ||
| data11 = {{{predecessors|}}} |
| data11 = {{{predecessors|}}} |
||
| label14 = Successors |
| label14 = Successors |
||
| data14 = {{{successors}}} |
| data14 = {{{successors|}}} |
||
| label12 = Former operator(s) |
| label12 = Former operator(s) |
||
| data12 = {{{former_operator|}}} |
| data12 = {{{former_operator|}}} |
Revision as of 10:03, 17 November 2021
![]() | This template uses Lua: |
All parameters
{{{number}}} | ||||||
---|---|---|---|---|---|---|
{{{subheader}}} | ||||||
[[File:{{{logo}}}|{{{logo_width}}}|alt={{{logo_alt}}}]] | ||||||
[[File:{{{operatorlogo}}}|{{{oplogo_width}}}]] | ||||||
[[File:{{{image}}}|{{{image_width}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]] {{{caption}}} | ||||||
Übersicht | ||||||
System | {{{system}}} | |||||
Operator | {{{operator}}} | |||||
Depot | {{{depot}}} | |||||
Vehicle | {{{vehicle}}} | |||||
Livery | {{{livery}}} | |||||
Peak vehicle requirement | {{{pvr}}} | |||||
Status | {{{status}}} | |||||
Began service | {{{open}}} | |||||
Ended service | {{{close}}} | |||||
Predecessors | {{{predecessors}}} | |||||
Former operator(s) | {{{former_operator}}} | |||||
Night-time | {{{night}}} | |||||
Route | ||||||
Route type | {{{routetype}}} | |||||
Locale | {{{locale}}} | |||||
Communities served | {{{communities}}} | |||||
Landmarks served | {{{landmarks}}} | |||||
Termini | {{{termini}}} | |||||
Via | {{{via}}} | |||||
Length | {{{length}}} | |||||
StopsStations | {{{stops}}}{{{stations}}} | |||||
Other routes | {{{otherroutes}}} | |||||
Competition | {{{compete}}} | |||||
Service | ||||||
Ebene | {{{level}}} | |||||
Alt. level | {{{level1}}} | |||||
Frequency | {{{frequency}}} | |||||
Weekend frequency | {{{alt_frequency}}} | |||||
Journey time | {{{time}}} | |||||
Operates | {{{day}}} | |||||
Zone(s) | {{{zone}}} | |||||
Ridership | {{{ridership}}} | |||||
Annual patronage | {{{annualpatronage}}} | |||||
Transfers | {{{transfers}}} | |||||
Timetable | {{{timetable_link}}} | |||||
Map | {{{map_link}}} | |||||
|
{{Infobox bus line
| logo = <!-- bus logo (ex: Image_name.png) -->
| logo_width = <!-- width of bus logo -->
| logo_alt = <!-- logo image alternate text (only works if logo_width is supplied) -->
| number = <!-- bus number or name of route (defaults to article name) -->
| bgcolor = <!-- background color for infobox title (hex codes need a '#', i.e. #00ff33 not 00ff33) -->
| titlecolor = <!-- color of the title text (hex codes need a '#') -->
| box_width = <!-- width of the infobox itself -->
| subheader = <!-- motto or alternate route title, etc. -->
| operatorlogo = <!-- operator logo (ex: Image_name.png) -->
| oplogo_width = <!-- width of the operator logo image -->
| image = <!-- photo of the bus (ex: Image_name.png) -->
| image_width = <!-- width of the main image -->
| image_alt = <!-- alternate text for main image -->
| caption = <!-- caption for the main image -->
| system =
| operator =
| garage =
| vehicle =
| livery =
| pvr =
| status =
| open = <!-- {{Start date| YYYY| MM| DD| df=y}} -->
| close = <!-- {{End date| YYYY| MM| DD| df=y}} -->
| predecessors =
| former_operator =
| night =
| routetype = <!-- or | routes = -->
| locale =
| communities =
| landmarks =
| termini = <!-- used when route starts and stops at a single location, overrides the start and end parameters -->
| start =
| via =
| end =
| length =
| stations = <!-- Overrides stops if used -->
| stops = <!-- Overrides stations if used --->
| otherroutes =
| compete =
| level =
| level1 =
| frequency =
| alt_frequency =
| time =
| day =
| zone =
| ridership =
| dailyridership =
| annualpatronage =
| transfers =
| timetable_link = <!-- external link to an online timetable (ex: [http://www.example.com/timetable.html Line xx timetable]) -->
| map_link = <!-- external link to an online map (ex: [http://www.example.com/map.html Line xx map]) -->
| map = <!-- map image (ex: [[File:Image_name.png| 200px]]) or {{Infobox rdt}} -->
| map_state = <!-- controls map starting visibility (use 'collapsed' to start hidden), defaults to hidden -->
| map_name = <!-- name of the map (defaults to 'Route map') -->
| previous_line = <!-- link to article of previous route if sequential -->
| system_nav = <!-- link to article of system-->
| next_line = <!-- link to article of next route if sequential -->
| notes = <!-- anything special in small font, centered at the bottom of the infobox -->
}}
Example
787 | ||||||
---|---|---|---|---|---|---|
![]() | ||||||
![]() Best damn bus in town! | ||||||
Übersicht | ||||||
System | MBTA | |||||
Operator | Jim | |||||
Garage | Barton's | |||||
Vehicle | 898 Fewler | |||||
Livery | Shield and Wheat | |||||
Peak vehicle requirement | 10 | |||||
Status | defunct | |||||
Began service | 1981 | |||||
Ended service | 2010 | |||||
Predecessors | Trolley #8 | |||||
Night-time | 789 alt | |||||
Route | ||||||
Locale | Boston | |||||
Communities served | Back Bay, South End | |||||
Landmarks served | Memorial Hospital | |||||
Start | Maple St. | |||||
Via | Carnegie Rd. | |||||
End | Elm St. | |||||
Length | 8 mi (13 km) | |||||
Other routes | 889, 908 | |||||
Service | ||||||
Ebene | Daily | |||||
Frequency | Hourly | |||||
Weekend frequency | Every two hours | |||||
Journey time | 45 minutes | |||||
Operates | 6:00 am – 8:00 pm | |||||
Ridership | 1,000 | |||||
![]() |
{{Infobox bus line
| number = 787
| logo = Bad Title Example.png
| logo_width = 100
| titlecolor = white
| bgcolor = #008000
| image = Placeholder.png
| image_width = 150
| image_alt = Alternate text
| caption = ''Best damn bus in town!''
| system = MBTA
| operator = Jim
| garage = Barton's
| vehicle = 898 Fewler
| livery = Shield and Wheat
| pvr = 10
| status = defunct
| open = 1981
| close = 2010
| predecessors = Trolley #8
| night = 789 alt
| locale = Boston
| communities = Back Bay, South End
| landmarks = Memorial Hospital
| start = Maple St.
| via = Carnegie Rd.
| end = Elm St.
| length = {{convert| 8| mi| km| abbr=on}}
| stops = 43
| otherroutes = 889, 908
| level = Daily
| frequency = Hourly
| alt_frequency = Every two hours
| time = 45 minutes
| day = 6:00 am – 8:00 pm
| ridership = 1,000
| map = [[File:Placeholder.png| 200px]]
| map_name = 787 route
| previous_line = [[786]]
| system_nav = MBTA
| next_line = [[788]]
| notes = {{portal-inline| Transportation| size=tiny}}
}}