Jump to content

Fyrimynd:Infobox rail line/doc

Frá Wikipedia, hin frælsa alfrøðin
{{{name}}}
[[File:{{{logo}}}|{{{logo_width}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{caption}}}
Yvirlit
Anna navn(nøvn) {{{other_name}}}
Lokalt navn {{{native_name}}}
Slag {{{type}}}
Skipan {{{system}}}
Støða {{{status}}}
Staður {{{locale}}}
Endastøð {{{start}}}
{{{end}}}
Støðir {{{stations}}}
Tænastur {{{routes}}}
Dagl. ferðafólkatal {{{ridership}}}
Ferðafólkatal {{{ridership2}}}
Leið nummar {{{linenumber}}}
Heimasíða {{{website}}}
Rakstur
Ætlað upplating {{{planopen}}}
Læt upp {{{open}}}
Stongdi {{{close}}}
Eigari {{{owner}}}
Operator(s) {{{operator}}}
Bókstavur {{{character}}}
Goymslur {{{depot}}}
Hendingar
{{{event1label}}} {{{event1}}}
{{{event2label}}} {{{event2}}}
{{{event3label}}} {{{event3}}}
Tøkni
Longd av leiðini {{{linelength_km}}}
Sporlongd {{{tracklength_km}}}
Tal av sporum {{{notrack}}}
Sporbreidd {{{gauge}}}
Gomul sporbreidd {{{ogauge}}}
Max breidd/hædd {{{lgauge}}}
Minimum radius {{{minradius}}}
Ravmagnan {{{el}}}
Rakstrarferð {{{speed_km}}}
Hægsta punkt {{{elevation_m}}}
Tannhjólaskipan {{{racksystem}}}
Rutunummar {{{routenumber}}}
Rutukort
{{{map}}}
{{Infobox rail line
| box_width     = 
| name          = 
| other_name    = 
| native_name   = 
| native_name_lang = 
| color         = 
| logo          = 
| logo_width    = 
| logo_alt      = 
| image         = 
| image_width   = 
| image_alt     = 
| caption       = 
| type          = 
| system        = 
| status        = 
| locale        = 
| start         = 
| end           = 
| stations      = 
| routes        = 
| ridership     = 
| ridership2    = 
| planopen      = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| open          = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| event1label   = 
| event1        = 
| event2label   = 
| event2        = 
| event3label   = 
| event3        = 
| close         = 
| owner         = 
| operator      = 
| character     = 
| depot         = 
| stock         = 
| linelength_km =  
| linelength_mi =  
| linelength    =  
| tracklength_km=  
| tracklength_mi=  
| tracklength   =  
| notrack       = 
| gauge         = {{Track gauge|sg|allk=on}}
| ogauge        = 
| lgauge        = 
| minradius     = 
| racksystem    = 
| routenumber   = 
| linenumber    = 
| el            = 
| speed_km/h    = 
| speed_mph     = 
| speed         = 
| elevation_m   = 
| elevation_ft  = 
| elevation     = 
| website       = 
| map           = 
| map_state     = collapsed
}}

Parameters

[rætta wikitekst]
ParameterRequiredDefinition
box_widthNoWidth of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if |box_width=auto is specified)
nameNoName of rail line; default:Article Name
other_nameNoAlternative name of rail line
native_nameNoNon-English name of rail line
native_name_langNoISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
colorNoColor of rail line (6-digit hex code without "#")
logoNoFilename of image for the logo
logo_widthNoSize of logo, default: 200px
logo_altNoAlt text for logo, for visually impaired readers; see WP:ALT. This should be present if "logo=" is present.
imageNoFilename of image
image_widthNoSize of image, default: 250px
image_altNoAlt text for image. This should be present if "image=" is present.
captionNoCaption of image
typeNoType of transit system. Types may include (one or more):
systemNoName of transit system the rail line is part of
statusNoStatus of rail line
localeNoCity or region transit system is located
coordinatesNoCoordinates; use {{Coord}} with |display=inline,title
startNoName of starting terminal station
endNoName of ending terminal station
stationsNoNumber of stations/stops
routesNoService routes of rail line
ridershipNoDaily system ridership
ridership2NoGeneric ridership field for non-daily values
planopenNoDate rail line planned opening
openNoDate rail line opened
closeNoDate rail line closed
reopenNoDate rail line reopened after closure
ownerNoOwner of rail line
operatorNoOperator(s) of rail line
characterNoCharacter of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc.
depotNoName of traction maintenance depot(s) of rail line
stockNoTypes of rolling stock used on the rail line
linelength_kmNoLength of the line length in kilometres: auto-converts to miles
linelength_miNoLength of the line length in miles: auto-converts to kilometres
linelengthNoUse as an alternative to the auto-conversion parameters or for extra info
tracklength_kmNoLength of the track length in kilometres: auto-converts to miles
tracklength_miNoLength of the track length in miles: auto-converts to kilometres
tracklengthNoUse as an alternative to the auto-conversion parameters or for extra info
notrackNoNumber of tracks
gaugeNoTrack gauge (use template {{Track gauge}})
ogaugeNoOld rail gauge (use template {{Track gauge}})
lgaugeNoLoading gauge
minradiusNoMinimum radius of curvature (use template:convert)
racksystemNoRack system. Examples: Abt or Strub, as the case may be.
elNoElectrification system (e.g. Third rail, Overhead catenary) and/or voltage
trainnumberNoTrain number(s) running as shown in official timetables and printed on tickets.
routenumberNoRoute number(s) indicated in timetables to identify the stretch of track, in Germany usually referred as Kursbuchstrecke
linenumberNoLine number(s). Identifier(s) of set of trains with same service, usually seen in suburban trains. e.g. S7, IENA, 7, Line A. Not to be confused with the technical track.
speed_km/hNoMaximum or operating speed of the rail line in km/h: auto-converts to mph
speed_mphNoMaximum or operating speed of the rail line in mph: auto-converts to km/h
speedNoUse as an alternative to the auto-conversion parameters or for extra info
elevation_mNoHighest elevation of the rail line in metres: auto-converts to feet
elevation_ftNoHighest elevation of the rail line in feet: auto-converts to metres
elevationNoUse as an alternative to the auto-conversion parameters or for extra info
mapcolour
mapcolor
NoThe colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both
mapcolourlink
mapcolorlink
NoThe name of an article for wikilinking the word "map" in the mapcolour and mapcolor field label
websiteNoURL of website. Raw URLS will be hyperlinked and displayed. External link wikilinking works as well.
mapNoMap of line
map_nameNoTitle of map; default: Route map
map_stateNoShows or hides map. Use show or collapsed
Alpha Line
Puzzle piece globe, captioned "Wikipedia The Free Encyclopedia"
P L A C E H O L D E R .
Placeholder caption
Yvirlit
Anna navn(nøvn) Line Alpha
Lokalt navn Le Alpha
Slag Light rail
Skipan ABC Transit
Støða Ceased operation
Staður Newark
Endastøð Station A
Station M
Støðir 15
Tænastur 1
Dagl. ferðafólkatal 239,200
Rakstur
Læt upp June 22, 1904
Stongdi March 8, 1942
Operator(s) BCT Transport
Tøkni
Longd av leiðini 138 mi (222 km)
Sporbreidd 4 ft 8 12 in (1.435 mm) standard gauge
Rutukort
P L A C E H O L D E R .
{{Infobox rail line
| name        = Alpha Line
| other_name  = Line Alpha
| native_name = Le Alpha
| native_name_lang = fr
| color       = 003399
| logo        = Example.png
| logo_width  = 100px
| logo_alt    = Puzzle piece globe, captioned "Wikipedia The Free Encyclopedia"
| image       = Placeholder.svg
| image_width =
| image_alt   = P L A C E H O L D E R .
| 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   =
| depot       =
| stock       =
| linelength_mi = 13.8
| tracklength =
| notrack     =
| gauge       = {{RailGauge|1435mm|lk=on}}
| el          =
| speed       =
| elevation   =
| map         = [[Image:Placeholder.svg|200px|alt=P L A C E H O L D E R .]]
| map_name    =
| map_state   = collapsed
}}
Cogload Junction
A train from London via Castle Cary travels west. Note the photograph, due to the telephoto lens, misleads the eye - this junction has a speed limit of 100mph!
Yvirlit
Staður Durston, Somerset, England
51°02′35″N 2°59′52″W / 51.04315°N 2.99773°W / 51.04315; -2.99773Coordinates: 51°02′35″N 2°59′52″W / 51.04315°N 2.99773°W / 51.04315; -2.99773
Tilhoyrandi leiðir
Rakstur
Læt upp 1906 (1906)
Hendingar
Flyover built 1931
Signal box closed 1986
Tøkni
Sporbreidd 1.435 mm (4 ft 8 12 in)
Rakstrarferð 100 mph (160 km/h)
{{Infobox rail line
| name          = Cogload Junction
| image         = Cogload Junction 43130.jpg
| image_width   = 
| image_alt     = 
| caption       = A train from London via Castle Cary travels west. Note the photograph, due to the [[telephoto lens]], misleads the eye - this junction has a [[speed limit]] of 100mph!
| type          = 
| system        = 
| status        = 
| locale        = [[Durston]], [[Somerset]], [[England]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}}
| start         = 
| end           = 
| stations      = 
| routes        = 
| ridership     = 
| ridership2    = 
| planopen          = 
| open          = {{Start date|1906}}
| event1label   = Flyover built
| event1        = 1931
| event2label   = Signal box closed
| event2        = 1986
| close         = 
| owner         = 
| operator      = 
| character     = 
| depot         = 
| stock         = 
| notrack       = 
| gauge         = {{Track gauge|sg|allk=on}}
| minradius     = 
| connectinglines = {{Plainlist|
* [[Reading to Taunton line|Reading to Taunton]]
* [[Bristol to Taunton Line|Bristol to Taunton]]
}}
| routenumber   = 
| linenumber    = 
| el            = 
| speed_mph     = 100
| elevation_m   = 
| elevation_ft  = 
| elevation     = 
}}

Including route diagram template in map parameter

[rætta wikitekst]

A route map made using Route diagram templates can be included into the infobox via the template {{BS-map}} with parameter

inline

set to a non-empty value. A transcluded template should be built around {{BS-map|inline=<includeonly>1</includeonly>}}.

{{Infobox rail line
| map =
{{BS-map|inline=1|map=
{{BS|KBHFa||London St Pancras}}
{{BS|LSTR||}}
{{BS|KBHFe||Paris Gare du Nord}}
}}
}}
Infobox rail line/doc
Rutukort
London St Pancras
Paris Gare du Nord
{{Infobox rail line
| map = {{Needham Line}}
}}
Infobox rail line/doc
Rutukort
Fyrimynd:Needham Line