Difference between revisions of "Template:Infobox rail line/doc"
Jump to navigation
Jump to search
imported>Oahiyeel (added notes) |
imported>Oahiyeel (update) |
||
| Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
| + | '''Please use [[:Template:Infobox rail line freight]] for freight lines (includes historic data).''' | ||
| − | + | ==Parameter list and definitions== | |
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Name || Parameter || Required || Definition | ||
| + | |- | ||
| + | | Infobox width || <code>box_width</code> || No || Width of infobox, omitted: 25em; blank: width depends on infobox content | ||
| + | |- | ||
| + | | Name || <code>name</code> || style="color: #ff0000;" | Yes || Name of rail line | ||
| + | |- | ||
| + | | Color || <code>color</code> || No || Color of rail line | ||
| + | |- | ||
| + | | Logo || <code>logo</code> || No || Filename of image for the logo | ||
| + | |- | ||
| + | | Logo width || <code>logo_width</code> || No || Size of logo | ||
| + | |- | ||
| + | | Image || <code>image</code> || No || Filename of image | ||
| + | |- | ||
| + | | Image size || <code>image_width</code> || No || Size of image | ||
| + | |- | ||
| + | | Caption || <code>caption</code> || No || Caption of image | ||
| + | |- | ||
| + | | Type || <code>type</code> || style="color: #ff0000;" | Yes || Type of transit system. Types ''may'' include (one or more): | ||
| + | *[[Commuter rail]] – use in lieu of "Regional rail," "Commuter train," etc. | ||
| + | *[[Rapid transit]] – use in lieu of "Metro" or "Subway" | ||
| + | *[[Light rail]] | ||
| + | *[[Tram]] – use in lieu of "Trolley" or "Streetcar" | ||
| + | *[[Bus]] | ||
| + | *[[Bus rapid transit]] | ||
| + | *[[Monorail]] | ||
| + | *[[People mover]] | ||
| + | *[[Interurban]] | ||
| + | |- | ||
| + | | System || <code>system</code> || No || Name of transit system the rail line is part of | ||
| + | |- | ||
| + | | Status || <code>status</code> || No || Status of rail line | ||
| + | |- | ||
| + | | Locale || <code>locale</code> || No || City or region transit system is located | ||
| + | |- | ||
| + | | Start terminus || <code>start</code> || No || Name of starting terminal station | ||
| + | |- | ||
| + | | End terminus || <code>end</code> || No || Name of ending terminal station | ||
| + | |- | ||
| + | | No. of stations || <code>stations</code> || No || Number of stations/stops | ||
| + | |- | ||
| + | | Service routes || <code>routes</code> || No || Number of service routes | ||
| + | |- | ||
| + | | Daily ridership || <code>ridership</code> || No || Daily system ridership | ||
| + | |- | ||
| + | | Opened || <code>open</code> || No || Date rail line opened | ||
| + | |- | ||
| + | | Closed || <code>close</code> || No || Date rail line closed | ||
| + | |- | ||
| + | | Owner || <code>owner</code> || No || Owner of rail line | ||
| + | |- | ||
| + | | Operator(s) || <code>operator</code> || style="color: #ff0000;" | Yes || Operator of rail line | ||
| + | |- | ||
| + | | Character || <code>character</code> || No || | ||
| + | |- | ||
| + | | Rolling stock || <code>stock</code> || No || Types of rolling stock used on the rail line | ||
| + | |- | ||
| + | | Line length || <code>linelength</code> || No || Line length (use {{tl|mi to km}} or {{tl|km to mi}} to display both [[United States customary units|U.S.]] and [[metric system|metric]] units) | ||
| + | |- | ||
| + | | Track length || <code>tracklength</code> || No || Track length (use {{tl|mi to km}} or {{tl|km to mi}} to display both [[United States customary units|U.S.]] and [[metric system|metric]] units) | ||
| + | |- | ||
| + | | No. of tracks || <code>notrack</code> || No || Number of tracks | ||
| + | |- | ||
| + | | [[Rail gauge|Gauge]] || <code>gauge</code> || No || Rail gauge (use template – see [[:Category:Rail transport gauge templates]]) | ||
| + | |- | ||
| + | | Electrification || <code>el</code> || No || Type of electrification system, e.g. [[Third rail]], [[Overhead catenary]] | ||
| + | |- | ||
| + | | Operating speed || <code>speed</code> || No || Operating speed of rolling stocks on the rail line | ||
| + | |- | ||
| + | | Highest elevation || <code>elevation</code> || No || Highest elevation of the rail line | ||
| + | |- | ||
| + | | Line map || <code>map</code> || No || Map of line | ||
| + | |- | ||
| + | | Show/hide line map || <code>map_state</code> || No || Shows or hides map. Use <code>show</code> or <code>collapsed</code> | ||
| + | |- | ||
| + | |} | ||
| − | + | ==Usage== | |
| − | + | === Copy and paste === | |
| − | {{Infobox rail line | + | <pre>{{Infobox rail line |
| − | |||
|name = | |name = | ||
|color = | |color = | ||
| Line 37: | Line 115: | ||
|elevation = | |elevation = | ||
|map = | |map = | ||
| − | |map_state = | + | |map_state = show |
| − | |}} | + | }}</pre> |
| − | </pre> | + | |
| + | === Example === | ||
| + | {|style="background-color:transparent;" | ||
| + | |valign=top width=300px| | ||
| + | <pre>{{Infobox rail line | ||
| + | |name = Alpha Line | ||
| + | |color = 003399 | ||
| + | |logo = wiki.png | ||
| + | |logo_width = 100px | ||
| + | |image = placeholder.png | ||
| + | |image_width = | ||
| + | |caption = Placeholder caption | ||
| + | |type = [[Light rail]] | ||
| + | |system = ABC Transit | ||
| + | |status = Ceased operation | ||
| + | |locale = [[Newark, New Jersey|Newark]] | ||
| + | |start = Station A | ||
| + | |end = Station M | ||
| + | |stations = 15 | ||
| + | |routes = 1 | ||
| + | |ridership = 239,200 | ||
| + | |open = [[June 22]], [[1904]] | ||
| + | |close = [[March 8]], [[1942]] | ||
| + | |owner = | ||
| + | |operator = BCT Transport | ||
| + | |character = | ||
| + | |stock = | ||
| + | |linelength = {{mi to km|13.8|abbr=yes|precision=2|wiki=yes}} | ||
| + | |tracklength = | ||
| + | |notrack = | ||
| + | |gauge = {{RailGauge|sg}} ([[standard gauge]]) | ||
| + | |el = | ||
| + | |speed = | ||
| + | |elevation = | ||
| + | |map = [[Image:placeholder.png|200px]] | ||
| + | |map_state = collapsed | ||
| + | }}</pre> | ||
| + | | | ||
| + | {{Infobox rail line | ||
| + | |name = Alpha Line | ||
| + | |color = 003399 | ||
| + | |logo = wiki.png | ||
| + | |logo_width = 100px | ||
| + | |image = placeholder.png | ||
| + | |image_width = | ||
| + | |caption = Placeholder caption | ||
| + | |type = [[Light rail]] | ||
| + | |system = ABC Transit | ||
| + | |status = Ceased operation | ||
| + | |locale = [[Newark, New Jersey|Newark]] | ||
| + | |start = Station A | ||
| + | |end = Station M | ||
| + | |stations = 15 | ||
| + | |routes = 1 | ||
| + | |ridership = 239,200 | ||
| + | |open = [[June 22]], [[1904]] | ||
| + | |close = [[March 8]], [[1942]] | ||
| + | |owner = | ||
| + | |operator = BCT Transport | ||
| + | |character = | ||
| + | |stock = | ||
| + | |linelength = {{mi to km|13.8|abbr=yes|precision=2|wiki=yes}} | ||
| + | |tracklength = | ||
| + | |notrack = | ||
| + | |gauge = {{RailGauge|sg}} ([[standard gauge]]) | ||
| + | |el = | ||
| + | |speed = | ||
| + | |elevation = | ||
| + | |map = [[Image:placeholder.png|200px]] | ||
| + | |map_state = collapsed | ||
| + | }} | ||
|} | |} | ||
Revision as of 22:20, 12 April 2008
Template:Template doc page viewed directly Please use Template:Infobox rail line freight for freight lines (includes historic data).
Parameter list and definitions
| Name | Parameter | Required | Definition |
|---|---|---|---|
| Infobox width | box_width |
No | Width of infobox, omitted: 25em; blank: width depends on infobox content |
| Name | name |
Yes | Name of rail line |
| Color | color |
No | Color of rail line |
| Logo | logo |
No | Filename of image for the logo |
| Logo width | logo_width |
No | Size of logo |
| Image | image |
No | Filename of image |
| Image size | image_width |
No | Size of image |
| Caption | caption |
No | Caption of image |
| Type | type |
Yes | Type of transit system. Types may include (one or more):
|
| System | system |
No | Name of transit system the rail line is part of |
| Status | status |
No | Status of rail line |
| Locale | locale |
No | City or region transit system is located |
| Start terminus | start |
No | Name of starting terminal station |
| End terminus | end |
No | Name of ending terminal station |
| No. of stations | stations |
No | Number of stations/stops |
| Service routes | routes |
No | Number of service routes |
| Daily ridership | ridership |
No | Daily system ridership |
| Opened | open |
No | Date rail line opened |
| Closed | close |
No | Date rail line closed |
| Owner | owner |
No | Owner of rail line |
| Operator(s) | operator |
Yes | Operator of rail line |
| Character | character |
No | |
| Rolling stock | stock |
No | Types of rolling stock used on the rail line |
| Line length | linelength |
No | Line length (use {{mi to km}} or {{km to mi}} to display both U.S. and metric units) |
| Track length | tracklength |
No | Track length (use {{mi to km}} or {{km to mi}} to display both U.S. and metric units) |
| No. of tracks | notrack |
No | Number of tracks |
| Gauge | gauge |
No | Rail gauge (use template – see Category:Rail transport gauge templates) |
| Electrification | el |
No | Type of electrification system, e.g. Third rail, Overhead catenary |
| Operating speed | speed |
No | Operating speed of rolling stocks on the rail line |
| Highest elevation | elevation |
No | Highest elevation of the rail line |
| Line map | map |
No | Map of line |
| Show/hide line map | map_state |
No | Shows or hides map. Use show or collapsed
|
Usage
Copy and paste
{{Infobox rail line
|name =
|color =
|logo =
|logo_width =
|image =
|image_width =
|caption =
|type =
|system =
|status =
|locale =
|start =
|end =
|stations =
|routes =
|ridership =
|open =
|close =
|owner =
|operator =
|character =
|stock =
|linelength =
|tracklength =
|notrack =
|gauge =
|el =
|speed =
|elevation =
|map =
|map_state = show
}}
Example
{{Infobox rail line
|name = Alpha Line
|color = 003399
|logo = wiki.png
|logo_width = 100px
|image = placeholder.png
|image_width =
|caption = Placeholder caption
|type = [[Light rail]]
|system = ABC Transit
|status = Ceased operation
|locale = [[Newark, New Jersey|Newark]]
|start = Station A
|end = Station M
|stations = 15
|routes = 1
|ridership = 239,200
|open = [[June 22]], [[1904]]
|close = [[March 8]], [[1942]]
|owner =
|operator = BCT Transport
|character =
|stock =
|linelength = {{mi to km|13.8|abbr=yes|precision=2|wiki=yes}}
|tracklength =
|notrack =
|gauge = {{RailGauge|sg}} ([[standard gauge]])
|el =
|speed =
|elevation =
|map = [[Image:placeholder.png|200px]]
|map_state = collapsed
}}
|
| ||||||||||||||||||||||||||||||||||||||||||
