Template:Infobox rail line: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
{{Infobox
| child      = {{{embed|}}}
| child      = {{{embed|}}}
| bodystyle  = width:{{{box_width|25em}}}; font-size: 90%;
| bodystyle  = width:{{{box_width|25em}}};
 
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| above      = {{#if:{{{logo2<includeonly>|</includeonly>}}}|[[file:{{{logo2<noinclude>|Placeholder.svg</noinclude>}}}|{{px|{{{logo_width2|50px}}}|frameless}}|alt={{{logo_alt2|}}}]]}}{{#if:{{{logo<includeonly>|</includeonly>}}}|[[file:{{{logo<noinclude>|Placeholder.svg</noinclude>}}}|{{px|{{{logo_width|50px}}}|frameless}}|alt={{{logo_alt|}}}]]<br />}}{{#if:{{{color<includeonly>|</includeonly>}}}|<div style="margin-top: 0.5em">{{color box|#{{{color<noinclude>|ddffff</noinclude>}}}}}}} {{{name|{{PAGENAME}}}}}{{#if:{{{color|}}}|</div>}}
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[file:{{{image<noinclude>|Placeholder.svg</noinclude>}}}|{{{image_width|}}}|alt={{{image_alt|}}}]]}}
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[file:{{{image<noinclude>|Placeholder.svg</noinclude>}}}|{{{image_width|}}}|alt={{{image_alt|}}}]]}}
| caption    = {{{caption<includeonly>|</includeonly>}}}
| caption    = {{{caption<includeonly>|</includeonly>}}}
 
