Template:Infobox rail line: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
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:{{{color<includeonly>|</includeonly>}}}|{{color box|#{{{color<noinclude>|ddffff</noinclude>}}}}}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}{{#if:{{{color|}}}|}}
| 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|}}}]]}}
|image1    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{logo_filename|}}}}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=0.91|alt={{{logo_alt|}}}}}
| caption    = {{{caption<includeonly>|</includeonly>}}}
|caption1  = {{#if:{{{image|{{{image_filename|}}}}}}||{{{caption|{{{image_caption|}}}}}}}}
 
| headerstyle = background-color: #efefef
 
| header1    = {{#if:{{{type<includeonly>|</includeonly>}}}{{{system|}}}{{{status|}}}{{{locale|}}}{{{start|}}}{{{stations|}}}{{{routes|}}}{{{ridership|}}}{{{trainnumber|}}}{{{line_number|}}}|Overview}}
 
| label2      = Type
| data2      = {{{type<includeonly>|</includeonly>}}}
| label3      = System
| data3      = {{{system<includeonly>|</includeonly>}}}
| label4      = Status
| data4      = {{{status<includeonly>|</includeonly>}}}
| label5      = Locale
| data5      = {{{locale<includeonly>|</includeonly>}}}
| label6      = Coordinates
| data6      = {{{coordinates<includeonly>|</includeonly>}}}
 
| label7      = Termini
| data7      = {{#if:{{{start<includeonly>|</includeonly>}}}|{{{start}}}{{#if:{{{end<includeonly>|</includeonly>}}}|<br />{{{end}}}}}}}
| label8      = Stations
| data8      = {{{stations<includeonly>|</includeonly>}}}
| label9      = Services
| data9      = {{{routes<includeonly>|</includeonly>}}}
| label10      = Daily ridership
| data10      = {{{ridership<includeonly>|</includeonly>}}}
| label11    = Ridership
| data11      = {{{ridership2<includeonly>|</includeonly>}}}
| label12    = Train number(s)
| data12      = {{{trainnumber<includeonly>|</includeonly>}}}
| label13    = Line number
| data13      = {{{linenumber<includeonly>|</includeonly>}}}
| label14    = Website
| data14      = {{{website<includeonly>|</includeonly>}}}


| header20    = {{#if:{{{open<includeonly>|</includeonly>}}}{{{close|}}}{{{owner|}}}{{{operator|}}}{{{character|}}}{{{depot|}}}{{{stock|}}}|Operation}}
|image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{{system_map|}}}|size={{{map_size|}}}|sizedefault=frameless|upright=1.14|alt={{{map_alt|}}}}}
|caption2 = {{{map_caption|}}}


| label21    = Opened
|image3  = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image<noinclude>|Placeholder.svg</noinclude>}}}|size={{{image_width|}}}|sizedefault=frameless|upright=1.14|alt={{{image_alt|{{{alt|}}}}}}}}}}
| data21      = {{#if:{{{open<includeonly>|</includeonly>}}}|{{{open}}}}}
|caption3 = {{#if:{{{caption|}}}|{{{caption<noinclude>|{{{image_caption|}}}</noinclude>}}}}}
| label22    = Closed
| data22      = {{#if:{{{close<includeonly>|</includeonly>}}}|{{{close}}}}}
| label23    = Reopened
| data23      = {{#if:{{{reopen<includeonly>|</includeonly>}}}|{{{reopen}}}}}
| label24    = Owner
| data24      = {{#if:{{{owner<includeonly>|</includeonly>}}}|{{{owner}}}}}
| label25    = Operator(s)
| data25      = {{#if:{{{operator<includeonly>|</includeonly>}}}|{{{operator}}}}}
| label26    = Character
| data26      = {{#if:{{{character<includeonly>|</includeonly>}}}|{{{character}}}}}
| label27    = Depot(s)
| data27      = {{#if:{{{depot<includeonly>|</includeonly>}}}|{{{depot}}}}}
| label28    = Rolling stock
| data28      = {{#if:{{{stock<includeonly>|</includeonly>}}}|{{{stock}}}}}


| 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}}
| 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)
|  data2      = {{{other_name|}}}
| class2      = nickname
| label3      = Native name
|  data3      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
| label4      = [[wikipedia:Romanization|Romanized]] name
|  data4      = {{#if:{{{romanized_name|}}}|{{{romanized_name}}}}}
| label5      = Type
|  data5      = {{{type|}}}
| label6      = System
|  data6      = {{{system|}}}
| label7      = Status
|  data7      = {{{status|}}}
| label8    = Franchise(s)
| data8    = {{{franchise|}}}
| label9    = Contract(s)
| data9    = {{{contract|}}}
| label10  = Concession(s)
| data10    = {{{concession|}}}
| label11  = Current operator
| data11    = {{{operator|}}}
| label12    = Main {{if empty|{{{nameforarea|}}}|region}}(s)
| data12    = {{{regions|}}}
| label13  = Other {{if empty|{{{nameforarea|}}}|region}}(s)
| data13    = {{{secregions|}}}
| label14  = Fleet size
| data14    = {{{fleet|}}}
| label16  = Parent company
| data16    = {{{parent_company|}}}
| label17  = Headquarters
| data17    = {{{headquarters|{{{hq_city|}}}}}}
| label18  = Key people
| data18    = {{{key_people|}}}
| label19  = Founders
| data19    = {{{founders|}}}
| label20    = Locale
|  data20    = {{{locale|}}}
| label21    = Coordinates
|  data21    = {{{coordinates|}}}
| label22    = Termini
|  data22    = {{#if:{{{start|}}}|{{{start}}}{{#if:{{{end|}}}|<br />{{{end}}}}}}}
| label23    = Continues from
|  data23    = {{{continuesfrom|}}}
| label24    = Continues as
|  data24    = {{{continuesas|}}}
| label25    = Connecting lines
|  data25    = {{{connectinglines|}}}
| label26    = Former connections
|  data26    = {{{formerconnections|}}}
| label27    = Stations
|  data27    = {{{stations|}}}
| label28    = Services
|  data28    = {{{routes|}}}
| label29    = Daily ridership
|  data29    = {{{daily_ridership|}}}
| label30    = Ridership
|  data30    = {{{ridership2|}}}
| label31    = Train number(s)
|  data31    = {{{trainnumber|}}}
| label32    = Line number
|  data32    = {{{linenumber|}}}
| label33    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}
|  data33    = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
| label34    = Website
|  data34    = {{{website|}}}
| header35    = {{#if:{{{character|}}}{{{close|}}}{{{conductionsystem|}}}{{{depot|}}}{{{lastextension|}}}{{{planopen|}}}{{{open|}}}{{{operator|}}}{{{owner|}}}{{{reopen|}}}{{{stock|}}}|Operation}}
| label36    = Commenced
|  data36    = {{{yearcommenced|}}}
| label37    = Planned opening
|  data37    = {{{planopen|}}}
| label38    = Opened
|  data38    = {{{open|}}}
| label39    = Last extension
|  data39    = {{{lastextension|}}}
| label40    = Completed
|  data40    = {{{yearcompleted|}}}
| label41    = Closed
|  data41    = {{{close|}}}
| label42    = Reopened
|  data42    = {{{reopen|}}}
| label43    = Predecessor{{#if:{{{predecessors|}}}|s}}
| data43      = {{#if:{{{predecessor_line|}}}|{{{predecessor_line|{{{predecessors}}}{{{predecessor}}}}}}}}
| label44    = Successor{{#if:{{{successors|}}}|s}}
| data44      = {{#if:{{{successor_line|}}}|{{{successor_line|{{{successors}}}{{{successor}}}}}}}}
| label45    = Owner
|  data45    = {{{owner|}}}
| label46    = Operator(s)
|  data46    = {{{operator|}}}
| label47    = Conduction system
|  data47    = {{{conductionsystem|}}}
| label48    = Character
|  data48    = {{{character|}}}
| label49    = Depot(s)
|  data49    = {{{depot|}}}
| label50    = Rolling stock
|  data50    = {{{stock|}}}
| header51    = {{#if:{{#if:{{{event1label|}}}|{{{event1|}}}}}{{#if:{{{event2label|}}}|{{{event2|}}}}}{{#if:{{{event3label|}}}|{{{event3|}}}}}|Events}}
| label52    = {{{event1label}}}
|  data52    = {{#if:{{{event1label|}}}|{{{event1|}}}}}
| label53    = {{{event2label}}}
|  data53      = {{#if:{{{event2label|}}}|{{{event2|}}}}}
| label54    = {{{event3label}}}
|  data54    = {{#if:{{{event3label|}}}|{{{event3|}}}}}
| header55    = {{#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}}
| label56    = Line length
|  data56    = {{#if:{{{linelength_km|}}}|{{cvt-ph|{{{linelength_km|}}}|km|mi}}}}{{#if:{{{linelength_mi|}}}|{{cvt-ph|{{{linelength_mi|}}}|mi|km}}}}{{{linelength|}}}{{{linelength_footnotes|}}}
| label57    = Track length
|  data57    = {{#if:{{{tracklength_km|}}}|{{cvt-ph|{{{tracklength_km|}}}|km|mi}}}}{{#if:{{{tracklength_mi|}}}|{{cvt-ph|{{{tracklength_mi|}}}|mi|km}}}}{{{tracklength|}}}{{{tracklength_footnotes|}}}
| label58    = Number of tracks
|  data58    = {{{tracks|}}}
| label59    = [[wikipedia:Track gauge|Track gauge]]
|  data59    = {{{gauge|}}}
| label60    = Old gauge
|  data60    = {{{old_gauge|}}}
| label61    = [[wikipedia:Loading gauge|Loading gauge]]
|  data61    = {{{load_gauge|}}}
| label62    = [[wikipedia:Route availability|Route availability]]
|  data62    = {{{availability|}}}
| label63    = [[wikipedia:Minimum railway curve radius|Minimum radius]]
|  data63    = {{#if:{{{minradius_m|}}}|{{cvt-ph|{{{minradius_m|}}}|m|ft}}}} {{#if:{{{minradius_ft|}}}|{{cvt-ph|{{{minradius_ft|}}}|ft|m}}}}{{{minradius|}}}
| label64    = [[wikipedia:Railway electrification system|Electrification]]
|  data64    = {{{electrification|}}}
| label65    = Operating speed
|  data65    = {{#if:{{{speed_km/h|}}}|{{cvt-ph|{{{speed_km/h|}}}|km/h|mph}}}}{{#if:{{{speed_mph|}}}|{{cvt-ph|{{{speed_mph|}}}|mph|km/h}}}}{{{speed|}}}
| label66    = [[wikipedia:Railway signalling|Signalling]]
|  data66    = {{{signalling|}}}
| label67    = Highest elevation
|  data67    = {{#if:{{{elevation_m|}}}|{{cvt-ph|{{{elevation_m|}}}|m|ft}}}}{{#if:{{{elevation_ft|}}}|{{cvt-ph|{{{elevation_ft|}}}|ft|m}}}}{{{elevation|}}}
| label68    = [[wikipedia:Grade (slope)|Maximum incline]]
|  data68    = {{{maxincline|}}}
| label69    = Rack system
|  data69    = {{{racksystem|}}}
| label70    = Route number
|  data70    = {{{routenumber|}}}
| label71    = Average inter-station distance
| data71    = {{{aveinterstation|}}}


| label41     = Line length
| data80     = {{{embedded|}}}
| data41      = {{convinfobox|{{{linelength_km|}}}|km|{{{linelength_mi|}}}|mi}}{{{linelength|}}}
| label42    = Track length
| data42      = {{convinfobox|{{{tracklength_km|}}}|km|{{{tracklength_mi|}}}|mi}}{{{tracklength|}}}
| label43    = No. of tracks
| data43      = {{{notrack<includeonly>|</includeonly>}}}
| label44    = [[Track gauge]]
| data44      = {{{gauge<includeonly>|</includeonly>}}}
| label45    = Old gauge
| data45      = {{{ogauge<includeonly>|</includeonly>}}}
| label46    = [[Loading gauge]]
| data46      = {{{lgauge<includeonly>|</includeonly>}}}
| label47    = [[Minimum railway curve radius|Minimum radius]]
| data47      = {{convinfobox|{{{minradius_m|}}}|m|{{{minradius_ft|}}}|ft}}{{{minradius|}}}
| label48    = [[Railway electrification system|Electrification]]
| data48      = {{{el<includeonly>|</includeonly>}}}
| label49    = Operating speed
| data49      = {{convinfobox|{{{speed_km/h|}}}|km/h|{{{speed_mph|}}}|mph}}{{{speed|}}}
| label50    = Highest elevation
| data50      = {{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}{{{elevation|}}}
| label51    = [[Grade (slope)|Maximum incline]]
| data51      = {{{maxincline<includeonly>|</includeonly>}}}
| label52    = Rack system
| data52      = {{{racksystem<includeonly>|</includeonly>}}}
| label53    = Route number
| data53      = {{{routenumber<includeonly>|</includeonly>}}}


| 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]]

Latest revision as of 15:40, 18 November 2024

     Infobox rail line
[create] Template documentation