| headerstyle = background-color: #efefef;
| headerstyle = background-color: #efefef
| header1    = {{#if:{{{connectinglines|}}}{{{formerconnections|}}}{{{continuesas|}}}{{{continuesfrom|}}}{{{coordinates|}}}{{{end|}}}{{{linenumber|}}}{{{locale|}}}{{{mapcolor|}}}{{{mapcolorlink|}}}{{{mapcolour|}}}{{{mapcolourlink|}}}{{{native_name|}}}{{{native_name_lang|}}}{{{other_name|}}}{{{daily_ridership|}}}{{{ridership2|}}}{{{routes|}}}{{{start|}}}{{{stations|}}}{{{status|}}}{{{system|}}}{{{trainnumber|}}}{{{type|}}}{{{website|}}}|Overview}}
 
| label2      = Other name(s)
| header1    = {{#if:{{{type<includeonly>|</includeonly>}}}{{{system|}}}{{{status|}}}{{{locale|}}}{{{start|}}}{{{stations|}}}{{{routes|}}}{{{ridership|}}}{{{trainnumber|}}}{{{line_number|}}}|Overview}}
| data2     = {{{other_name|}}}
 
| class2      = nickname
| label2      = Type
| label3      = Native name
| data2       = {{{type<includeonly>|</includeonly>}}}
|  data3      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
| label3     = System
| label4      = Type
| data3      = {{{system<includeonly>|</includeonly>}}}
|  data4      = {{{type|}}}
| label4     = Status
| label5     = System
| data4      = {{{status<includeonly>|</includeonly>}}}
| data5      = {{{system|}}}
| label5     = Locale
| label6     = Status
| data5      = {{{locale<includeonly>|</includeonly>}}}
| data6      = {{{status|}}}
| label6     = Coordinates
| label7     = Locale
| data6      = {{{coordinates<includeonly>|</includeonly>}}}
| data7      = {{{locale|}}}
 
| label8     = Coordinates
| label7     = Termini
| data8      = {{{coordinates|}}}
| data7      = {{#if:{{{start<includeonly>|</includeonly>}}}|{{{start}}}{{#if:{{{end<includeonly>|</includeonly>}}}|<br />{{{end}}}}}}}
| label9     = Termini
| label8      = Stations
| data9      = {{#if:{{{start|}}}|{{{start}}}{{#if:{{{end|}}}|<br />{{{end}}}}}}}
| data8      = {{{stations<includeonly>|</includeonly>}}}
| label10    = Continues from
| label9      = Services
|  data10    = {{{continuesfrom|}}}
| data9      = {{{routes<includeonly>|</includeonly>}}}
| label11    = Continues as
| label10      = Daily ridership
|  data11    = {{{continuesas|}}}
| data10      = {{{ridership<includeonly>|</includeonly>}}}
| label12    = Connecting lines
| label11     = Ridership
|  data12    = {{{connectinglines|}}}
| data11      = {{{ridership2<includeonly>|</includeonly>}}}
| label13    = Former connections
| label12     = Train number(s)
|  data13    = {{{formerconnections|}}}
| data12      = {{{trainnumber<includeonly>|</includeonly>}}}
| label14    = Stations
| label13     = Line number
| data14    = {{{stations|}}}
| data13      = {{{linenumber<includeonly>|</includeonly>}}}
| label15    = Services
| label14     = Website
| data15    = {{{routes|}}}
| data14      = {{{website<includeonly>|</includeonly>}}}
| label16    = Daily ridership
 
| data16    = {{{daily_ridership|}}}
| header20   = {{#if:{{{open<includeonly>|</includeonly>}}}{{{close|}}}{{{owner|}}}{{{operator|}}}{{{character|}}}{{{depot|}}}{{{stock|}}}|Operation}}
| label17     = Ridership
 
| data17    = {{{ridership2|}}}
| label21     = Opened
| label18     = Train number(s)
| data21      = {{#if:{{{open<includeonly>|</includeonly>}}}|{{{open}}}}}
| data18    = {{{trainnumber|}}}
| label22     = Closed
| label19     = Line number
| data22      = {{#if:{{{close<includeonly>|</includeonly>}}}|{{{close}}}}}
| data19    = {{{linenumber|}}}
| label23     = Reopened
| label20    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}
| data23      = {{#if:{{{reopen<includeonly>|</includeonly>}}}|{{{reopen}}}}}
|  data20    = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
| label24     = Owner
| label21     = Website
| data24      = {{#if:{{{owner<includeonly>|</includeonly>}}}|{{{owner}}}}}
| data21    = {{{website|}}}
| label25    = Operator(s)
| header22   = {{#if:{{{character|}}}{{{close|}}}{{{conductionsystem|}}}{{{depot|}}}{{{lastextension|}}}{{{planopen|}}}{{{open|}}}{{{operator|}}}{{{owner|}}}{{{reopen|}}}{{{stock|}}}|Operation}}
| data25      = {{#if:{{{operator<includeonly>|</includeonly>}}}|{{{operator}}}}}
| label23    = Commenced
| label26     = Character
|  data23    = {{{yearcommenced|}}}
| data26      = {{#if:{{{character<includeonly>|</includeonly>}}}|{{{character}}}}}
| label24     = Planned opening
| label27     = Depot(s)
| data24    = {{{planopen|}}}
| data27     = {{#if:{{{depot<includeonly>|</includeonly>}}}|{{{depot}}}}}
| label25    = Opened
| label28     = Rolling stock
|  data25    = {{{open|}}}
| data28      = {{#if:{{{stock<includeonly>|</includeonly>}}}|{{{stock}}}}}
| label26    = Last extension
 
|  data26    = {{{lastextension|}}}
| header40    = {{#if:{{{linelength<includeonly>|</includeonly>}}}{{{linelength_km|}}}{{{linelength_mi|}}}{{{tracklength|}}}{{{tracklength_km|}}}{{{tracklength_mi|}}}{{{notrack|}}}{{{gauge|}}}{{{el|}}}{{{speed|}}}{{{speed_km/h|}}}{{{speed_mph|}}}{{{elevation|}}}{{{elevation_m|}}}{{{elevation_ft|}}}{{{maxincline|}}}{{{minradius_m|}}}{{{minradius_ft|}}}{{{minradius|}}}{{{racksystem|}}}{{{routenumber|}}}|Technical}}
| label27    = Completed
 
|  data27    = {{{yearcompleted|}}}
| label28     = Closed
| data28    = {{{close|}}}
| label29    = Reopened
|  data29    = {{{reopen|}}}
| label30    = Owner
|  data30    = {{{owner|}}}
| label31     = Operator(s)
| data31    = {{{operator|}}}
| label32    = Conduction system
|  data32    = {{{conductionsystem|}}}
| label33    = Character
|  data33    = {{{character|}}}
| label34    = Depot(s)
|  data34    = {{{depot|}}}
| label35    = Rolling stock
|  data35     = {{{stock|}}}
| header36    = {{#if:{{#if:{{{event1label|}}}|{{{event1|}}}}}{{#if:{{{event2label|}}}|{{{event2|}}}}}{{#if:{{{event3label|}}}|{{{event3|}}}}}|Events}}
| label37     = {{{event1label}}}
| data37    = {{#if:{{{event1label|}}}|{{{event1|}}}}}
| label38     = {{{event2label}}}
| data38     = {{#if:{{{event2label|}}}|{{{event2|}}}}}
| label39     = {{{event3label}}}
| data39    = {{#if:{{{event3label|}}}|{{{event3|}}}}}
| header40    = {{#if:{{{aveinterstation|}}}{{{electrification|}}}{{{elevation|}}}{{{elevation_ft|}}}{{{elevation_m|}}}{{{gauge|}}}{{{load_gauge|}}}{{{linelength|}}}{{{linelength_footnotes|}}}{{{linelength_km|}}}{{{linelength_mi|}}}{{{maxincline|}}}{{{minradius|}}}{{{minradius_ft|}}}{{{minradius_m|}}}{{{old_gauge|}}}{{{availability|}}}{{{racksystem|}}}{{{routenumber|}}}{{{speed|}}}{{{speed_km/h|}}}{{{speed_mph|}}}{{{tracklength|}}}{{{tracklength_footnotes|}}}{{{tracklength_km|}}}{{{tracklength_mi|}}}|Technical}}
| label41    = Line length
| label41    = Line length
| data41     = {{convinfobox|{{{linelength_km|}}}|km|{{{linelength_mi|}}}|mi}}{{{linelength|}}}
| data41     = {{Convinfobox|{{{linelength_km|}}}|km|{{{linelength_mi|}}}|mi}}{{{linelength|}}}{{{linelength_footnotes|}}}
| label42    = Track length
| label42    = Track length
| data42     = {{convinfobox|{{{tracklength_km|}}}|km|{{{tracklength_mi|}}}|mi}}{{{tracklength|}}}
| data42     = {{Convinfobox|{{{tracklength_km|}}}|km|{{{tracklength_mi|}}}|mi}}{{{tracklength|}}}{{{tracklength_footnotes|}}}
| label43    = No. of tracks
| label43    = Number of tracks
| data43     = {{{notrack<includeonly>|</includeonly>}}}
| data43     = {{{tracks|}}}
| label44    = [[Track gauge]]
| label44    = [[Track gauge]]
| data44     = {{{gauge<includeonly>|</includeonly>}}}
| data44     = {{{gauge|}}}
| label45    = Old gauge
| label45    = Old gauge
| data45     = {{{ogauge<includeonly>|</includeonly>}}}
| data45     = {{{old_gauge|}}}
| label46    = [[Loading gauge]]
| label46    = [[Loading gauge]]
| data46     = {{{lgauge<includeonly>|</includeonly>}}}
| data46     = {{{load_gauge|}}}
| label47    = [[Minimum railway curve radius|Minimum radius]]
| label47     = [[Route availability]]
| data47      = {{convinfobox|{{{minradius_m|}}}|m|{{{minradius_ft|}}}|ft}}{{{minradius|}}}
|  data47    = {{{availability|}}}
| label48     = [[Railway electrification system|Electrification]]
| label48     = [[Minimum railway curve radius|Minimum radius]]
| data48      = {{{el<includeonly>|</includeonly>}}}
| data48    = {{Convinfobox|{{{minradius_m|}}}|m|{{{minradius_ft|}}}|ft}}{{{minradius|}}}
| label49     = Operating speed
| label49     = [[Railway electrification system|Electrification]]
| data49      = {{convinfobox|{{{speed_km/h|}}}|km/h|{{{speed_mph|}}}|mph}}{{{speed|}}}
| data49    = {{{electrification|}}}
| label50     = Highest elevation
| label50     = Operating speed
| data50      = {{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}{{{elevation|}}}
| data50    = {{Convinfobox|{{{speed_km/h|}}}|km/h|{{{speed_mph|}}}|mph}}{{{speed|}}}
| label51     = [[Grade (slope)|Maximum incline]]  
| label51    = [[Railway signalling|Signalling]]
| data51      = {{{maxincline<includeonly>|</includeonly>}}}
|  data51    = {{{signalling|}}}
| label52     = Rack system
| label52     = Highest elevation
| data52      = {{{racksystem<includeonly>|</includeonly>}}}
| data52    = {{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}{{{elevation|}}}
| label53     = Route number
| label53     = [[Grade (slope)|Maximum incline]]
| data53      = {{{routenumber<includeonly>|</includeonly>}}}
| data53    = {{{maxincline|}}}
| label54     = Rack system
| data54    = {{{racksystem|}}}
| label55     = Route number
| data55    = {{{routenumber|}}}
| label56    = Average inter-station distance
|  data56    = {{{aveinterstation|}}}
 
|  data60    = {{{embedded|}}}


| belowstyle  = vertical-align: middle
| belowstyle  = vertical-align: middle; padding: 0
| below     = {{#if:{{{map<includeonly>|</includeonly>}}}|
| below       = {{#if:{{{map|}}}|
<table style="width:100%; margin:0; background-color:#F9F9F9; " class="mw-collapsible {{#switch:{{{map_state|}}}|0
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
|no
|1|yes|collapsed|hide = mw-collapsed autocollapse
|#default = no
|0|no|show|uncollapsed|#default = uncollapsed
|1
|yes
|collapsed = mw-collapsed autocollapse
}}">
}}">
<tr><th style="background-color:#efefef; text-align:center;">{{#if:{{{map_name|}}}|{{{map_name}}}|Route map}}</th></tr>
<tr style="background-color: #efefef;"><th style="text-align:center"><div style="margin:0 4em">{{#if:{{{map_name|}}}|{{{map_name}}}|Route map}}</div></th></tr>
<tr><td align="center">
<tr><td style="text-align:center; padding-top: 3px">
{{{map<noinclude>|[[File:Placeholder.svg|250px]]</noinclude>}}}
{{{map|}}}</td></tr>
</td></tr>
</table>}}
</table>
}}
}}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->[[Category: Transportation templates]]</noinclude>
}}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->[[Category: Transportation templates]]</noinclude>
[[Category:Railways]]
[[Category:Railways]]

Revision as of 07:27, 7 May 2020

Template:PAGENAMEBASE
File:Placeholder.svg
{{{caption}}}
[create] Template documentation